{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"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":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"DefaultAuthorizationContextBuilder.build (cyclomatic 108): DefaultAuthorizationContextBuilder.build has cyclomatic complexity 108 (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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d93c266ddcd3d895c593ba28bb2745f6ac2705bff015b87061e83ff7362fd7"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerController.shutdownBasicService (cyclomatic 66): BrokerController.shutdownBasicService has cyclomatic complexity 66 (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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f98a25d03877d2ed63845881d60e9de59e04f6d8c7f18c2f3ede1c4460c1b1"}},{"ruleId":"D1","level":"warning","message":{"text":"PopMessageProcessor.processRequest (cyclomatic 61): PopMessageProcessor.processRequest has cyclomatic complexity 61 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"233af7d6e2d692f0079b026a24715f00a1a20ff513a9ef154e800c78b37c5346"}},{"ruleId":"D1","level":"warning","message":{"text":"ComparisonExpression.__compare (cyclomatic 54): ComparisonExpression.__compare has cyclomatic complexity 54 (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":"filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9ffd31bc3a8ceea926b085befdc45be9be813d0e45c3f24bd9f49da71e8483"}},{"ruleId":"D1","level":"warning","message":{"text":"PullMessageProcessor.processRequest (cyclomatic 47): PullMessageProcessor.processRequest has cyclomatic complexity 47 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcf4774e451225355bb334ad06d1095a60ad5a7f0cc295fab9b0182957f0b92"}},{"ruleId":"D1","level":"warning","message":{"text":"RouteInfoManager.registerBroker (cyclomatic 43): RouteInfoManager.registerBroker has cyclomatic complexity 43 (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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee32618c86a497240808e82db41540a6a49256313360220bb87938ad51ac5283"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionalMessageServiceImpl.check (cyclomatic 42): TransactionalMessageServiceImpl.check has cyclomatic complexity 42 (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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bc29d838feeb4e110378d9bfc494d15478000044a4a46dc520670bec877f47"}},{"ruleId":"D1","level":"warning","message":{"text":"PopReviveService.consumeReviveMessage (cyclomatic 38): PopReviveService.consumeReviveMessage has cyclomatic complexity 38 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53450a9c35aa8f78f0ac8278d25e58c2dc8f50404db08eb3968f3720909fc15"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMQPushConsumerImpl.checkConfig (cyclomatic 38): DefaultMQPushConsumerImpl.checkConfig has cyclomatic complexity 38 (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"587de87383f570c37eb70e16ddf6f592a5fdea5b7db5f793aabcf28e1c8928ad"}},{"ruleId":"D1","level":"warning","message":{"text":"MQAdminImpl.queryMessage (cyclomatic 38): MQAdminImpl.queryMessage has cyclomatic complexity 38 (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":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1434e26dee1137e39d759df8724a9b6a99d80f4b8995878ec7046e16f30d49"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMessageStore.getMessage (cyclomatic 38): DefaultMessageStore.getMessage has cyclomatic complexity 38 (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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef283e03f2cf1f20723b8943addfb058c44a8678166a7700ea43ad2d076bcf6"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerController.startBasicService (cyclomatic 37): BrokerController.startBasicService has cyclomatic complexity 37 (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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f0006eff0dfcac2cff2bcf5229b151d08453481412da50c91b841457643321"}},{"ruleId":"D1","level":"warning","message":{"text":"CommitLog.asyncPutMessage (cyclomatic 37): CommitLog.asyncPutMessage has cyclomatic complexity 37 (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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2dffc554af7d9cf23ed88baf43f1d60bfb9e6dd454e24cd6d574c84fede4cc"}},{"ruleId":"D1","level":"warning","message":{"text":"RebalanceImpl.updateMessageQueueAssignment (cyclomatic 36): RebalanceImpl.updateMessageQueueAssignment 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef510f37ae518f873b8e8af52922881dac5d2bd49c8bca1f9e90c93ed93dff87"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMQProducerImpl.sendDefaultImpl (cyclomatic 33): DefaultMQProducerImpl.sendDefaultImpl 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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dfd513212f5996a86b82386dfba0a8f82c103d5ac1598dd9dbe94f938d42c6"}},{"ruleId":"D1","level":"warning","message":{"text":"CommitLog.checkMessageAndReturnSize (cyclomatic 33): CommitLog.checkMessageAndReturnSize 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3a46af845723d54f5ae7425cb082e2bf80fa24ed0ca09f710b1221436231c7"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageStoreDispatcherImpl.doScheduleDispatch (cyclomatic 32): MessageStoreDispatcherImpl.doScheduleDispatch has cyclomatic complexity 32 (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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreDispatcherImpl.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a1fecb330eda5e105d50c811cadefcb71f366b77d62824c04a23a7bdc19161"}},{"ruleId":"D1","level":"warning","message":{"text":"PopBufferMergeService.scan (cyclomatic 31): PopBufferMergeService.scan has cyclomatic complexity 31 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfb7bf0f87ab62b47425fcde7919b93c553e962fd5d1c0056adbbcf9eac4f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"CommitLog.asyncPutMessages (cyclomatic 31): CommitLog.asyncPutMessages has cyclomatic complexity 31 (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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b323df8734a6c6bd54f4f7d0f2d3a4d4df01a63ffda45e671f707934b4e092af"}},{"ruleId":"D1","level":"warning","message":{"text":"PopMessageProcessor.popMsgFromQueue (cyclomatic 30): PopMessageProcessor.popMsgFromQueue has cyclomatic complexity 30 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78cd40e19c90c394a58ee1cf32ce49d483cca5be418385f8d029a2c080e3019"}},{"ruleId":"D1","level":"warning","message":{"text":"TopicQueueMappingCleanService.cleanItemListMoreThanSecondGen (cyclomatic 29): TopicQueueMappingCleanService.cleanItemListMoreThanSecondGen 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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"df924c2e168ab0f6067b87db772bc4a60c40d951d568cac9327a5d93574c6111"}},{"ruleId":"D1","level":"warning","message":{"text":"PopConsumerService.popAsync (cyclomatic 29): PopConsumerService.popAsync 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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1068079347bac3e8a8277576d18e2084245738068b135dbc5cd6ceb6d7f77c"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractSendMessageProcessor.consumerSendMsgBack (cyclomatic 29): AbstractSendMessageProcessor.consumerSendMsgBack 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed709d437d6450a122bcdeeb00ccb2eb7f3af0aad5df33cafc8f0c18b276fd92"}},{"ruleId":"D1","level":"warning","message":{"text":"PullTaskImpl.run (cyclomatic 29): PullTaskImpl.run 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3bc148c31264cf162a50a14ea84db72161660f618e2e64a092a134bd785933"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumeQueue.correctMinOffset (cyclomatic 29): ConsumeQueue.correctMinOffset 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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65f1402e9c2944dc3cfa970d13edbe39fd344d95dc26bc07575d071ecfab36f"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumeRequest.run (cyclomatic 28): ConsumeRequest.run has cyclomatic complexity 28 (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e5e63ca8e74ec9422f0e586231a48ca16e2625cd7e94731210b8b710d00c3b"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageRocksDBStorage.queryOffsetForIndex (cyclomatic 28): MessageRocksDBStorage.queryOffsetForIndex has cyclomatic complexity 28 (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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2188a19dce7153aba2362084340be03844531df52fdb03e92ea5bbe9ee433f73"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumeQueue.binarySearchInQueueByTime (cyclomatic 28): ConsumeQueue.binarySearchInQueueByTime has cyclomatic complexity 28 (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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac9f8697978ff98053f543225afc5d1b523663dbe803f35cb82d73f145a65de"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMQProducerImpl.sendKernelImpl (cyclomatic 27): DefaultMQProducerImpl.sendKernelImpl 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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82c10d54544c4f6f20fb8b5e48af4b6605dbcb2bfe554dd3c0c15dc03dc375f"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexRocksDBStore.buildIndex (cyclomatic 27): IndexRocksDBStore.buildIndex has cyclomatic complexity 27 (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":"store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bec421d150aca67ced9df0b54445e92cebf7b1ced650a50fca5d2b0787b40f"}},{"ruleId":"D1","level":"warning","message":{"text":"RocksDBConsumeQueueTable.binarySearchInCQByTime (cyclomatic 26): RocksDBConsumeQueueTable.binarySearchInCQByTime 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":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueTable.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2fde94d6f0b98445682521fe1a39b0e2a77f45b2879be67e2f75a47d4daf4b"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerMessageStore.checkAndReviseMetrics (cyclomatic 26): TimerMessageStore.checkAndReviseMetrics 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca48528cb44635c227e04d26dfdd239d7453ec15636b7a7727253f8176e1cd6"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerMessageStore.dequeue (cyclomatic 26): TimerMessageStore.dequeue 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d9b987a63f57fad9fbeed99d3d30583a6db01f382984c22cd2391be54054d1"}},{"ruleId":"D1","level":"warning","message":{"text":"CommitLog.recoverAbnormally (cyclomatic 26): CommitLog.recoverAbnormally 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cc2a7ac8943674ae613a92a793a14eca3596ab38bea71b9461c6d26e5b584f"}},{"ruleId":"D1","level":"warning","message":{"text":"TopicQueueMappingCleanService.cleanItemExpired (cyclomatic 25): TopicQueueMappingCleanService.cleanItemExpired 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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e05bf9a1a16677f9ad385b5b623172240c3e4f2aa4e336d6dfe79512354ad4c"}},{"ruleId":"D1","level":"warning","message":{"text":"SendMessageProcessor.sendMessage (cyclomatic 25): SendMessageProcessor.sendMessage has cyclomatic complexity 25 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"98024a7630db01985fcd93b945b2828f1cebd79031fa94964ba95e51c4f547bb"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerMessageStore.shutdown (cyclomatic 25): TimerMessageStore.shutdown has cyclomatic complexity 25 (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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"57573b6bb1d0f16e15e445937397916a2dc2f3de495e1c340a5d72c5a17cf335"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumerLagCalculator.processAllGroup (cyclomatic 24): ConsumerLagCalculator.processAllGroup 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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f9d8c375bb4e54984d0be6bff038b380bd40d552b9f97294d5e926cc5f5f68"}},{"ruleId":"D1","level":"warning","message":{"text":"SendMessageProcessor.handlePutMessageResult (cyclomatic 24): SendMessageProcessor.handlePutMessageResult has cyclomatic complexity 24 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27d0aa6fc05ca4e58e16879ead039e7b72841b218b6037323b375c456945905"}},{"ruleId":"D1","level":"warning","message":{"text":"PolishExpr.participle (cyclomatic 24): PolishExpr.participle 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":"common/src/main/java/org/apache/rocketmq/common/filter/impl/PolishExpr.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"531b51c45bfbd17888243f20ce09e2cd56da0a3c6331a6d2d8bab01379169e63"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationProcessor.processRequest (cyclomatic 23): NotificationProcessor.processRequest has cyclomatic complexity 23 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9583683c0dca4f59e1f7593141f28f4f644342be61b3df4125debfb7156921b4"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMQPushConsumerImpl.pullMessage (cyclomatic 23): DefaultMQPushConsumerImpl.pullMessage 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2925e12fb4259fff57ea05feae571894114c9a9eacf37680915b71422dacd9f0"}},{"ruleId":"D1","level":"warning","message":{"text":"RouteInfoManager.pickupTopicRouteData (cyclomatic 23): RouteInfoManager.pickupTopicRouteData 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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c935186f658b5177c418170b9dd261bca51db10dd7e3294cc27c29231a73d15"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyAdminAuthInterceptor.interceptCall (cyclomatic 23): ProxyAdminAuthInterceptor.interceptCall 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminAuthInterceptor.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd75f69c2af8e1a987d56f52774482d8d7faf50a2676d6df8da666b2b6217118"}},{"ruleId":"D1","level":"warning","message":{"text":"DLedgerCommitLog.asyncPutMessages (cyclomatic 23): DLedgerCommitLog.asyncPutMessages has cyclomatic complexity 23 (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":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd6ede1a349710ea81a8b470041110b672b4cc87616049a58f68ea9b1ce0d19"}},{"ruleId":"D1","level":"warning","message":{"text":"SubscriptionFilterHandler.register (cyclomatic 22): SubscriptionFilterHandler.register 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":"broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aed989a3ac3f692baf183e720c3b285f5ac2fc0eb174c2f48c2c54ba0aa1c08"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyAdminGrpcService.queryMessage (cyclomatic 22): ProxyAdminGrpcService.queryMessage 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eccf5c002a8491698a27d90f5aea311a4f90dac6cdaf8b78693b5c3c4c946f0"}},{"ruleId":"D1","level":"warning","message":{"text":"HAClientReader.processReadResult (cyclomatic 22): HAClientReader.processReadResult 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":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"523fdd55ee2772d480b99fd2264b2c9d5d880571cacfdbb44c6e3b3a1d950a46"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMessageStore.shutdown (cyclomatic 22): DefaultMessageStore.shutdown 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"160b01967dc9efa88a2e6d78a93ae5058192ea75f191c3b30d9656b94501e8c9"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractSendMessageProcessor.msgCheck (cyclomatic 21): AbstractSendMessageProcessor.msgCheck 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"9578b88a6d771101e51d0469733bceced30de46e752f70d403f4a4131fb3f220"}},{"ruleId":"D1","level":"warning","message":{"text":"PeekMessageProcessor.processRequest (cyclomatic 21): PeekMessageProcessor.processRequest has cyclomatic complexity 21 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"109aabaeee0b3d9a1b9f810f78258310832ad0f56d8a8d8c625ea5fbcd737696"}},{"ruleId":"D1","level":"warning","message":{"text":"PullMessageProcessor.rewriteResponseForStaticTopic (cyclomatic 21): PullMessageProcessor.rewriteResponseForStaticTopic 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"276e289805c890978bb0d2475353f8420d6f8731ae116e1ab280a12696ad087b"}},{"ruleId":"D1","level":"warning","message":{"text":"MQClientInstance.updateTopicRouteInfoFromNameServer (cyclomatic 21): MQClientInstance.updateTopicRouteInfoFromNameServer 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"6441e7fcc58904c3af9e01804a63c862b841d24358241774e1b7bdaf68ffde7e"}},{"ruleId":"D1","level":"warning","message":{"text":"MQClientAPIImpl.processPopResponse (cyclomatic 21): MQClientAPIImpl.processPopResponse 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"677e3a266fea6cadce846452b38a70d27fcb85aa4c45b5bf6eb281dde016bd83"}},{"ruleId":"D1","level":"warning","message":{"text":"PullMessageRequestHeader.decode (cyclomatic 21): PullMessageRequestHeader.decode has cyclomatic complexity 21 (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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PullMessageRequestHeader.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f479c84bf8cfc8ea928046e80f780ca7b0e98cda4b9bfc7f58eb756a67cba2"}},{"ruleId":"D1","level":"warning","message":{"text":"SubscriptionData.equals (cyclomatic 21): SubscriptionData.equals has cyclomatic complexity 21 (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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/heartbeat/SubscriptionData.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddec060d3737253d5efe3a2e50a37a4cec391231d91cd1a3e0aa319f85403dd"}},{"ruleId":"D1","level":"warning","message":{"text":"RemotingCommand.decodeCommandCustomHeaderDirectly (cyclomatic 21): RemotingCommand.decodeCommandCustomHeaderDirectly 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c4ee0a3fc0dda5bc111fba8d4b2186fe872f76a00745e9d43ada7579efcb6a"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerMessageRocksDBStore.doPut (cyclomatic 21): TimerMessageRocksDBStore.doPut 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":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4b6af620cb6457e1104bea24281a2cb17c546217218823ab8f40a2d7dab1fe"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerMessageStore.doPut (cyclomatic 21): TimerMessageStore.doPut 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ba3d151e4251ad6b17ff19f2c161e65dd8ca627c3cdeb188f8be5ee2b5425e"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerMessageStore.warmDequeue (cyclomatic 21): TimerMessageStore.warmDequeue 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"444ad2cfbd79d6a4d885bfdc197022b3ff7e6312deab71d6402e2a5782d9ca72"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultAuthorizationContextBuilder.build (cyclomatic 20): DefaultAuthorizationContextBuilder.build 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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21228579a19f72a3d6876591d2a31e3618a87fdee526d7dfddbcc6fedb28d71"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerMetricsManager.init (cyclomatic 20): BrokerMetricsManager.init 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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f25cfefeb2c09706b7114ff14853c027b94c2200c2073ce8858d832aabc178"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerController.\u003Cinit\u003E (cyclomatic 20): BrokerController.\u003Cinit\u003E 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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1ee0f0d2588c9554e96ffe40b50ff9501d5be22e2461fa2fc744e334d480aa"}},{"ruleId":"D1","level":"warning","message":{"text":"PullAPIWrapper.processPullResult (cyclomatic 20): PullAPIWrapper.processPullResult 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullAPIWrapper.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ff8048568ad05bf537485564aac983de5b6561926e5b6654b3cb26b30b45f1"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractRocksDBStorage.iterate (cyclomatic 20): AbstractRocksDBStorage.iterate 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":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5c6802c506f46ae74dfee305ad2934e91c25633e4b7656f919e23c1bc9d21b"}},{"ruleId":"D1","level":"warning","message":{"text":"GroupTransferService.doWaitTransfer (cyclomatic 20): GroupTransferService.doWaitTransfer 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":"store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e339c95b3df253f0bb90b6cf9999c77ce4791258ef8db7d0a16145a8836c9743"}},{"ruleId":"D1","level":"warning","message":{"text":"CompactionLog.getMessage (cyclomatic 20): CompactionLog.getMessage 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":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec1c7078d4e5e5b19eddc938e484284a6a9cf43d04b6d049b3f36c4d4ca2bd8"}},{"ruleId":"D1","level":"warning","message":{"text":"ReputMessageService.doReput (cyclomatic 20): ReputMessageService.doReput 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2723}}}],"partialFingerprints":{"codehealthFindingId/v1":"985de190d66f8c445a28696741352a0b2adcb370a4c3f4d747340b87d78de8aa"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultConsumerIdsChangeListener.handle (cyclomatic 19): DefaultConsumerIdsChangeListener.handle 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":"broker/src/main/java/org/apache/rocketmq/broker/client/DefaultConsumerIdsChangeListener.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc370c6ad5be3ec30b574970161de7844caaaff922d8cbd1ae660e116537742a"}},{"ruleId":"D1","level":"warning","message":{"text":"PopLiteLongPollingService.run (cyclomatic 19): PopLiteLongPollingService.run 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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed727e43e26b60683517ac682325e65ec35ce28a7f8536b32e30ef5e55fad0f"}},{"ruleId":"D1","level":"warning","message":{"text":"PopLongPollingService.run (cyclomatic 19): PopLongPollingService.run 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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"024e59c9cd299d52608d19b9a42378d6137f1731b8a7c97bc83e894ae727c76a"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultPullMessageResultHandler.handle (cyclomatic 19): DefaultPullMessageResultHandler.handle 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bdd8e2b2c3562855c2f635ff4a258ae3e5c3a57ceded2bcb771ec3481c7f6a"}},{"ruleId":"D1","level":"warning","message":{"text":"PullMessageProcessor.composeResponseHeader (cyclomatic 19): PullMessageProcessor.composeResponseHeader 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"93533053c7e2c870062b5a5f3394fdde0c0498d3dc8d1201c6125d7c517ac76f"}},{"ruleId":"D1","level":"warning","message":{"text":"RebalancePushImpl.computePullFromWhereWithException (cyclomatic 19): RebalancePushImpl.computePullFromWhereWithException 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePushImpl.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"619d9f0529f95875ec6832517a9f7325e8d53f8265ecc07fe8a57d39f89d39da"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerContainerProcessor.addBroker (cyclomatic 19): BrokerContainerProcessor.addBroker 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":"container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4536cc2f58c3f8d6515756acdaf16a9968efa4f346229f91f83752823f4cb13f"}},{"ruleId":"D1","level":"warning","message":{"text":"ControllerMetricsManager.init (cyclomatic 19): ControllerMetricsManager.init 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":"controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"015fe043c18551ab3a8b891b49415fe6f5823407e490be3cf74a394709769fe0"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyAdminGrpcService.deleteSubscription (cyclomatic 19): ProxyAdminGrpcService.deleteSubscription 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc47fd8b17f284212645d293452ef451b9304dcc5bd18ac859b360e58df84290"}},{"ruleId":"D1","level":"warning","message":{"text":"GrpcConverter.buildSystemProperties (cyclomatic 19): GrpcConverter.buildSystemProperties 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcConverter.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb610fbcdbafc8f22c3a4f59f65dd2812e1add33ca8532656d508977a93a5c7a"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyMetricsManager.start (cyclomatic 19): ProxyMetricsManager.start 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":"proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"453a36c10ab07e23d9a38994fb36f06a01ab91432d9ecec8e1365eb44312880b"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalMessageService.popMessage (cyclomatic 19): LocalMessageService.popMessage 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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"805e2c3e98fe6d598ffef30ae1497eef775812e23611d9e91ee0f9ce8458add0"}},{"ruleId":"D1","level":"warning","message":{"text":"TopicRouteData.equals (cyclomatic 19): TopicRouteData.equals 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/route/TopicRouteData.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f483fd790ebde34f8ec885cb1cd2217aa8a56fa82c715f3a43ba3aa6854aac"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerDequeueGetMessageService.run (cyclomatic 19): TimerDequeueGetMessageService.run 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb34f2a445db4cc26779725162bb4cb4e24a3a1fcc27ef870b94b65794472f8"}},{"ruleId":"D1","level":"warning","message":{"text":"CleanCommitLogService.isSpaceToDelete (cyclomatic 19): CleanCommitLogService.isSpaceToDelete 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2429}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cadd16b5da725b5ef4ddfe5c5d54dcde8ce81649233fd7bcfc61e14833a0d4"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultAuthorizationContextBuilder.buildContextByAnnotation (cyclomatic 18): DefaultAuthorizationContextBuilder.buildContextByAnnotation 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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4e746309343c8a77ebc7ef2513b5eed9e80fcfbf3b6d4719f49730257c0658"}},{"ruleId":"D1","level":"warning","message":{"text":"EndTransactionProcessor.processRequest (cyclomatic 18): EndTransactionProcessor.processRequest 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b37ac94fac54746fe1ff9480e6bef97f2d3ef188f934ca3f7b16baa5ea0afc"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumeRequest.run (cyclomatic 18): ConsumeRequest.run has cyclomatic complexity 18 (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d4f56650223ad4d639a2d5351e8634ccf906178d18e20904ed2226f338160a"}},{"ruleId":"D1","level":"warning","message":{"text":"ReceiveMessageActivity.receiveMessage (cyclomatic 18): ReceiveMessageActivity.receiveMessage 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/ReceiveMessageActivity.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8de75586d46bd12b40a52510de01c385fbaf70652c62061a6640bc88b1e1fd2"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractWriteSocketService.run (cyclomatic 18): AbstractWriteSocketService.run 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":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44ca4c26b0b27ca6ec43c775be23c1c88aaf072eded4cfcb5ddd2cba3fe951e"}},{"ruleId":"D1","level":"warning","message":{"text":"WriteSocketService.run (cyclomatic 18): WriteSocketService.run 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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5aca6fc3db7efb60236c44574be1b4f078c3f6b49ad0f6b3ba1a101c81005f"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexService.buildIndex (cyclomatic 18): IndexService.buildIndex 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":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb5d8c4953cb01a23d3d3196a2f0ca913b1f3e048bd89c3b709aacd17a23e9a"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultAppendMessageCallback.doAppend (cyclomatic 18): DefaultAppendMessageCallback.doAppend 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"318ec9e37fb356795df5a68e111db673cba1893f6caa6b8fa0b430919068501a"}},{"ruleId":"D1","level":"warning","message":{"text":"MappedFileQueue.getConsumeQueueMappedFileByTime (cyclomatic 18): MappedFileQueue.getConsumeQueueMappedFileByTime 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":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dcbb7a2328683d395cbb19df00881b0f99b45cd99f33e183f9c8d0b5cb2a64"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumerManager.doChannelCloseEvent (cyclomatic 17): ConsumerManager.doChannelCloseEvent 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":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9aa602f52aa7ffadb1f17acabfd413d3d690795b84285196a329027d2eba57"}},{"ruleId":"D1","level":"warning","message":{"text":"ProducerManager.doChannelCloseEvent (cyclomatic 17): ProducerManager.doChannelCloseEvent 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":"broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c36e29f9de969144f9503dfc22e397f9f291d373896b42a0e520dd5b0adc4c7"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminBrokerProcessor.resetOffsetInner (cyclomatic 17): AdminBrokerProcessor.resetOffsetInner 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. This is NOT this file\u0027s highest cyclomatic complexity: AdminBrokerProcessor.processRequest (cyclomatic 76) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2296}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f0cb4112861fab6b191eeb3e6b0fc92a585ef7c643710bffdf945274fa4c54"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerStartup.buildBrokerController (cyclomatic 17): BrokerStartup.buildBrokerController has cyclomatic complexity 17 (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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ae3102a949b3d0fa6468e39a38acd7f124f8c3752cdac738fdcd7c56fcd149"}},{"ruleId":"D1","level":"warning","message":{"text":"MQClientInstance.sendHeartbeatToAllBrokerConcurrently (cyclomatic 17): MQClientInstance.sendHeartbeatToAllBrokerConcurrently 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbf1fbfd61d0fb45243ac0ba71126a99a95abe72ecd92461c627e53c8621e20"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractRocksDBStorage.shutdown (cyclomatic 17): AbstractRocksDBStorage.shutdown has cyclomatic complexity 17 (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":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"efef4a2d33c531f9dd01e3d9fb926b0f400d8a0964287d4bafa03cc77bd2a31d"}},{"ruleId":"D1","level":"warning","message":{"text":"MixAll.properties2Object (cyclomatic 17): MixAll.properties2Object 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":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"14743d50472ee8c10a1a27da58a1054dcf71d4caee32b4ad0640e852d82f3bca"}},{"ruleId":"D1","level":"warning","message":{"text":"RemotingHelper.invokeSync (cyclomatic 17): RemotingHelper.invokeSync 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":"remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8879e58f4fef3aad0ef83b276bbc8c5cbecd437b6c610b2c836fa92c600608f1"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchConsumeQueue.estimateMessageCount (cyclomatic 17): BatchConsumeQueue.estimateMessageCount 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2594a088b9502df80862db9853723d28ab7cb02550848438af34fbef528d49f"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerMessageStore.recoverAndRevise (cyclomatic 17): TimerMessageStore.recoverAndRevise 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"803241acc5590abe1a177b9afa82a7932e72f50ccad4f44eb88126c9f5fd863c"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerDequeuePutMessageService.run (cyclomatic 17): TimerDequeuePutMessageService.run 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"515ef7304dba124eebe68b4cbb08f9e33b0c53cea49085eafac6b56f7f0f9d5f"}},{"ruleId":"D1","level":"warning","message":{"text":"TransMessageRocksDBStore.buildTransIndex (cyclomatic 17): TransMessageRocksDBStore.buildTransIndex 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":"store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9f07599588d72023cac69399b9d940918ec773c2c3b66a5b25bf8557373b15"}},{"ruleId":"D1","level":"warning","message":{"text":"CommitLog.recoverNormally (cyclomatic 17): CommitLog.recoverNormally 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e5862226380fbbe69e8d4702f4b2a83e7ae8463ceb43170cefc5db0fafe837"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumerManager.registerConsumer (cyclomatic 16): ConsumerManager.registerConsumer 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":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b936c3c98e6cff7b4b8215f46341634ced39551f7c7cbcbf1f98918363b0747e"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerMetricsManager.shutdown (cyclomatic 16): BrokerMetricsManager.shutdown has cyclomatic complexity 16 (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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b01f1c227b6c05bd5e8b2488fd352f484990f982f0763ca1af9e20addfe257"}},{"ruleId":"D1","level":"warning","message":{"text":"AckMessageProcessor.appendAck (cyclomatic 16): AckMessageProcessor.appendAck 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"355f97d0f220a337f52473d78c371e9d7063c951c26f0f4a941d4d7528e6d4d5"}},{"ruleId":"D1","level":"warning","message":{"text":"AckMessageProcessor.processRequest (cyclomatic 16): AckMessageProcessor.processRequest 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe06f07155da31597b136bb5819c5ef17e05ea99380e5668b1266127a10a92a"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminBrokerProcessor.deleteTopicList (cyclomatic 16): AdminBrokerProcessor.deleteTopicList 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. This is NOT this file\u0027s highest cyclomatic complexity: AdminBrokerProcessor.processRequest (cyclomatic 76) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"a672dd30361de2a2396e25a7e518157383a36cf52d37fd102ed24bba857622db"}},{"ruleId":"D1","level":"warning","message":{"text":"PopBufferMergeService.addAk (cyclomatic 16): PopBufferMergeService.addAk 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de8de00ab39e26627cf89603816d5a9248ddef5519257eaa33d26ddaae275ee"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionalMessageServiceImpl.batchSendOpMessage (cyclomatic 16): TransactionalMessageServiceImpl.batchSendOpMessage 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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bbdb44d518fd845be53bdf5e90dfaf17491983a4cc762503f7aeef26c12ba8"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumeRequest.run (cyclomatic 16): ConsumeRequest.run 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ba574f0c63735bb98a2d16e8e36e820a0d9369d2d4dbeed87997cf4f661c29"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMQPushConsumerImpl.processPopResult (cyclomatic 16): DefaultMQPushConsumerImpl.processPopResult 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb5bb3ba465d193190758ce625805d48fa4e15abbe4b02eda5f9c7cf284a87f"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMQProducerImpl.sendMessageInTransaction (cyclomatic 16): DefaultMQProducerImpl.sendMessageInTransaction 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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcd29bc0832c24c2854c7f96cc56f3b4c68075ba4f6930aa90b0a106b494511"}},{"ruleId":"D1","level":"warning","message":{"text":"PolishExpr.reversePolish (cyclomatic 16): PolishExpr.reversePolish 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":"common/src/main/java/org/apache/rocketmq/common/filter/impl/PolishExpr.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6776557d3be0d20c5412e59816a33a5e00923d4cfc99312cc142a7ecfeac782a"}},{"ruleId":"D1","level":"warning","message":{"text":"RouteInfoManager.unRegisterBroker (cyclomatic 16): RouteInfoManager.unRegisterBroker 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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee30172c9a294a4f33f59e700a1175b197b2bdb360618ddc8070365d1f6cb3ab"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyAdminGrpcService.buildAdminMessage (cyclomatic 16): ProxyAdminGrpcService.buildAdminMessage 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b04ea5a8d708eaae62f9a7198f6280a1938e9160c533a47c961f1a12097438"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyAdminGrpcService.verifyMessage (cyclomatic 16): ProxyAdminGrpcService.verifyMessage 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc6f49fa614872ac60d48405f429d8e3a380c1d0715a7fb10c968c0a04003d7"}},{"ruleId":"D1","level":"warning","message":{"text":"SendMessageActivity.buildMessageProperty (cyclomatic 16): SendMessageActivity.buildMessageProperty 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/producer/SendMessageActivity.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a5457320b0fb5f146c892033975fa930849a8e1b90109d83cadcbcf3b9c0d1"}},{"ruleId":"D1","level":"warning","message":{"text":"TopicQueueMappingUtils.checkLogicQueueMappingItemOffset (cyclomatic 16): TopicQueueMappingUtils.checkLogicQueueMappingItemOffset 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6014a331c5fd0516043ec445707a9feee5dd6bf6d2861e6317820f9f3103535c"}},{"ruleId":"D1","level":"warning","message":{"text":"TopicQueueMappingUtils.checkNameEpochNumConsistence (cyclomatic 16): TopicQueueMappingUtils.checkNameEpochNumConsistence 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"579b56c8ecc3a8006a28cf5db5ba8f650b6f6f9eb233652dff0a82df95ec0433"}},{"ruleId":"D1","level":"warning","message":{"text":"DLedgerCommitLog.asyncPutMessage (cyclomatic 16): DLedgerCommitLog.asyncPutMessage 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":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d191a5c75905eea5e6e175b8f799934debd3f6da327b690d42d88cae4e8d202"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerMessageStore.enqueue (cyclomatic 16): TimerMessageStore.enqueue 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"142a6d94133cae42789bfc8401af97dc70d3332df6fd4153629c564a9cfb1891"}},{"ruleId":"D1","level":"warning","message":{"text":"AllocateMappedFileService.mmapOperation (cyclomatic 16): AllocateMappedFileService.mmapOperation 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":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9696916f369953ea7f33dbb27e0ebcdf43fed91caae2ac903009f679de53ec63"}},{"ruleId":"D1","level":"warning","message":{"text":"AllocateMappedFileService.putRequestAndReturnMappedFile (cyclomatic 16): AllocateMappedFileService.putRequestAndReturnMappedFile 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":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4a2f86a796484f66f2b5adeca5e9097a8cf3c3071a9aa3316f15fe05f07379"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumeQueue.estimateMessageCount (cyclomatic 16): ConsumeQueue.estimateMessageCount 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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce773510e42afe1f5e6368f2bb6eb3693a739b71a95e333967f7d0562acd6c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"StoreStatsService.setPutMessageEntireTimeMax (cyclomatic 16): StoreStatsService.setPutMessageEntireTimeMax 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":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9c49002df40c9cda30a02a8d888cfa09da205952fcf5f0facd3600e23d9b2c"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexStoreFile.queryAsyncFromSegmentFile (cyclomatic 16): IndexStoreFile.queryAsyncFromSegmentFile 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/index/IndexStoreFile.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55fcfc7b0f433bdff0348615a8d45d6e946a7f84ceb02234f90be8c3cf5f6ba"}},{"ruleId":"D1","level":"warning","message":{"text":"TieredStoreMetricsManager.init (cyclomatic 16): TieredStoreMetricsManager.init 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5cff79d6ce1769d0b8b5cad54a6e6f0b1668715d3ea58ce27edca535fdee2a"}},{"ruleId":"D1","level":"warning","message":{"text":"TieredMessageStore.getMessageAsync (cyclomatic 16): TieredMessageStore.getMessageAsync 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"208fdaa1bc0ba0c1556f45df194ac16bd7149c70e7bd5965d71de938652ee39d"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionalMessageServiceImpl.check (cognitive 126): TransactionalMessageServiceImpl.check has cognitive complexity 126 (threshold 15). Drivers by points: if/else 29 (92 pts), ternaries 5 (15 pts), boolean chains 9, error handling 2 (7 pts), loops 2 (3 pts) (nesting depth added 79). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2c925a6a373b9fe99ecc13fcdfcc242b9ef80437991e12b121e93a4dae3ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultAuthorizationContextBuilder.build (cognitive 125): DefaultAuthorizationContextBuilder.build has cognitive complexity 125 (threshold 15). Drivers by points: if/else 39 (87 pts), loops 11 (25 pts), ternaries 3 (8 pts), boolean chains 2, error handling 2, match/switch 1 (nesting depth added 67). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b314122e19a750bd00455eb178d12d3a3c8c201d858f02b1052ae3963b4ad66b"}},{"ruleId":"D2","level":"warning","message":{"text":"MQAdminImpl.queryMessage (cognitive 122): MQAdminImpl.queryMessage has cognitive complexity 122 (threshold 15). Drivers by points: if/else 26 (86 pts), loops 6 (23 pts), boolean chains 9, error handling 1 (4 pts) (nesting depth added 80). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6459c40dc8cc5ad509c40f31e876b1b6c8dd07b3ba5abde1ac4092b0ba228102"}},{"ruleId":"D2","level":"warning","message":{"text":"PopReviveService.consumeReviveMessage (cognitive 115): PopReviveService.consumeReviveMessage has cognitive complexity 115 (threshold 15). Drivers by points: if/else 29 (88 pts), boolean chains 8, loops 3 (8 pts), ternaries 2 (8 pts), error handling 1 (3 pts) (nesting depth added 72). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbc91895532bab6b9c25238d200703e29f4bf579bac0aceef45a4273aa698d9"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageStore.getMessage (cognitive 111): DefaultMessageStore.getMessage has cognitive complexity 111 (threshold 15). Drivers by points: if/else 30 (93 pts), boolean chains 7, loops 2 (7 pts), error handling 1 (4 pts) (nesting depth added 71). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2acf40a468a3c776db51160fa10f675f851a0f86567325a4828c2dfb9025da"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQProducerImpl.sendDefaultImpl (cognitive 101): DefaultMQProducerImpl.sendDefaultImpl has cognitive complexity 101 (threshold 15). Drivers by points: if/else 22 (72 pts), error handling 4 (16 pts), ternaries 2 (5 pts), match/switch 1 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 69). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef4179876a1af5ba3e24aac4f451b27f2b36ae6b6b048b5fce4cc0f316c01d7"}},{"ruleId":"D2","level":"warning","message":{"text":"PopMessageProcessor.processRequest (cognitive 90): PopMessageProcessor.processRequest has cognitive complexity 90 (threshold 15). Drivers by points: if/else 52 (66 pts), error handling 6 (11 pts), boolean chains 7, ternaries 4, loops 1, match/switch 1 (nesting depth added 19). 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ce87f81aeaaa24a811de93cad8d9c0443342889b1f0301c3e70567b0870a8a"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteInfoManager.registerBroker (cognitive 82): RouteInfoManager.registerBroker has cognitive complexity 82 (threshold 15). Drivers by points: if/else 24 (55 pts), boolean chains 13, loops 3 (11 pts), ternaries 2, error handling 1 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6f620fa32c22961e7ad0106635acf87fed72433cbee3d205b7527852b5a119"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeQueue.binarySearchInQueueByTime (cognitive 82): ConsumeQueue.binarySearchInQueueByTime has cognitive complexity 82 (threshold 15). Drivers by points: if/else 16 (50 pts), match/switch 4 (16 pts), loops 3 (13 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 57). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1954e43a4c91bb3a836df769a4fa7c41fac119f6a0741e341fb2e51c7b25fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparisonExpression.__compare (cognitive 80): ComparisonExpression.__compare has cognitive complexity 80 (threshold 15). Drivers by points: if/else 53 (70 pts), boolean chains 8, error handling 1 (2 pts) (nesting depth added 18). 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":"filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03bfb7bf963a3662ebf97da3b50d3d45d162d148c93b370c04210c51a717950"}},{"ruleId":"D2","level":"warning","message":{"text":"PullMessageProcessor.processRequest (cognitive 78): PullMessageProcessor.processRequest has cognitive complexity 78 (threshold 15). Drivers by points: if/else 38 (65 pts), boolean chains 8, error handling 2 (4 pts), match/switch 1 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"560d727712ba6aa4bee05ea71f825c7a933490b066488de7d238f46f279437c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CommitLog.recoverAbnormally (cognitive 72): CommitLog.recoverAbnormally has cognitive complexity 72 (threshold 15). Drivers by points: if/else 25 (62 pts), boolean chains 4, loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9d1687121144691cccc13acebe1a61044f573b1e3d99c7a8dd54319c6ad734"}},{"ruleId":"D2","level":"warning","message":{"text":"CommitLog.checkMessageAndReturnSize (cognitive 71): CommitLog.checkMessageAndReturnSize has cognitive complexity 71 (threshold 15). Drivers by points: if/else 27 (57 pts), loops 1 (5 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1, match/switch 1 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e0bc519dadd345cf9ff2fd61af157c8f1cdb2f67391a9088604a2c5cbf3ea9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeRequest.run (cognitive 70): ConsumeRequest.run has cognitive complexity 70 (threshold 15). Drivers by points: if/else 22 (58 pts), boolean chains 6, error handling 1 (4 pts), loops 1 (2 pts) (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daa225f519ebedb7d10e6e1207f97f46fe907771f8702a40b79928da269600e"}},{"ruleId":"D2","level":"warning","message":{"text":"PopBufferMergeService.scan (cognitive 69): PopBufferMergeService.scan has cognitive complexity 69 (threshold 15). Drivers by points: if/else 22 (54 pts), loops 3 (9 pts), boolean chains 6 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"835c82f46f3b8f9740f70afba7f2cc5d734e1c29420a7884ba016de147db4836"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerController.shutdownBasicService (cognitive 68): BrokerController.shutdownBasicService has cognitive complexity 68 (threshold 15). Drivers by points: if/else 62 (65 pts), loops 2, boolean chains 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd915ed36e2fec03833f81b52d023c3f01460e1545d3115597b301b2dd3971af"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupTransferService.doWaitTransfer (cognitive 68): GroupTransferService.doWaitTransfer has cognitive complexity 68 (threshold 15). Drivers by points: if/else 11 (46 pts), loops 4 (15 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffd2e9cf998affeea57ebd1e37affa7b6e7a5f4aed34bcded8d386c661a7c35"}},{"ruleId":"D2","level":"warning","message":{"text":"RebalanceImpl.updateMessageQueueAssignment (cognitive 67): RebalanceImpl.updateMessageQueueAssignment has cognitive complexity 67 (threshold 15). Drivers by points: if/else 24 (46 pts), error handling 3 (9 pts), loops 7, boolean chains 5 (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9373f0a99503cfd36406560ae2582fcbb9367174fe5943514207a32365e946"}},{"ruleId":"D2","level":"warning","message":{"text":"CompactionLog.getMessage (cognitive 66): CompactionLog.getMessage has cognitive complexity 66 (threshold 15). Drivers by points: if/else 19 (57 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5335f075ccf72b27458884a1368d2ae48ab71708579422dc83b012f61697503"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.updateTopicRouteInfoFromNameServer (cognitive 64): MQClientInstance.updateTopicRouteInfoFromNameServer has cognitive complexity 64 (threshold 15). Drivers by points: if/else 15 (40 pts), loops 4 (17 pts), error handling 3 (5 pts), boolean chains 2 (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"addfabb2a670f1d8cd9ff2d590e677d1c7bda7a8749b25f2f58db32740b1372d"}},{"ruleId":"D2","level":"warning","message":{"text":"HAClientReader.processReadResult (cognitive 63): HAClientReader.processReadResult has cognitive complexity 63 (threshold 15). Drivers by points: if/else 14 (49 pts), loops 2 (5 pts), ternaries 1 (4 pts), match/switch 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d5b9094b8408bf27f078f9cedb81ef92d1043ab05ef4acc46a85907bfff724"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerLagCalculator.processAllGroup (cognitive 61): ConsumerLagCalculator.processAllGroup has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (52 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a05f4047ce8e7c560798d79cc0f6347d6b42edfe449e8e14e78fe83b043b364"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingCleanService.cleanItemListMoreThanSecondGen (cognitive 60): TopicQueueMappingCleanService.cleanItemListMoreThanSecondGen has cognitive complexity 60 (threshold 15). Drivers by points: if/else 16 (40 pts), loops 6 (11 pts), error handling 3 (6 pts), boolean chains 3 (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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb96b794b1807b16124d51bdda9896f8c5c0b29622e02e5a86ac41daadbe5ac"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.checkAndReviseMetrics (cognitive 60): TimerMessageStore.checkAndReviseMetrics has cognitive complexity 60 (threshold 15). Drivers by points: if/else 19 (42 pts), loops 8 (12 pts), ternaries 1 (4 pts), boolean chains 1, error handling 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"366f81864b62c96fd5593a7fd9e40d1a2618d8345b9b862a95a8900b02cf8a33"}},{"ruleId":"D2","level":"warning","message":{"text":"PullTaskImpl.run (cognitive 58): PullTaskImpl.run has cognitive complexity 58 (threshold 15). Drivers by points: if/else 20 (42 pts), error handling 3 (6 pts), boolean chains 5, ternaries 1 (3 pts), match/switch 1 (2 pts) (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"198f2c783a2d6062255785c4284fe54116bc71948e40bca51d4d4b6278239596"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQProducerImpl.sendKernelImpl (cognitive 55): DefaultMQProducerImpl.sendKernelImpl has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (49 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0263ddf9ce363c20f50397be8492073ead6ab1a5f1a4088e3a75db243388f74"}},{"ruleId":"D2","level":"warning","message":{"text":"RemotingHelper.invokeSync (cognitive 55): RemotingHelper.invokeSync has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (45 pts), loops 3 (6 pts), error handling 2 (4 pts) (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce2d563b2c2ece49b853c4b2c501c5f56ac17668f59f6c34679b2bf3e60b8d4"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerDequeueGetMessageService.run (cognitive 54): TimerDequeueGetMessageService.run has cognitive complexity 54 (threshold 15). Drivers by points: if/else 12 (35 pts), loops 3 (9 pts), boolean chains 5, error handling 2 (5 pts) (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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aef6c020eb8338a066bafb4b769ba1b60e894e0521667db6f3c7b23fe1ff162"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingCleanService.cleanItemExpired (cognitive 53): TopicQueueMappingCleanService.cleanItemExpired has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (38 pts), loops 4 (7 pts), error handling 3 (6 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5e15ef9d67ea62d886d691b8b7a107588c934d47a1d3e1dbbebbab869eb454"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeQueue.correctMinOffset (cognitive 53): ConsumeQueue.correctMinOffset has cognitive complexity 53 (threshold 15). Drivers by points: if/else 23 (44 pts), loops 2 (4 pts), boolean chains 3, error handling 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"389b45dd1da2f00119d4f6f8d0790f31f1b40a0ba98501839d24512ea33f03b3"}},{"ruleId":"D2","level":"warning","message":{"text":"PullAPIWrapper.processPullResult (cognitive 51): PullAPIWrapper.processPullResult has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (34 pts), loops 4 (11 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullAPIWrapper.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"852022e362b09f5a3b58ac0203b00f394d55de42707c95cdb3210f05fb3b4b88"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractWriteSocketService.run (cognitive 51): AbstractWriteSocketService.run has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (45 pts), error handling 2 (3 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"659e7556efd015ce00dad64001027d9ff8225f466ac1ab7d57638d0b6eba8b09"}},{"ruleId":"D2","level":"warning","message":{"text":"RocksDBConsumeQueueTable.binarySearchInCQByTime (cognitive 50): RocksDBConsumeQueueTable.binarySearchInCQByTime has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (33 pts), match/switch 4 (10 pts), loops 3 (7 pts) (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":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueTable.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebcae95845c3cd1f8dcddabaa6651e404881e7d04dd0c836012eee5a9190bb4"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeQueue.truncateDirtyLogicFiles (cognitive 50): ConsumeQueue.truncateDirtyLogicFiles has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (45 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4901b648e37d2f4e1055856e0acf051cdeb8319f434c024fe094fba7301bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"ProducerManager.doChannelCloseEvent (cognitive 49): ProducerManager.doChannelCloseEvent has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (41 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"748e360a281d6dbe1460883b26e05bf475ec3c2d891098ae0325b93ade3a6e22"}},{"ruleId":"D2","level":"warning","message":{"text":"PullMessageProcessor.rewriteResponseForStaticTopic (cognitive 49): PullMessageProcessor.rewriteResponseForStaticTopic has cognitive complexity 49 (threshold 15). Drivers by points: if/else 25 (46 pts), boolean chains 2, 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e3645429751be48e89e9df35989705ff023cc6d74f3a5e071eeb06c728af0e"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageRocksDBStorage.queryOffsetForIndex (cognitive 49): MessageRocksDBStorage.queryOffsetForIndex has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 11, error handling 2 (5 pts), loops 2 (3 pts) (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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f802d76bd6eb0b9569fde1ff806ee3ec7fb181c7eb21acb7532e43aaf97dab"}},{"ruleId":"D2","level":"warning","message":{"text":"PullRequestHoldService.notifyMessageArriving (cognitive 48): PullRequestHoldService.notifyMessageArriving has cognitive complexity 48 (threshold 15). Drivers by points: if/else 8 (28 pts), error handling 3 (16 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PullRequestHoldService.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"841a45f55c5b819c2207e0f5f17061ad06c358626f929eda303c7628917bcd77"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteInfoManager.pickupTopicRouteData (cognitive 48): RouteInfoManager.pickupTopicRouteData has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 5 (12 pts), boolean chains 4, error handling 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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"4414c6473ce74dccc4ea328b6357265356e9948ca04ff3e17d62ee51796f79eb"}},{"ruleId":"D2","level":"warning","message":{"text":"PopLiteLongPollingService.run (cognitive 47): PopLiteLongPollingService.run has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 5 (9 pts), error handling 2 (3 pts), boolean chains 1 (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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7d9079d10cf25d2840169e88b8c03c3da72423fef923f966649dc93b9fb09c"}},{"ruleId":"D2","level":"warning","message":{"text":"PopLongPollingService.run (cognitive 47): PopLongPollingService.run has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 5 (9 pts), error handling 2 (3 pts), boolean chains 1 (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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"277c07c36348a856141e9250418e965906747efb54d24526abc6fd1d4da2d195"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultAuthorizationContextBuilder.buildContextByAnnotation (cognitive 46): DefaultAuthorizationContextBuilder.buildContextByAnnotation has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (39 pts), loops 2 (5 pts), 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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"0761e965c4d84ae5a39884e06f641c9299d879cb5c988412a224c6bddb9242a7"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerController.startBasicService (cognitive 46): BrokerController.startBasicService has cognitive complexity 46 (threshold 15). Drivers by points: if/else 32 (42 pts), boolean chains 2, loops 2 (nesting depth added 10). 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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"545500d911bc5839d50cc9e12e2c982d7d022e3d8e27ac3cefcf7f570e65b95a"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientAPIImpl.processPopResponse (cognitive 46): MQClientAPIImpl.processPopResponse has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (41 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85f2d083835dc5aedfb51bb7dbd06813c70112631419c5183ca5e625bd683e9"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexRocksDBStore.buildIndex (cognitive 46): IndexRocksDBStore.buildIndex has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 4 (11 pts), error handling 4 (9 pts), boolean chains 3, match/switch 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":"store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c3e6da70a5cdf9a51205599cae239c8c82a9481860bbd277a56c7abccf2a92"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSendMessageProcessor.consumerSendMsgBack (cognitive 45): AbstractSendMessageProcessor.consumerSendMsgBack has cognitive complexity 45 (threshold 15). Drivers by points: if/else 23 (34 pts), ternaries 3 (5 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"532876505f2674c7406c307858268a3458f813733b67aac3c908a611c15bd95e"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQPushConsumerImpl.processPopResult (cognitive 45): DefaultMQPushConsumerImpl.processPopResult has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 4 (12 pts), error handling 1 (5 pts), boolean chains 1 (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a209d9f55b307ac5e3046697ffa60953264a308106ccd23803d54eca5952ef4"}},{"ruleId":"D2","level":"warning","message":{"text":"RemotingCommand.decodeCommandCustomHeaderDirectly (cognitive 45): RemotingCommand.decodeCommandCustomHeaderDirectly has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (32 pts), error handling 2 (6 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba83e51cb0558cb995314d2dc2be570784c6002391ea7dec63111e4351edd546"}},{"ruleId":"D2","level":"warning","message":{"text":"PopMessageProcessor.popMsgFromQueue (cognitive 44): PopMessageProcessor.popMsgFromQueue has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (23 pts), error handling 6 (12 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 13). 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ee031fdf73910c9e71e41394136db07e07194193885bf1cfd6854e359e4922"}},{"ruleId":"D2","level":"warning","message":{"text":"WriteSocketService.run (cognitive 44): WriteSocketService.run has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (40 pts), error handling 2 (3 pts), loops 1 (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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6433014466639aecfc83877d9f71f90032c02c577863d2a3f8ed0582c3d85b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReputMessageService.doReput (cognitive 43): ReputMessageService.doReput has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2723}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b22cf0233a773717a717eb3e9ecf2077fdb71eb3117ab54705072b9829cf9c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerFilterManager.decode (cognitive 42): ConsumerFilterManager.decode has cognitive complexity 42 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 4 (10 pts), ternaries 1 (5 pts), error handling 1 (4 pts), boolean chains 1 (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":"broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eed7985869b8330ccb8efa8793d28d2d04d45cad3dc180d22d93a2f398d8972"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriptionFilterHandler.register (cognitive 42): SubscriptionFilterHandler.register has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (35 pts), boolean chains 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":"broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f784233ab087da9befa4505b90ed2146d8f6f60151157bcacebc8e06dcfd02b0"}},{"ruleId":"D2","level":"warning","message":{"text":"PopConsumerService.popAsync (cognitive 42): PopConsumerService.popAsync has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 9, ternaries 3 (4 pts), loops 1 (2 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45ea4fe88067dc188d369e72f08c1cdc698be5b4f891f8c41fcdd3efefd2cf4"}},{"ruleId":"D2","level":"warning","message":{"text":"UtilAll.getIP (cognitive 42): UtilAll.getIP has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (37 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36203bc64a9df22816fa7d32468fd6322829b3e53ade5d5dc2682a4b6cdc656"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerDequeuePutMessageService.run (cognitive 42): TimerDequeuePutMessageService.run has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 3 (6 pts), error handling 2 (5 pts), 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09b5a5c44f3ccca8a9fb8736b0e3f33d708441c98e0b1134df9970e0893583a"}},{"ruleId":"D2","level":"warning","message":{"text":"DLedgerCommitLog.dledgerRecoverAbnormally (cognitive 41): DLedgerCommitLog.dledgerRecoverAbnormally has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 2 (4 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"5335c26532ba19abd7e0cbf81093ea0f861484f91ffa233550be4023135053de"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageStoreDispatcherImpl.doScheduleDispatch (cognitive 41): MessageStoreDispatcherImpl.doScheduleDispatch has cognitive complexity 41 (threshold 15). Drivers by points: if/else 28 (34 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 6). 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreDispatcherImpl.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"93312fa633d6a95caa760b0ff58a4738e5abafc88c15122f2ff6537bdc74433c"}},{"ruleId":"D2","level":"warning","message":{"text":"CommitLog.asyncPutMessage (cognitive 40): CommitLog.asyncPutMessage has cognitive complexity 40 (threshold 15). Drivers by points: if/else 25 (32 pts), boolean chains 6, error handling 1, match/switch 1 (nesting depth added 7). 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a95dff2a3983c7ebd86547e2011145d7b8c9e10bda9aba419c4caede5adbd20"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerManager.doChannelCloseEvent (cognitive 39): ConsumerManager.doChannelCloseEvent has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (33 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"620e667ded1efced317f9d916bd4f436bd705663c789c68608d630dc947267e7"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQPushConsumerImpl.checkConfig (cognitive 39): DefaultMQPushConsumerImpl.checkConfig has cognitive complexity 39 (threshold 15). Drivers by points: if/else 24 (26 pts), boolean chains 13 (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d45daf4b4e768256441e15205765727d54e87aa6af3a3d0069faf6cf2bb2f08"}},{"ruleId":"D2","level":"warning","message":{"text":"PolishExpr.participle (cognitive 39): PolishExpr.participle has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 9, 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":"common/src/main/java/org/apache/rocketmq/common/filter/impl/PolishExpr.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3232ce67714fa1595c3e4f7233f78c6522188047ee2e3fff3acb90be491dce6"}},{"ruleId":"D2","level":"warning","message":{"text":"MappedFileQueue.getConsumeQueueMappedFileByTime (cognitive 39): MappedFileQueue.getConsumeQueueMappedFileByTime has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 3 (5 pts), boolean chains 1, match/switch 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":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"150038e1e5463c39c24b5c8a5067e2f9384ec7412229f9c575c452bed239db51"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerMetricsManager.shutdown (cognitive 38): BrokerMetricsManager.shutdown has cognitive complexity 38 (threshold 15). Drivers by points: loops 8 (24 pts), if/else 8 (14 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"de86d5817dd80e57e12d2cdc9e76fdd63de56eeae2271454de18b6b6689b7079"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.fetchAllConsumeStatsInBroker (cognitive 38): AdminBrokerProcessor.fetchAllConsumeStatsInBroker has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (26 pts), loops 3 (6 pts), error handling 1 (4 pts), boolean chains 2 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"05991bf3ae4315dfdc8b74e42847ff5f1493c3b1c995fcf526a16e76362ace80"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQPushConsumerImpl.pullMessage (cognitive 37): DefaultMQPushConsumerImpl.pullMessage has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (31 pts), error handling 3 (5 pts), 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1547b0e145430965006fd5eeaca503fe2a5162e8e0ef01df9c919ba3f9270bc2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeQueue.estimateMessageCount (cognitive 37): ConsumeQueue.estimateMessageCount has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 2 (4 pts), 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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9813bcee14226da6aa617828f73986217fa59231a6a13e96f779e84414e1ae4f"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageStore.shutdown (cognitive 37): DefaultMessageStore.shutdown has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (30 pts), error handling 3 (6 pts), 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b75373d5d5c5b099cf754483e7a1f0543b88f983673620ff2eee63c9459440"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.lockBatchMQ (cognitive 36): AdminBrokerProcessor.lockBatchMQ has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (10 pts), error handling 2 (9 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9324affb3f4876b0c14135f1fb5bcca645c17a8d734fbf0be75eb8987e3f42"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.topicRouteData2TopicPublishInfo (cognitive 36): MQClientInstance.topicRouteData2TopicPublishInfo has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 5 (15 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2c0802f3fccc1e41a94f58b307a94e97596a812e9f14d3ef72fb281b6d6953"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageUtils.deleteProperty (cognitive 36): MessageUtils.deleteProperty has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (27 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/MessageUtils.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14d4ce05d4fabb6e8dbef906076781a7583e6c8f89bdd3b8d0776bb5be86425"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexService.buildIndex (cognitive 36): IndexService.buildIndex has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 1 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5da927a7364fd360ad4f9e1614ed930b5414a27497b1abaad435c4ff2cde8e"}},{"ruleId":"D2","level":"warning","message":{"text":"CombineConsumeQueueStore.verifyAndInitOffsetForAllStore (cognitive 36): CombineConsumeQueueStore.verifyAndInitOffsetForAllStore has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (26 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStore.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba6c4c0b1971ed8c15537d6c5fd38030ed49b71c260ebb2c34a0c8aaaa17191"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.dequeue (cognitive 36): TimerMessageStore.dequeue has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 6 (8 pts), boolean chains 3, error handling 2 (3 pts) (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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2a3532968427f0182e7eebf48248a26d5b3bc51dd94e696550c816fd386a13"}},{"ruleId":"D2","level":"warning","message":{"text":"SendMessageProcessor.sendMessage (cognitive 35): SendMessageProcessor.sendMessage has cognitive complexity 35 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 6, ternaries 1 (nesting depth added 6). 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e095d9b876929a096d7917d7599683d32c57adc8788c5309ac52cbaa17b9dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchConsumeQueue.estimateMessageCount (cognitive 35): BatchConsumeQueue.estimateMessageCount has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 2 (4 pts), 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e782a2a1b4dca2aad998a5cc130681617886c2cff0e5636d74839c64ebb5f3b2"}},{"ruleId":"D2","level":"warning","message":{"text":"MappedFileQueue.deleteExpiredFileByTime (cognitive 35): MappedFileQueue.deleteExpiredFileByTime has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 1 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d9ec702b3c5e3cc8f0c7aae1d15321e6ce96d95c1643203454b25f4e49454e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerLagCalculator.calculateMessageCount (cognitive 34): ConsumerLagCalculator.calculateMessageCount has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (21 pts), error handling 1 (6 pts), loops 1 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8c55bfad9bcbad960c7307c2fca5b029d7c511803717aca7e3f846a4593445"}},{"ruleId":"D2","level":"warning","message":{"text":"RebalancePushImpl.computePullFromWhereWithException (cognitive 34): RebalancePushImpl.computePullFromWhereWithException has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (21 pts), error handling 3 (12 pts), match/switch 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePushImpl.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"281a75443ac26010e37ff7c875bbf3bf893e364038f5ca7776af7b9cf0847427"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMessageService.popMessage (cognitive 34): LocalMessageService.popMessage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 2 (4 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee62a35b0354c1a8422bd0459857c91edb212b8b21af5bf617c8095d1599369"}},{"ruleId":"D2","level":"warning","message":{"text":"CommitLog.recoverNormally (cognitive 34): CommitLog.recoverNormally has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 2 (4 pts), boolean chains 3 (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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b9ddb694329dd752e3f5678078d9299e50d77fa57c8116591a04abf7194146"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerMetricsManager.init (cognitive 33): BrokerMetricsManager.init has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (24 pts), loops 2 (5 pts), boolean chains 2, ternaries 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa93f9ace9292a3ba7a7cb69e18a2ee58122a7bdeed4c16a894e8307841c5f33"}},{"ruleId":"D2","level":"warning","message":{"text":"PeekMessageProcessor.processRequest (cognitive 33): PeekMessageProcessor.processRequest has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (20 pts), loops 3 (8 pts), error handling 1 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 10). 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78651c2516c675fdc2d4e974a8cfd84d40537f8dc4626a1a5ded2fe2392afec"}},{"ruleId":"D2","level":"warning","message":{"text":"RebalanceLitePullImpl.computePullFromWhereWithException (cognitive 33): RebalanceLitePullImpl.computePullFromWhereWithException has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (20 pts), error handling 3 (12 pts), match/switch 1 (nesting depth added 16). 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea3fa523cb07de7f1b1ee24fba8940de8b8b24dce0690b6487e3be8ced5251d"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteInfoManager.unRegisterBroker (cognitive 33): RouteInfoManager.unRegisterBroker has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 3 (9 pts), boolean chains 2, error handling 1, 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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68d1ba994ad173d5a6920f886fe9479a20492cd36b927835c22e8cc0efaf50d"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyRemotingClient.updateNameServerAddressList (cognitive 33): NettyRemotingClient.updateNameServerAddressList has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (7 pts), boolean chains 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff06e75c6d90d2397aea49d295480c0a593745e02cb5dbe2376441c70b4ab0f4"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.shutdown (cognitive 33): TimerMessageStore.shutdown has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (27 pts), loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 9). 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"304baa3ca07a1c298fad876d9e2db7b1e7a64d6d6a571fb419c0334bd5f46c19"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.warmDequeue (cognitive 33): TimerMessageStore.warmDequeue has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 3 (5 pts), boolean chains 2, error handling 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29705188890c50751827e61cfdacc32669e340760716cd533948b8c699ee254"}},{"ruleId":"D2","level":"warning","message":{"text":"CommitLog.asyncPutMessages (cognitive 33): CommitLog.asyncPutMessages has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 5, error handling 1, match/switch 1 (nesting depth added 6). 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fabfd2a01239ae4a8ff7c5c5924039678f437e9e294eeebfd2c2aa50dc3542"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerContainerProcessor.addBroker (cognitive 32): BrokerContainerProcessor.addBroker has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (18 pts), error handling 3 (5 pts), loops 2 (4 pts), match/switch 1 (3 pts), boolean chains 2 (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":"container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8fb4fea6fc06c911afccfdf078635b161475acbcd734263cf55c9a54be6684"}},{"ruleId":"D2","level":"warning","message":{"text":"Broker2Client.resetOffset (cognitive 31): Broker2Client.resetOffset has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (19 pts), error handling 2 (7 pts), loops 2 (3 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/client/net/Broker2Client.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3d0bc19fd299053f29db96ad2e536eea1961d13769fb6e479ec6e96ec9d662"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationProcessor.processRequest (cognitive 31): NotificationProcessor.processRequest has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 7). 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"61625c14bf2194bf00b2352f8452a0060d493080fbc5c0290d1dd9b34fdd4f1d"}},{"ruleId":"D2","level":"warning","message":{"text":"MQAdminImpl.createTopic (cognitive 31): MQAdminImpl.createTopic has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (17 pts), error handling 2 (6 pts), loops 2 (6 pts), boolean chains 2 (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":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efb002066b4fb66c50d0ee4f616bd7e720e3dea2da3ee21c6997b9b6976a5ae"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanCommitLogService.isSpaceToDelete (cognitive 31): CleanCommitLogService.isSpaceToDelete has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 2, 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2429}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8564efa840fa1d617c868457161b169c52df398dc862bffb69dd57e3017c288"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultConsumerIdsChangeListener.handle (cognitive 30): DefaultConsumerIdsChangeListener.handle has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 1 (4 pts), boolean chains 3, match/switch 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":"broker/src/main/java/org/apache/rocketmq/broker/client/DefaultConsumerIdsChangeListener.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b660b817acf632d387c9ca53585589593b1419df83b3847c26f3ce8fa3234ec6"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSendMessageProcessor.msgCheck (cognitive 30): AbstractSendMessageProcessor.msgCheck has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e79a905c6d010e9097e4140559121dfc50510c7922c833a2a2eb4cad2ca7369"}},{"ruleId":"D2","level":"warning","message":{"text":"AckMessageProcessor.appendAck (cognitive 30): AckMessageProcessor.appendAck has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d41c7856f5edcdcd5c3322d75570363c1c5c4773e34043f86059a0142492ff"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerMetricsManager.init (cognitive 30): ControllerMetricsManager.init has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 2 (5 pts), boolean chains 2, ternaries 1 (2 pts) (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":"controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1debfc7834cb9f408f6c1a731147b6cdc90690f587ab252b09be878e4f8b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyMetricsManager.start (cognitive 30): ProxyMetricsManager.start has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 2 (5 pts), boolean chains 2, ternaries 1 (2 pts) (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":"proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7109ae6a1f239a634c71acf030d81aa5946b8c1178d63c9482997e2f35777823"}},{"ruleId":"D2","level":"warning","message":{"text":"TlsHelper.buildSslContext (cognitive 30): TlsHelper.buildSslContext has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 6 (15 pts) (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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/TlsHelper.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"316054701a05fdc12df9240e8686cc567db71512e7b8e03b56389b72aa64f800"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractWriteSocketService.transferToSlave (cognitive 30): AbstractWriteSocketService.transferToSlave has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (29 pts), 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":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"3354fe63f22ad6f3f602e5ab3dbc1bd93384da6105333c7865fba7a010b86732"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchConsumeQueue.truncateDirtyLogicFiles (cognitive 30): BatchConsumeQueue.truncateDirtyLogicFiles has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (4 pts), 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3692a822553f7244d604e78ae9ae375260db09022f9e99a82c8086660baf05e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeQueue.recover (cognitive 30): ConsumeQueue.recover has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 2 (5 pts), boolean chains 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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dcb70a38fa31bb7cb805d32375d07f2eb82d566e3d26bfec13873d575df370"}},{"ruleId":"D2","level":"warning","message":{"text":"AckMessageProcessor.processRequest (cognitive 29): AckMessageProcessor.processRequest has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7c2342d068d72450d1c7ddc31a393e82293d5c6db155f5fef4ec4171ea2696"}},{"ruleId":"D2","level":"warning","message":{"text":"EndTransactionProcessor.processRequest (cognitive 29): EndTransactionProcessor.processRequest has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (25 pts), match/switch 2 (4 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbf5710189ea50df54b84b06d820d96a21bf4b84c34fbc7f6a9c99a7699d34c"}},{"ruleId":"D2","level":"warning","message":{"text":"MixAll.properties2Object (cognitive 29): MixAll.properties2Object has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 5, error handling 1 (3 pts), 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":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c10a3c942d90d0290ff8fb05c4d686183407a0feb4063bd3e6534e771ec38f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientMetadata.topicRouteData2EndpointsForStaticTopic (cognitive 29): ClientMetadata.topicRouteData2EndpointsForStaticTopic has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 5 (9 pts), 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":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/ClientMetadata.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e417ebf4558a309e766200cb93467454661e0113fa9852ec43214842b32da5"}},{"ruleId":"D2","level":"warning","message":{"text":"HAServerReader.processReadResult (cognitive 29): HAServerReader.processReadResult has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (25 pts), match/switch 1 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af916c38da4b27aa32d27672c80551c9a8823b06ec64a23f87851ec3311248a"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexFile.selectPhyOffset (cognitive 29): IndexFile.selectPhyOffset has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 4, loops 1 (3 pts), error handling 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e3c445e38cc097ec7626edf30e5ff1269f63f35290f381b8ebf27e50c2f550"}},{"ruleId":"D2","level":"warning","message":{"text":"CompactionStore.load (cognitive 29): CompactionStore.load has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (6 pts), error handling 1 (5 pts) (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":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionStore.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57336c85af9b27bd6355ff494eaa4a7fce8c9655340f57f6a51f6ea7ea9fe51"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.enqueue (cognitive 29): TimerMessageStore.enqueue has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 2 (4 pts), error handling 2 (3 pts) (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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d1a429bc8af62da45db906c4c4eb5e69c8bd74a3898b24b811a511c4848eb2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcurrentReputMessageService.doReput (cognitive 29): ConcurrentReputMessageService.doReput has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (5 pts), error handling 1 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":3022}}}],"partialFingerprints":{"codehealthFindingId/v1":"05037acccfe3861aaae1b17e19a2794ceeb6f1f75677f0c0cc1771ab6fe7d4b6"}},{"ruleId":"D2","level":"warning","message":{"text":"RebalanceImpl.updateProcessQueueTableInRebalance (cognitive 28): RebalanceImpl.updateProcessQueueTableInRebalance has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 3, 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c352e6bf44611aa51c955e3a26c04fc9ff97ba89ea634b4fc7195e2f9982de95"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.sendHeartbeatToAllBrokerConcurrently (cognitive 28): MQClientInstance.sendHeartbeatToAllBrokerConcurrently has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (5 pts), error handling 3 (4 pts), 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bfd18b6086981789ff805bbd5edb6eae20d3e5ef77cbaf2a12b070bb13dc50"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkUtil.getLocalInetAddressList (cognitive 28): NetworkUtil.getLocalInetAddressList has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (24 pts), loops 2 (3 pts), 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":"common/src/main/java/org/apache/rocketmq/common/utils/NetworkUtil.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcbdc1b51ef4e589c6d72c595597a8e4de4876f1aeffd21e1943985902c3802"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.recoverAndRevise (cognitive 28): TimerMessageStore.recoverAndRevise has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 pts), boolean chains 3, error handling 1 (3 pts), ternaries 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab19034def4605cd494d888f5362ad0496402a23ce5641839f9b7512c29beaf4"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageStore.getMessageIds (cognitive 28): DefaultMessageStore.getMessageIds has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (6 pts), ternaries 1 (5 pts), boolean chains 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7380680a909ccf5a324430c0989d2bce58563f0315bbd023af5d4869bdd8fd"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultPullMessageResultHandler.handle (cognitive 27): DefaultPullMessageResultHandler.handle has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 2 (4 pts), boolean chains 3, ternaries 1 (2 pts), match/switch 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87a3b1afecfaee4f31b330046ad71b05fee60e4ad2d2b68b6c1bc0d25e0638f"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryAssignmentProcessor.doLoadBalance (cognitive 27): QueryAssignmentProcessor.doLoadBalance has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (23 pts), error handling 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 12). 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/QueryAssignmentProcessor.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2056ca2aae19134f9b45902a0bfed2d1fe99ac7e14ecb17e2b95baadb87b6aee"}},{"ruleId":"D2","level":"warning","message":{"text":"RebalanceImpl.lockAll (cognitive 27): RebalanceImpl.lockAll has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 2 (4 pts), error handling 1 (3 pts) (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e90b852800ce652262772d61cc26b3c20612bad54ea913caf45f074ca3c5e86"}},{"ruleId":"D2","level":"warning","message":{"text":"PolishExpr.reversePolish (cognitive 27): PolishExpr.reversePolish has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (5 pts), 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":"common/src/main/java/org/apache/rocketmq/common/filter/impl/PolishExpr.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"256198e8b31660b3dc887c9047affd6a81c92ce39abbe665c402b331a397f181"}},{"ruleId":"D2","level":"warning","message":{"text":"MixAll.printObjectProperties (cognitive 27): MixAll.printObjectProperties has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (22 pts), error handling 1 (4 pts), loops 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"62099b69f61c86d14495acf9bd61b0e82d8f24c25d95c3691ef4071cc67c7cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyAdminAuthInterceptor.interceptCall (cognitive 27): ProxyAdminAuthInterceptor.interceptCall has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 8, error handling 3, ternaries 3 (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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminAuthInterceptor.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd87f948e1932aef52ed163b5680048a3717b60bc90d899fca54622fd3b1c4b2"}},{"ruleId":"D2","level":"warning","message":{"text":"MappedFileQueue.deleteExpiredFileByOffsetForTimerLog (cognitive 27): MappedFileQueue.deleteExpiredFileByOffsetForTimerLog has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9e6b2b6ce6cf9ad70c96dabd01224a1180d49787aeed5f8520b39da386b77c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerOffsetManager.queryMinOffsetInAllGroup (cognitive 26): ConsumerOffsetManager.queryMinOffsetInAllGroup has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 4 (9 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61757229416579167194a77b4d8568eaec2fd9dad980c9dfa0e98aca4eddcc4"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerFastFailure.cleanExpiredRequestInQueue (cognitive 26): BrokerFastFailure.cleanExpiredRequestInQueue has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (22 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddb02df6c953714a4e72346714f29ae879bce4e345f3081a1827a5ccc11ec4b"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerController.\u003Cinit\u003E (cognitive 26): BrokerController.\u003Cinit\u003E has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 9 (14 pts), if/else 8, boolean chains 4 (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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"127d42dc2beaa5f532f1cf70bd7b3980ad96071ac4a42df6e1818d801cc0069a"}},{"ruleId":"D2","level":"warning","message":{"text":"RebalanceImpl.rebalanceByTopic (cognitive 26): RebalanceImpl.rebalanceByTopic has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), error handling 1 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 13). 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b8e1756f94fc95619737f5af39b9dded5e3fb404e28b2df53c1ef146e4ba5c"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultPromise.get (cognitive 26): DefaultPromise.get has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 2 (6 pts), loops 1 (3 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/promise/DefaultPromise.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"805e8ce12fb1e5af4bcca2c2b4201ef62e75e9b18142505cc9efa478231f080e"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminModelConverter.toAccumulation (cognitive 26): AdminModelConverter.toAccumulation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 5, loops 3 (4 pts) (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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/AdminModelConverter.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"22aca8a176fc8bfa7ff1ca7c9f9e57c8aec9bb4b62edd37889e37157fe1fe9c2"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingUtils.checkNameEpochNumConsistence (cognitive 26): TopicQueueMappingUtils.checkNameEpochNumConsistence has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 5, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5743135a7cc7f5a2c6a1307c47deb5058a9262f6c4086d3845e399fa4a596bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchConsumeQueue.binarySearchRight (cognitive 26): BatchConsumeQueue.binarySearchRight has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 1 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"3781f3babbe15476f22506704f5e126a1c6668a39766904e521684311e6faf12"}},{"ruleId":"D2","level":"warning","message":{"text":"CombineConsumeQueueStore.processConsumeQueuesForTopic (cognitive 26): CombineConsumeQueueStore.processConsumeQueuesForTopic has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (8 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStore.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"7460b268f5155a95bdb3046efff0f7ed3ce5b82f68adf502a7ae69daaba01310"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocateMappedFileService.putRequestAndReturnMappedFile (cognitive 26): AllocateMappedFileService.putRequestAndReturnMappedFile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (22 pts), error handling 2 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3b8b333f26e058bec9a1b7f8ec46a0c6102f66f8a9e811174dc5741e3279cf"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultAuthorizationContextBuilder.build (cognitive 25): DefaultAuthorizationContextBuilder.build has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (25 pts) (nesting depth added 6). 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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3c0498ec2ef2e924fc8fd0e792ae5e2a18bbb1ff42f0eac5b63efda04e884b"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthMigrator.createAcl (cognitive 25): AuthMigrator.createAcl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2 (4 pts) (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":"auth/src/main/java/org/apache/rocketmq/auth/migration/AuthMigrator.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0656178e2cd9b5bbe4fa1aa569dc6363d9e7f685ba8165a690f4a2e642cf161a"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicConfigManager.createTopicInSendMessageMethod (cognitive 25): TopicConfigManager.createTopicInSendMessageMethod has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (24 pts), error handling 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc0e5b8e3235c848034ca368253aaee9841b457bc051c89e967444e8ffa9c56"}},{"ruleId":"D2","level":"warning","message":{"text":"PopBufferMergeService.addAk (cognitive 25): PopBufferMergeService.addAk has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (22 pts), loops 1 (2 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8d7fb27cd34a65d2f728c5d3bb0a0c8ac873b1d5985ff2ddddafe04b7e1ba2"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageDecoder.decode (cognitive 25): MessageDecoder.decode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 2, boolean chains 1, 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":"common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"19416e5c2c1055ef15182480aad3b78b1d2b950c1b68b823e23daef7e316c168"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveMessageActivity.receiveMessage (cognitive 25): ReceiveMessageActivity.receiveMessage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 2 (4 pts), boolean chains 3, 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/ReceiveMessageActivity.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e95f20cdad8d4e32da5177b95f006b311ba40972f6c9cc32bd33d054a41c77"}},{"ruleId":"D2","level":"warning","message":{"text":"HAProxyMessageForwarder.buildHAProxyMessage (cognitive 25): HAProxyMessageForwarder.buildHAProxyMessage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 1 (2 pts), 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":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/protocol/http2proxy/HAProxyMessageForwarder.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2697fa62c62418e2152ea5bba7f53ae1fbc8ada5b432f6664ea0219d9a14aa"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageQueueSelector.buildWrite (cognitive 25): MessageQueueSelector.buildWrite has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (11 pts) (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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/MessageQueueSelector.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"276a74220bcbae399978dc7d738973ea05dda5e56ed988adeea5b45442feaf97"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriptionData.equals (cognitive 25): SubscriptionData.equals has cognitive complexity 25 (threshold 15). Drivers by points: if/else 20 (25 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/heartbeat/SubscriptionData.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8a5b682b5057f30a436f4bf6d7859fda0ba6c5a1baf32e1684a78fd19905d5"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocateMappedFileService.mmapOperation (cognitive 25): AllocateMappedFileService.mmapOperation has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 4 (8 pts), boolean chains 2, ternaries 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdd048a33bc27079d85d4bd4dc7a6676d04979659dc46d1088afec3df3daf0a"}},{"ruleId":"D2","level":"warning","message":{"text":"AckMessageProcessor.appendAckNew (cognitive 24): AckMessageProcessor.appendAckNew has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a8a461df3bedf9ca41ed615da4f2ca984c7f5f5046e583a83ff5be08218f80"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.resetOffsetInner (cognitive 24): AdminBrokerProcessor.resetOffsetInner has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 3 (4 pts), boolean chains 3, 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bab9a0b08a80a7a5b0bbb90754de39532e5112439dbcaa3a3ea728b3b609b61"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.updateAndCreateTopicList (cognitive 24): AdminBrokerProcessor.updateAndCreateTopicList has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 pts), boolean chains 2, error handling 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"619b8bce0c01e1fa28a43a15314584824fb50a6d2763d7c912b725f90ee4f9f8"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientManageProcessor.heartBeatV2 (cognitive 24): ClientManageProcessor.heartBeatV2 has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (4 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e653c1406a6c5063c3e5b43110aca431a3ba2224b02614a826c912255ac342"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerManageProcessor.rewriteRequestForStaticTopic (cognitive 24): ConsumerManageProcessor.rewriteRequestForStaticTopic has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 1, error handling 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/ConsumerManageProcessor.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b4a3ae420e86dbbbf44e73cc6722fb152151a54d47ad86afc6a54c8ded98aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyAdminGrpcService.queryMessage (cognitive 24): ProxyAdminGrpcService.queryMessage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 4 (5 pts), loops 2 (3 pts), boolean chains 1, error handling 1, match/switch 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06dfd821e01f996648fdd723950af8bcf98188b65226b62775b6df8f9e24ada"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingUtils.checkAndBuildMappingItems (cognitive 24): TopicQueueMappingUtils.checkAndBuildMappingItems has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (5 pts) (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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"228c0f688d10484d8f07a33035b26160b758277533f376250a7bbfd7ae0b8b6a"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingUtils.checkLogicQueueMappingItemOffset (cognitive 24): TopicQueueMappingUtils.checkLogicQueueMappingItemOffset has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 6, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c29491830e6058fe3ba45f127184b70107d5af2df8a5417928a57025aab47f"}},{"ruleId":"D2","level":"warning","message":{"text":"AcceptSocketService.run (cognitive 24): AcceptSocketService.run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (12 pts), error handling 2 (8 pts), loops 2 (4 pts) (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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"656a63ceb06f6bcf3980320308a8ab3ac2353f5e1b6887397ffcb61e249b4074"}},{"ruleId":"D2","level":"warning","message":{"text":"AdaptiveBackOffSpinLockImpl.swap (cognitive 24): AdaptiveBackOffSpinLockImpl.swap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (18 pts), error handling 1 (3 pts), loops 1 (3 pts) (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":"store/src/main/java/org/apache/rocketmq/store/lock/AdaptiveBackOffSpinLockImpl.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e5d3cc337318c680277dc410d8b19949efdf89e3971d5bdc38f55d77aa6dce"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultAppendMessageCallback.doAppend (cognitive 24): DefaultAppendMessageCallback.doAppend has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 2 (5 pts), ternaries 2, boolean chains 1, match/switch 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46309984fc3f8f5d2a7c89eaca398c902bf3342801b39dfdf62bfd374788492"}},{"ruleId":"D2","level":"warning","message":{"text":"MappedFileQueue.findMappedFileByOffset (cognitive 24): MappedFileQueue.findMappedFileByOffset has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, error handling 2 (4 pts), loops 1 (3 pts) (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":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b23ebf8968ff5d0a0338c23efdf9af206fc49b01cb2e9319e21d9501fd9b56"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMessageFile.getQueueOffsetByTimeAsync (cognitive 24): FlatMessageFile.getQueueOffsetByTimeAsync has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 3 (4 pts), boolean chains 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/FlatMessageFile.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1987906f3944946355663a8ff515730b3090b8359f1882aceb5385389e0b89de"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.getConsumeStats (cognitive 23): AdminBrokerProcessor.getConsumeStats has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (3 pts), error handling 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a59e05907a618951b6708e090c9de96a1f238d1ea739a08a9a024d7bccd7e2"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionalMessageServiceImpl.batchSendOpMessage (cognitive 23): TransactionalMessageServiceImpl.batchSendOpMessage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, loops 2 (3 pts), error handling 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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e03802388771c54ac5fac4dc0e82282a761def9982e1a61a48a0de82636bd69"}},{"ruleId":"D2","level":"warning","message":{"text":"MixAll.object2Properties (cognitive 23): MixAll.object2Properties has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (14 pts), error handling 1 (5 pts), loops 2 (3 pts), 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":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"42818aaf779ac5f996afeb2302184de5bb8798d5494f168f5ef39ab195386f96"}},{"ruleId":"D2","level":"warning","message":{"text":"ControllerEventHandler.run (cognitive 23): ControllerEventHandler.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, loops 1 (2 pts) (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":"controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerController.java"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c8c8fc869fde70cd9be06cd7a337d3b9176745c14e42d72e207a500e1d2f06"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicRouteData.equals (cognitive 23): TopicRouteData.equals has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (23 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/route/TopicRouteData.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab075a7e475e571440b403b6deee127ea83599652f4b2ad9dfbe6cd37d436b6"}},{"ruleId":"D2","level":"warning","message":{"text":"WriteSocketService.transferData (cognitive 23): WriteSocketService.transferData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 2 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88a2c68aaf12ebda067598958df3f38fbe45328f56f11bb217036359d450f50"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMappedFile.appendMessagesInner (cognitive 23): DefaultMappedFile.appendMessagesInner has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 1 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dbdceaadec7b6dd8834414ef8902641a36f161b836b3b6839885de7e252e71"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchConsumeQueue.recover (cognitive 23): BatchConsumeQueue.recover has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (5 pts), boolean chains 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe2f9e1678633bebd85266aad361fc4d401bd6c6a12296dc945c5bd9d36a08a"}},{"ruleId":"D2","level":"warning","message":{"text":"SparseConsumeQueue.recover (cognitive 23): SparseConsumeQueue.recover has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (5 pts), 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":"store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7d60ac4636b11aaa7c5893b621cc88c044a8abfdbc5c10384cd13d65736feb"}},{"ruleId":"D2","level":"warning","message":{"text":"TransMessageRocksDBStore.buildTransIndex (cognitive 23): TransMessageRocksDBStore.buildTransIndex has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"110a38cdc9bc5821183f1cdef1bb42c020df70cc536b3cdcf0146c0596e1070c"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupCommitService.doCommit (cognitive 23): GroupCommitService.doCommit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 1 (5 pts), loops 2 (5 pts), ternaries 1 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c27544eb5fc34a2bd263a6b9ea811674b8a1d948583f282efffd13c3f88821"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageStore.queryMessage (cognitive 23): DefaultMessageStore.queryMessage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 1 (3 pts), loops 2 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8c5504cfaa5c0f772d3020045b7eb68ee5506bb1bc039a7c0c39c4593d460f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProducerManager.registerProducer (cognitive 22): ProducerManager.registerProducer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2, ternaries 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0e6373289cdba636e9d56af202e161dd167365cd3ce8aca456dcf60e89c91b"}},{"ruleId":"D2","level":"warning","message":{"text":"PopBufferMergeService.scanCommitOffset (cognitive 22): PopBufferMergeService.scanCommitOffset has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, loops 2 (3 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec59898ce4e7257156138ec2db1043a347830dde653d5c00db5993a5b5688257"}},{"ruleId":"D2","level":"warning","message":{"text":"DeliverDelayedMessageTimerTask.executeOnTimeUp (cognitive 22): DeliverDelayedMessageTimerTask.executeOnTimeUp has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 1, error handling 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":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2595e6a611a2a5a00f15f13dc3fcbfa91c7fe14fa71e641ab48a17c98d0ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeRequest.run (cognitive 22): ConsumeRequest.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"119542da6a00d763a32becf264f94ed8f2e7212d615fb54753a52023c36a9c94"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessQueue.cleanExpiredMsg (cognitive 22): ProcessQueue.cleanExpiredMsg has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 4 (9 pts), boolean chains 2, 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ProcessQueue.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01b36e6468ed9ce190a800c39de5a2bd2bc86b38708c3a44b625985debe96f8"}},{"ruleId":"D2","level":"warning","message":{"text":"RebalanceImpl.doRebalance (cognitive 22): RebalanceImpl.doRebalance has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), error handling 1 (3 pts), loops 1 (2 pts) (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1b85bf81f0b85c3713ed29ccd014bd8bdc2fe42bab87c98a4bf6b67597ac16"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.checkClientInBroker (cognitive 22): MQClientInstance.checkClientInBroker has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 1 (4 pts), loops 2 (3 pts), 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad82bbd46d8265310e3735d4ccc1ad692c18ebbdffc0580925af448bb2cba05"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceDataEncoder.decoderFromTraceDataString (cognitive 22): TraceDataEncoder.decoderFromTraceDataString has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), 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":"client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4434dad29ce1315a14cf2fa18638c71dc57217ef0c865dca9f220bebf575cb17"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteInfoManager.cleanTopicByUnRegisterRequests (cognitive 22): RouteInfoManager.cleanTopicByUnRegisterRequests has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 3 (5 pts) (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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"121eeed15b3b700a376ed5fa28da31de29c4ce982464861456849b823c45e3f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyAdminGrpcService.buildListSubscriptionResponse (cognitive 22): ProxyAdminGrpcService.buildListSubscriptionResponse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 2 (6 pts), boolean chains 4, loops 3 (4 pts) (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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9419bce693fa8ac14dddf27584f5a62cd0dd3bf182cb61642117bd6c58b408f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyAdminGrpcService.deleteSubscription (cognitive 22): ProxyAdminGrpcService.deleteSubscription has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, loops 3, ternaries 2, error handling 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, 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13071e1d529996635231805040166843812ec3b5ab813dfb41ee05fd1ea8832"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteActivity.queryAssignment (cognitive 22): RouteActivity.queryAssignment has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (6 pts), 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce80b6d5d806f2a49a06c5b358ed0a3bb8da8e8aec1b56cb9208f0ce18eacce7"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingUtils.remappingStaticTopic (cognitive 22): TopicQueueMappingUtils.remappingStaticTopic has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 7 (8 pts) (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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf532a35f81cec36e6f1a2c9278e84591d269ad3d0ced224747e0153ef6ea26"}},{"ruleId":"D2","level":"warning","message":{"text":"RemotingCommand.makeCustomHeaderToNet (cognitive 22): RemotingCommand.makeCustomHeaderToNet has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (15 pts), error handling 1 (5 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"7965ee3e5b281d7c0f9b2e58d52be5776fc62f2b895afb3811080d4555e0500a"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexService.queryOffset (cognitive 22): IndexService.queryOffset has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 1 (2 pts), 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":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd5f8f1746dc1cb6eb70d2b353dd6b223798c8bc949a9e146003bfda7d73cc5"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageStore.queryMessage (cognitive 22): DefaultMessageStore.queryMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 1 (3 pts), loops 2 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"30eca8e3a26eb4243f42895995c96add6a4f0795d35332cc80995b6062633f43"}},{"ruleId":"D2","level":"warning","message":{"text":"TieredStoreMetricsManager.init (cognitive 22): TieredStoreMetricsManager.init has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 3 (5 pts), boolean chains 3, loops 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d53a186244be732c796e5ed3b6e149bf828bdc880ff58a47763045a6d7fe050"}},{"ruleId":"D2","level":"warning","message":{"text":"Broker2Client.getConsumeStatus (cognitive 21): Broker2Client.getConsumeStatus has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, error handling 1 (3 pts), match/switch 1 (3 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/client/net/Broker2Client.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba2502499c286b39b25a729dca6953ce843e387e1623cf1e3f8b7aef00d3cee"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplicasManager.startBasicService (cognitive 21): ReplicasManager.startBasicService has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 1 (3 pts), loops 1 (2 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"847a46fcea6a6cd1aabc0a193ade530f7f47a351d826f99a1f6a111d709af062"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerFilterManager.clean (cognitive 21): ConsumerFilterManager.clean has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (14 pts), ternaries 1 (4 pts), loops 2 (3 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb4b18181079b62c8bc360ecd0781665a4ed4b8031976465bcff5c376533d41"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.queryConsumeQueue (cognitive 21): AdminBrokerProcessor.queryConsumeQueue has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (19 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2967}}}],"partialFingerprints":{"codehealthFindingId/v1":"863bcc0f5542e5305364ff7eee96575e09a307d8825585b4d4c5ac83e78ff63a"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.rewriteRequestForStaticTopic (cognitive 21): AdminBrokerProcessor.rewriteRequestForStaticTopic has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, error handling 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c0576db32d6600dd91fc98060393ad9bd648d8a2453f5bc84c4640233f1941"}},{"ruleId":"D2","level":"warning","message":{"text":"PopReviveService.run (cognitive 21): PopReviveService.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, error handling 1 (2 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b5264a86e5733a45d9841979c753e658d47766cff0ad01728e080cce0a528a"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionalMessageServiceImpl.fillOpRemoveMap (cognitive 21): TransactionalMessageServiceImpl.fillOpRemoveMap has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (4 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdfa50a3881dcf80a7d6d24c600544722b09f3a84fedbd628551fff4ba4865a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeMessageConcurrentlyService.submitConsumeRequest (cognitive 21): ConsumeMessageConcurrentlyService.submitConsumeRequest has cognitive complexity 21 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 4 (7 pts), error handling 2 (5 pts) (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7f87c276be392b05782ac7ef420e32f425efeac0e977e56f5f90fbe078a873"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeMessagePopConcurrentlyService.submitPopConsumeRequest (cognitive 21): ConsumeMessagePopConcurrentlyService.submitPopConsumeRequest has cognitive complexity 21 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 4 (7 pts), error handling 2 (5 pts) (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4077a38d42c86759d58c48a3fc2b513635fea953bb386aefc182594357335c5"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractOMSProducer.checkProducerException (cognitive 21): AbstractOMSProducer.checkProducerException has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/producer/AbstractOMSProducer.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5427eb88ddf931cfe3fbaa07fa77c4a954211999653d21bb5e8e58e1da34bac"}},{"ruleId":"D2","level":"warning","message":{"text":"GrpcConverter.buildSystemProperties (cognitive 21): GrpcConverter.buildSystemProperties has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 1, ternaries 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcConverter.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba05939fa8fba270b856f3bfff79fdd4441c7c7c9a1a68c3eb05f740a2f9d84"}},{"ruleId":"D2","level":"warning","message":{"text":"RemotingProtocolServer.cleanExpiredRequestInQueue (cognitive 21): RemotingProtocolServer.cleanExpiredRequestInQueue has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 1 (2 pts), 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":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea240edb29086c1f1ebb2ec9ab80a7d87362ebf2b4481ad87fda3a85220a3847"}},{"ruleId":"D2","level":"warning","message":{"text":"HAConnectionStateNotificationService.doWaitConnectionState (cognitive 21): HAConnectionStateNotificationService.doWaitConnectionState has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, loops 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/ha/HAConnectionStateNotificationService.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbf2f18dff11556db625794ca4faf3f0a56e3e10f696a1e9bbfdeef5a881729"}},{"ruleId":"D2","level":"warning","message":{"text":"CorrectLogicOffsetService.needCorrect (cognitive 21): CorrectLogicOffsetService.needCorrect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 pts), 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":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff16c4af9af6a74338b28ffda941dd42e18b6f3833fc1939700a00f17d91778"}},{"ruleId":"D2","level":"warning","message":{"text":"GroupCheckService.doCommit (cognitive 21): GroupCheckService.doCommit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 1 (5 pts), loops 2 (5 pts), ternaries 1 (3 pts) (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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c04e3a2cdba3983e9dfac7668fbfd279b374a33206430e43ce8c975d2d2120"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeQueue.putMessagePositionInfo (cognitive 21): ConsumeQueue.putMessagePositionInfo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), 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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca8aaccdeeb12065ef028cb72939e1b81ae595a40678280cc706a9897ed785f"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeQueue.putMessagePositionInfoWrapper (cognitive 21): ConsumeQueue.putMessagePositionInfoWrapper has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 1 (3 pts), boolean chains 2, 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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd339ee67dea78ec867b552771dff5b25382e95fda7e3d36bc9dbf0815ec723"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexStoreFile.queryAsyncFromSegmentFile (cognitive 21): IndexStoreFile.queryAsyncFromSegmentFile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, ternaries 1 (2 pts), loops 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/index/IndexStoreFile.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fb6b79bce97267d537bc7837b0bfd5610d97a76405091e010fb539d8d4599a"}},{"ruleId":"D2","level":"warning","message":{"text":"RebalanceLockManager.tryLockBatch (cognitive 20): RebalanceLockManager.tryLockBatch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), error handling 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"208cb4fb3c300fee7be2de27fe7281d2364a183a525197b29a97373e9bf757eb"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerManager.registerConsumer (cognitive 20): ConsumerManager.registerConsumer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (5 pts), boolean chains 4, 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":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aab5be52bbf142bcfac1ef4b8d504485bb54c97b2e3042bf000cec3e6f320b"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.deleteTopicList (cognitive 20): AdminBrokerProcessor.deleteTopicList has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (4 pts), ternaries 3, error handling 2, boolean chains 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65e86623d96efdb4002d7d41a9603a72538966677af0ee9f6782a81a147c792"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocateMachineRoomNearby.allocate (cognitive 20): AllocateMachineRoomNearby.allocate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3, 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":"client/src/main/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMachineRoomNearby.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a550ad91267456f4eb777a462fa397c184c82809e7a8a3c2a5adf87c7c15f3"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.unregisterClient (cognitive 20): MQClientInstance.unregisterClient has cognitive complexity 20 (threshold 15). Drivers by points: error handling 3 (12 pts), if/else 2 (5 pts), loops 2 (3 pts) (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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f4300fe5ef68d35b5e8a3af06aaca5da5cc0f17bfd80b8c0a0f8c21fe5c719"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractRocksDBStorage.iterate (cognitive 20): AbstractRocksDBStorage.iterate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 4, 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":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c16cb4a8d26784e25ac5e5c9925a394041f42484ea73a0bc925899ae64136ec"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMessageCache.cleanExpireMsg (cognitive 20): LocalMessageCache.cleanExpireMsg has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (6 pts), loops 2 (3 pts) (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":"openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/LocalMessageCache.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bcc42c25c551240a3c0b6b8dd94a7d203e0d2b90b2258d45b7f059794b33f4"}},{"ruleId":"D2","level":"warning","message":{"text":"PullMessageRequestHeader.decode (cognitive 20): PullMessageRequestHeader.decode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PullMessageRequestHeader.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aad7d07bb949c008e14b9fdb577f8709b09679e289ecfff22f4a7f39cf7cbf1"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingUtils.checkPhysicalQueueConsistence (cognitive 20): TopicQueueMappingUtils.checkPhysicalQueueConsistence has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (6 pts) (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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec797b590019a525c9ddff33cadd7cf573b5e995eee91d9256a54fc5654d84cd"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchConsumeQueue.getBatchMsgIndexBuffer (cognitive 20): BatchConsumeQueue.getBatchMsgIndexBuffer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa3aa89320d07c68413c70c567c9c8c04a1ce66a306613753f35f13ed672d11"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchConsumeQueue.getOffsetInQueueByTime (cognitive 20): BatchConsumeQueue.getOffsetInQueueByTime has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3abce4ec4effdd0019a274d339cdd875610ee5fe55413897d67b661c1fa94b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeQueueStore.loadConsumeQueues (cognitive 20): ConsumeQueueStore.loadConsumeQueues has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), error handling 1 (5 pts) (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":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4becc9e1b79593ac02b3107943a4f1ac0e5d1a1ab73e9448e963a40da981cc8b"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageRocksDBStorage.writeRecordsForTrans (cognitive 20): MessageRocksDBStorage.writeRecordsForTrans has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, error handling 1, 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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"1527c8512d73d1107e82672ea385c37b51177980ab142e2d2770bf8618585e2c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplicasManager.schedulingSyncBrokerMetadata (cognitive 19): ReplicasManager.schedulingSyncBrokerMetadata has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 3 (5 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedb218ea2ffcb4fc36ffab820c728f631b5ff27fa77d575946e925a6c292732"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionMessageFilter.isMatchedByConsumeQueue (cognitive 19): ExpressionMessageFilter.isMatchedByConsumeQueue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, error handling 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionMessageFilter.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c724d9a6e0a9f77408f365b0b96f86e7e406753458c02aa1cf6c1a38b9c509"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteEventDispatcher.selectAndDispatch (cognitive 19): LiteEventDispatcher.selectAndDispatch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (3 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/lite/LiteEventDispatcher.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d4c0b02bc5a1cb9080cd3bbddbe67571e0b55f0bfcbdbe738ba704ed9a8061"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderInfo.getLockFreeTimestamp (cognitive 19): OrderInfo.getLockFreeTimestamp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 2, 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. This shape REPEATS in the file: one other method here (OrderInfo.getMaxLockFreeTimestamp) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"a189630024737dc8605c89efd406e3aae6eb8ab6551be37906daf00bfb4e1102"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderInfo.getMaxLockFreeTimestamp (cognitive 19): OrderInfo.getMaxLockFreeTimestamp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 2, 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. This shape REPEATS in the file: one other method here (OrderInfo.getLockFreeTimestamp) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d8d48fc814ce4c6cfad05f2445b4dee9fe15a7fc39de3dde2580c4bba6eda7"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderInfo.needBlock (cognitive 19): OrderInfo.needBlock has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, 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":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b103625a77db8164ac02472473920dec7b09e9e2a75b6af97761788b955ee2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientManageProcessor.heartBeat (cognitive 19): ClientManageProcessor.heartBeat has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (4 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec91a5e81208feb26bda1f3aefea7dcf1e08ec43480556642102f9dc08a32a67"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationProcessor.hasMsgFromQueue (cognitive 19): NotificationProcessor.hasMsgFromQueue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (3 pts), boolean chains 1, 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"931a33488d4772c05e57cd040c860ee39340e3c646a04257fbbd2c8d7d215808"}},{"ruleId":"D2","level":"warning","message":{"text":"PopReviveService.mergeAndRevive (cognitive 19): PopReviveService.mergeAndRevive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"34da725b495413da0a7a3d033f50053f2cb9714edd4650b7adcf1761ad2d221e"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerController.recoverAndInitService (cognitive 19): BrokerController.recoverAndInitService has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, error handling 1 (3 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"22501e2c94bf88f1cb49651bf0ec37107e56f089468651c9f87ca1ec4363edbc"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerStartup.buildBrokerController (cognitive 19): BrokerStartup.buildBrokerController has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (2 pts), match/switch 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee0449b96e009df72c6cd57c0ef8ec2d7776478cc269d2a82d6dfd6ac018418"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeMessageConcurrentlyService.processConsumeResult (cognitive 19): ConsumeMessageConcurrentlyService.processConsumeResult has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), match/switch 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8452db4199fce2a8bf6c15589b5f1f5dbe5059b90245fe07d15396914b4e72"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeRequest.run (cognitive 19): ConsumeRequest.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (15 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"34020f7f42d3a7ddf659007e5b03c89b5b1c2c54fe3f50dcd9dcf4fb0420fb92"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessQueue.removeMessage (cognitive 19): ProcessQueue.removeMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 1 (4 pts), loops 1 (2 pts), error handling 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ProcessQueue.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9742d05608974cf9f91ec95c004ec969738494fa8365b4735c64bc3ad8aed1"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQProducerImpl.sendMessageInTransaction (cognitive 19): DefaultMQProducerImpl.sendMessageInTransaction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 3 (4 pts), boolean chains 2, match/switch 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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdbfefaadf3e55681daab0fadbb65c1ff54871331cd366a06454624e60f16fb"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkUtil.getLocalInetAddress (cognitive 19): NetworkUtil.getLocalInetAddress has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (5 pts), 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":"common/src/main/java/org/apache/rocketmq/common/utils/NetworkUtil.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"af24dfc87b06f63c8038990c58be577a3fd512b962bd38c6308f694bdeaa97ad"}},{"ruleId":"D2","level":"warning","message":{"text":"RoleChangeHandler.handle (cognitive 19): RoleChangeHandler.handle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), error handling 1 (3 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 12). 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":"controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerController.java"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ba6782f96732eb96668ce0a2e6c066c927c115fe0e67e5c48e46b3b39556f7"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminModelConverter.toConsumerRunningInfo (cognitive 19): AdminModelConverter.toConsumerRunningInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (8 pts) (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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/AdminModelConverter.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faec6b71f5bf8d65d08c70690e123ebdd0b4b3e845ba02f65594aef5d74e49b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyAdminGrpcService.buildAdminMessage (cognitive 19): ProxyAdminGrpcService.buildAdminMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, loops 2 (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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"68de0edeca5724d9e5bad73529f1a4a7ea65e3c23c81a24a734730298563dee3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyAdminGrpcService.verifyMessage (cognitive 19): ProxyAdminGrpcService.verifyMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (5 pts), boolean chains 3, error handling 1, loops 1 (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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad128d0ecc1e3e73140723dfac1b1bde2a0f0e4b2876448f117c617ca46901ff"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultAdminService.createTopicOnBroker (cognitive 19): DefaultAdminService.createTopicOnBroker has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (5 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/admin/DefaultAdminService.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f971098551d53b18e2af09305c546e63e5ceb08e9be009ab75964bf6e5b77c9"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyRemotingClient.closeChannel (cognitive 19): NettyRemotingClient.closeChannel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (3 pts), loops 1 (2 pts), 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c4a8f017736b98fe0e7f5ad72019862437efceb874d622094176b039f77c39"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerRunningInfo.analyzeProcessQueue (cognitive 19): ConsumerRunningInfo.analyzeProcessQueue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 1 (2 pts) (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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ConsumerRunningInfo.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4de48ebb5a0611d351ac0e6b09e9f8a352340ace297b7a31d3d5e8e7abb1da"}},{"ruleId":"D2","level":"warning","message":{"text":"DLedgerCommitLog.asyncPutMessages (cognitive 19): DLedgerCommitLog.asyncPutMessages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 1, error handling 1, loops 1, match/switch 1, ternaries 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, 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":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"480c4bf5b74dcc55f247ec784761e003bd4911b97672f05a03b9ca295c1e749c"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultHAClient.dispatchReadRequest (cognitive 19): DefaultHAClient.dispatchReadRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (18 pts), 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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"214ca1df23eeda92d7e94e71fd9c1c6ccb24762c88995cf34b825461f6797d4a"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanConsumeQueueService.deleteExpiredFiles (cognitive 19): CleanConsumeQueueService.deleteExpiredFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 1 (5 pts), loops 2 (5 pts), 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":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b6870fa350692e3487360e822ca3e90675e2d9df47c169ae1ca1fb6a40ded9"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageRocksDBStorage.writeRecordsForIndex (cognitive 19): MessageRocksDBStorage.writeRecordsForIndex has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, error handling 2 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6448f56f37a8148111fde4b4a2ca20c886148c21cd37362d023c9632087610"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageRocksDBStorage.writeRecordsForTimer (cognitive 19): MessageRocksDBStorage.writeRecordsForTimer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (3 pts), boolean chains 2, 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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c91f60ab81f3fdafa42f49b7ce89eb68dc467360e09a42fdb266c680f969a62"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageRocksDBStore.doPut (cognitive 19): TimerMessageRocksDBStore.doPut has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 1 (2 pts), 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":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e713b806ef9a37aa16db8899205bf08d8b330a38a04af72ad4c37ae4da0aa8b"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerSysTopicScanService.scanSysTimerTopic (cognitive 19): TimerSysTopicScanService.scanSysTimerTopic has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 2 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"10646385eb849240c3750db9a8710b7821429edaf47a679e7cfd5da77260a631"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.doPut (cognitive 19): TimerMessageStore.doPut has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, match/switch 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c12f4d7f546b43b5212b1f59a71fbf89005ca73c99487d6ae8bd0481a9bfd4"}},{"ruleId":"D2","level":"warning","message":{"text":"Ticks.run (cognitive 19): Ticks.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 2 (5 pts), loops 3 (5 pts), 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":"store/src/main/java/org/apache/rocketmq/store/util/PerfCounter.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"493e9f7b3f37379e4ae3786f9bcd5b3f2ac61838a4980b388248f4fc19d86c9f"}},{"ruleId":"D2","level":"warning","message":{"text":"CommitLogInputStream.read (cognitive 19): CommitLogInputStream.read has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 2 (4 pts), boolean chains 2 (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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/stream/CommitLogInputStream.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e71b1fbf3cf57ba4e6bc0035b9f6a6a2f71443e74d63f7f877fefb62af29b8"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageFormatUtil.splitMessageBuffer (cognitive 19): MessageFormatUtil.splitMessageBuffer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (4 pts), boolean chains 3, 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/util/MessageFormatUtil.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abb0b59ba2b43451ddc8dad11fba26d430417e404c040d90ba28f5e91c5cfa8"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingManager.updateTopicQueueMapping (cognitive 18): TopicQueueMappingManager.updateTopicQueueMapping has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1, loops 1 (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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingManager.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"769d68f600a97657c47b508eeb271a32bdd77bfe83cfe05b9c6ee95ff30326ed"}},{"ruleId":"D2","level":"warning","message":{"text":"1.run (cognitive 18): 1.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (2 pts), boolean chains 1, error handling 1, match/switch 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":"broker/src/main/java/org/apache/rocketmq/broker/dledger/DLedgerRoleChangeHandler.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfa86ff61de33c2513d23a43c2cd61ffcc1e3a0874529f08e6988eca408e73a"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteEventDispatcher.doFullDispatchForClient (cognitive 18): LiteEventDispatcher.doFullDispatchForClient has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (5 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/lite/LiteEventDispatcher.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59ada6ba1124e0fccd144b8a9709b9634aa4fe56a32d6baaaac36275ea808da"}},{"ruleId":"D2","level":"warning","message":{"text":"PopLongPollingService.cleanUnusedResource (cognitive 18): PopLongPollingService.cleanUnusedResource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"90087c8749080d9cf3f6c9c4e0b9f550d9d888be435bb165dcf3352d863a241a"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchSplittingMetricExporter.splitIntoBatches (cognitive 18): BatchSplittingMetricExporter.splitIntoBatches has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BatchSplittingMetricExporter.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f28c2127f0b1457307cee92822272b0cae21fe0b7bc5325129154020cca17e6"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerOuterAPI.getAllSubscriptionGroupConfig (cognitive 18): BrokerOuterAPI.getAllSubscriptionGroupConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (17 pts), 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. This shape REPEATS in the file: one other method here (BrokerOuterAPI.getAllTopicConfig) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ab0d752419916d1aec509d93d24cb97c4f542ba0c89243197f45acfeb7b33f"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerOuterAPI.getAllTopicConfig (cognitive 18): BrokerOuterAPI.getAllTopicConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (17 pts), 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. This shape REPEATS in the file: one other method here (BrokerOuterAPI.getAllSubscriptionGroupConfig) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"04295c8d25f3424716a52d82e904da8cef78a1f34bbd0b868f9d31bddc224a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerOuterAPI.processSendResponse (cognitive 18): BrokerOuterAPI.processSendResponse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 1 (4 pts), loops 1 (3 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"942f7dd260c44a0ce3543292a930c90e313d59a728d8b5565ebde589eb659962"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueLevelConsumerManager.autoClean (cognitive 18): QueueLevelConsumerManager.autoClean has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"314523a065af290ee98110f097444f0135d7bab848269d6780562d93cb0e9ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"SendMessageProcessor.handleRetryAndDLQ (cognitive 18): SendMessageProcessor.handleRetryAndDLQ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, ternaries 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1c77d3202e47d8c4c370a11bb4b4a57a3e62de1ceb8265a884776363b606bd"}},{"ruleId":"D2","level":"warning","message":{"text":"SendMessageProcessor.sendBatchMessage (cognitive 18): SendMessageProcessor.sendBatchMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2, ternaries 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, 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"8534b96ee2207b8271ab342d3b95a1ca8ea086a83afe3bd30a0f44d79385098a"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalFileOffsetStore.readOffset (cognitive 18): LocalFileOffsetStore.readOffset has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 1 (3 pts), match/switch 1 (2 pts), 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":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1263a41cb17d7fe13cb98368cf5e4915d4e1624ca16f096adc86a349b4aa8c5"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQPushConsumerImpl.start (cognitive 18): DefaultMQPushConsumerImpl.start has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (4 pts), 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdfe66b06f05330bdeecd59fb6e34609059b72138c2134442b4dba7dd31c969"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.sendHeartbeatToBrokerV2 (cognitive 18): MQClientInstance.sendHeartbeatToBrokerV2 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9d76badd294fc0ddddd551e5bdf8e876627bdc61bc6abe827c78dee69ee1d9"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientAPIImpl.getAllSubscriptionGroup (cognitive 18): MQClientAPIImpl.getAllSubscriptionGroup has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (17 pts), 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. This shape REPEATS in the file: one other method here (MQClientAPIImpl.getAllTopicConfig) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2972}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b5b47070c8b2ae637f38f567f16b3a5f5570fed26ed5b431a30e52d9aa7908"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientAPIImpl.getAllTopicConfig (cognitive 18): MQClientAPIImpl.getAllTopicConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (17 pts), 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. This shape REPEATS in the file: one other method here (MQClientAPIImpl.getAllSubscriptionGroup) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1d4de5fb524480ff7678240d89b3483f3437abdee81ebb36c34d4000f6d66d"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeUtil.alterCurrentAttributes (cognitive 18): AttributeUtil.alterCurrentAttributes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), 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":"common/src/main/java/org/apache/rocketmq/common/attribute/AttributeUtil.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"445585374f42eadadf6d32ec54a032c3d9843bbbb58fa175657afc66e1de25a0"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractRocksDBStorage.shutdown (cognitive 18): AbstractRocksDBStorage.shutdown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, error handling 4 (6 pts), boolean chains 1, loops 1 (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":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29350d3c9af9f2a01c8da3c7421a88a036940e466e73865e1a050c31f2cc471"}},{"ruleId":"D2","level":"warning","message":{"text":"ProducerProcessor.sendMessage (cognitive 18): ProducerProcessor.sendMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 2, 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":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ProducerProcessor.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"93719698d6d23f34c003f819d76edc90d3c8dfc2a7b1d9cc426a6b3934b70e8b"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingUtils.findNext (cognitive 18): TopicQueueMappingUtils.findNext has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"8291653fcc93869ead347db30d9d6017becf4039f0a8a0b1dddab7b0f7ef342f"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadSocketService.processReadEvent (cognitive 18): ReadSocketService.processReadEvent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 1 (2 pts), 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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a832ff94a39148a12c04b0a8e0b94f48313d673b9c52074031b0a492bc17dcdf"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchConsumeQueue.putBatchMessagePositionInfo (cognitive 18): BatchConsumeQueue.putBatchMessagePositionInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6dd806c78a064bdcfc46caebe8e15e33b6e22c5d086f853890ca4338cca4f5"}},{"ruleId":"D2","level":"warning","message":{"text":"RocksDBConsumeQueueTable.binarySearchInCQ (cognitive 18): RocksDBConsumeQueueTable.binarySearchInCQ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), 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":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueTable.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"221f11023c16006c190eaffa9c7a943e69178198e4766d0a8e1427757c6b3302"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageRocksDBStorage.scanRecordsForTrans (cognitive 18): MessageRocksDBStorage.scanRecordsForTrans has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, error handling 2 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5cd060057d5f848d1effb5a559cf2d39eba5055481d018d79cf33b5670e4e6"}},{"ruleId":"D2","level":"warning","message":{"text":"FlushRealTimeService.run (cognitive 18): FlushRealTimeService.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 1 (2 pts), loops 2, ternaries 1 (2 pts), 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5805d7a5b45e23cdce205f4f6441eeef603874e0b1c69c7fed1364bd396547"}},{"ruleId":"D2","level":"warning","message":{"text":"TieredMessageStore.getMessageAsync (cognitive 18): TieredMessageStore.getMessageAsync has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, ternaries 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, 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"815de4b9ea7d9569a0987b540d2a4d5a1aa0db771a36745039d999edda2fdf42"}},{"ruleId":"D2","level":"warning","message":{"text":"merge_rocketmq_pr.main (cognitive 18): merge_rocketmq_pr.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2, loops 1 (nesting depth added 3). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/merge_rocketmq_pr.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fede3c696c42d476e56e909e652d3f54755fab0077950cb74844b68d53cbf8"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteManagerProcessor.getLiteClientInfo (cognitive 17): LiteManagerProcessor.getLiteClientInfo has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 1 (3 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/LiteManagerProcessor.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"90022fbcc50db8db6a3f8cf4a70130e47a9ec8d12e4859bb370ff1afd2c1df33"}},{"ruleId":"D2","level":"warning","message":{"text":"PullMessageProcessor.composeResponseHeader (cognitive 17): PullMessageProcessor.composeResponseHeader has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, match/switch 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10a2439210a98b5f021f12cb1cdf4856e03f991211f87a851673715b0c9488a"}},{"ruleId":"D2","level":"warning","message":{"text":"HookUtils.handleScheduleMessage (cognitive 17): HookUtils.handleScheduleMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/util/HookUtils.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"19319ee400561c5586dbd2dff60c07261c3953a9a6ac2736f635a6688f85a3c7"}},{"ruleId":"D2","level":"warning","message":{"text":"1.onSuccess (cognitive 17): 1.onSuccess has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, match/switch 1 (2 pts) (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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cde11959cc7ad5ce62686857f8fdfb7537fe60c5c5ef0208cada9987d3bae75"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.cleanOfflineBroker (cognitive 17): MQClientInstance.cleanOfflineBroker has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 pts), 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c883a713351f7e176cfa70459c8d8848c146a89a9eaa10df39d1814055203b"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.resetOffset (cognitive 17): MQClientInstance.resetOffset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 2 (5 pts), boolean chains 2, loops 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e37b23cf58b2d3a29b9b652d4d4075e5bc3712f57253773108557825a663dd7"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageBatch.generateFromList (cognitive 17): MessageBatch.generateFromList has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, 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":"common/src/main/java/org/apache/rocketmq/common/message/MessageBatch.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0944a4fcf92a265b293c4dbdc37df373043b21307376a3a0fa2f12b7e863034f"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultTopAddressing.fetchNSAddr (cognitive 17): DefaultTopAddressing.fetchNSAddr has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 1 (2 pts), boolean chains 1, error handling 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":"common/src/main/java/org/apache/rocketmq/common/namesrv/DefaultTopAddressing.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"26413128110e06a658cd9d57eeef808c6e4a02496bdd7eedbf78952d146edaca"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplicasInfoManager.cleanBrokerData (cognitive 17): ReplicasInfoManager.cleanBrokerData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 1 (3 pts), loops 1 (3 pts), 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":"controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"826f6b744201210d267ef4861351d0300e0c28b453f876c9c401fc60adf21dbd"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyAdminGrpcService.queryTimeSpan (cognitive 17): ProxyAdminGrpcService.queryTimeSpan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4, error handling 2 (3 pts), 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4dd4cf6ff05e4be5156bd4c5bb142ad4036a9ff162ef0bf4a5c6958218e8fc"}},{"ruleId":"D2","level":"warning","message":{"text":"SendMessageActivity.buildMessageProperty (cognitive 17): SendMessageActivity.buildMessageProperty has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/producer/SendMessageActivity.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1bf9e0e5a04a23976cbefbc31e100bdca569a4beb04f3f9dec284be8f6d2d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterTransactionService.scanProducerHeartBeat (cognitive 17): ClusterTransactionService.scanProducerHeartBeat has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3, ternaries 1 (2 pts) (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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/transaction/ClusterTransactionService.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62eef68d830285c60662c2689eaa9c828ea88189f0ff42266f385e018fb1e15"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyRemotingClient.getAndCreateNameserverChannelAsync (cognitive 17): NettyRemotingClient.getAndCreateNameserverChannelAsync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, error handling 1 (2 pts) (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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c9aaf0f85a5257f7df0e55a1021f73f31bbc0bce237b13599d13beae31446c"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingUtils.makeSureLogicQueueMappingItemImmutable (cognitive 17): TopicQueueMappingUtils.makeSureLogicQueueMappingItemImmutable has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d56d1e12b2d64799916adf7674bfbcb57cc66b2cb28605e41fcc65bb2a07c7c"}},{"ruleId":"D2","level":"warning","message":{"text":"CompactionLog.getOffsetMap (cognitive 17): CompactionLog.getOffsetMap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), error handling 1 (3 pts), loops 2 (3 pts) (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":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"87464226a945619f024444e370d0ca81ba8baa116e15c4ae468e30ff5033ac3d"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMappedFile.flush (cognitive 17): DefaultMappedFile.flush has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59b7cd63c7df62de5c0a3c9ce0d6499a3ed6b767efb814b0ec01e92e185d6cd"}},{"ruleId":"D2","level":"warning","message":{"text":"CombineConsumeQueueStore.isMappedFileMatchedRecover (cognitive 17): CombineConsumeQueueStore.isMappedFileMatchedRecover has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), 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":"store/src/main/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStore.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e0ad6336a0fb973bb37cfdbb77f802b913e24c183da339e40af2f2f0fa1876"}},{"ruleId":"D2","level":"warning","message":{"text":"Timeline.scanRecordsToQueue (cognitive 17): Timeline.scanRecordsToQueue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"872b895eace9c8c66443e55ecba89e42fae6f2bd59377eab802ed89a1c99cdeb"}},{"ruleId":"D2","level":"warning","message":{"text":"MappedFileQueue.deleteExpiredFileByOffset (cognitive 17): MappedFileQueue.deleteExpiredFileByOffset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 1 (2 pts), 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":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"692c014817f9b07fc50361b0c762991f1d3144cac593307c414ca96021002158"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreStatsService.setPutMessageEntireTimeMax (cognitive 17): StoreStatsService.setPutMessageEntireTimeMax has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, ternaries 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"17aca51ecc095aa9905d6e3e420dce5fd0fb075cce609e2918ca26b265a123a1"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexStoreService.recover (cognitive 17): IndexStoreService.recover has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 1 (3 pts), loops 2 (3 pts), 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/index/IndexStoreService.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d60c5814f02e5ba3be521c2898b371e7badffbb482280716914a467cd187c2"}},{"ruleId":"D2","level":"warning","message":{"text":"AclAuthorizationHandler.comparePolicyEntries (cognitive 16): AclAuthorizationHandler.comparePolicyEntries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 1 (2 pts) (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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/chain/AclAuthorizationHandler.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f73afa43ffe075bf7095a6df79e1e20cd6035c92322e5a3e137312b68abc3bf"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorizationMetadataManagerImpl.validate (cognitive 16): AuthorizationMetadataManagerImpl.validate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 1 (2 pts), boolean chains 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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba332f83c9803dec04cc495e635361cf0a81c350341c8f3e1001041cfb4a048"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainPermissionManager.getAllAclConfig (cognitive 16): PlainPermissionManager.getAllAclConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), 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":"auth/src/main/java/org/apache/rocketmq/auth/migration/v1/PlainPermissionManager.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6767208172e6d76faf25ddf6b2c17a1f53fb80ed1955e2f504217569fb13bd8b"}},{"ruleId":"D2","level":"warning","message":{"text":"AclConverter.convertAcl (cognitive 16): AclConverter.convertAcl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/auth/converter/AclConverter.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71533437250833154e605a3b90962afb3b8cb78a53d583d73678fd60be0c7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"RocksDBSubscriptionGroupManager.migrateFromSeparateRocksDBs (cognitive 16): RocksDBSubscriptionGroupManager.migrateFromSeparateRocksDBs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 3 (6 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c15f2d8e480267de393d5864d424117302b7cb048265e7a22620f1e249fb34"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicRouteInfoManager.updateTopicRouteInfoFromNameServer (cognitive 16): TopicRouteInfoManager.updateTopicRouteInfoFromNameServer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 3 (5 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicRouteInfoManager.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e48e17a4ef0ab4bb01181c1474f84b6c2ed5041c3b0c634279880dc40191c0"}},{"ruleId":"D2","level":"warning","message":{"text":"PopLiteLongPollingService.polling (cognitive 16): PopLiteLongPollingService.polling has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd75269a1fff83f87627c55943654b73b1f8ab4d90afacfd87221ea9e196d413"}},{"ruleId":"D2","level":"warning","message":{"text":"PopConsumerService.handleGetMessageResult (cognitive 16): PopConsumerService.handleGetMessageResult has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"388f9d2631c695679e348bb7dd52d01f6cbfa2327dff1d5b49b75c33f902bc9a"}},{"ruleId":"D2","level":"warning","message":{"text":"AckMessageProcessor.ackLite (cognitive 16): AckMessageProcessor.ackLite has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 1, 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"0709c781f2b4919eca9b0aeb050fde92ab066418a2be3e2b6611944bb843efbc"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.switchTimerEngine (cognitive 16): AdminBrokerProcessor.switchTimerEngine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, error handling 1 (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3656}}}],"partialFingerprints":{"codehealthFindingId/v1":"284d3d2545b5fd229c7c92789a886372a83c50edd8ab25f7beb8a6c7c56f1721"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.updateBrokerConfig (cognitive 16): AdminBrokerProcessor.updateBrokerConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 1 (4 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"272d51104a847f1bab11fc3a764b1de16f0481570ff2f9abb4c107b9ec98d447"}},{"ruleId":"D2","level":"warning","message":{"text":"PopBufferMergeService.run (cognitive 16): PopBufferMergeService.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 2 (3 pts), loops 2 (3 pts), boolean chains 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"564bc7dbe32b4c06584bc8677e1a7a10d7e00dd3daa7ce6b756fdba078fd05a1"}},{"ruleId":"D2","level":"warning","message":{"text":"PopLiteMessageProcessor.popByClientId (cognitive 16): PopLiteMessageProcessor.popByClientId has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, loops 2 (3 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopLiteMessageProcessor.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf116d3acdfb18fd5dc561b23647af322e55d4a1723ff507a95a1db2aa935188"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleMessageService.start (cognitive 16): ScheduleMessageService.start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (2 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc2af1811d9834fa484d4977d3c3b470b57cbd3900782875955fee227ac86c5"}},{"ruleId":"D2","level":"warning","message":{"text":"SlaveSynchronize.syncTopicConfig (cognitive 16): SlaveSynchronize.syncTopicConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (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":"broker/src/main/java/org/apache/rocketmq/broker/slave/SlaveSynchronize.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff4eb8e80dcc7d6a176d903966a4c38723cf4b81906274019c13fe84a4560e6"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionalMessageRocksDBService.checkTransRecordsStatus (cognitive 16): TransactionalMessageRocksDBService.checkTransRecordsStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (3 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d873cd9c4ad12a2775be05e31b817bf0a057953200ce5f8e6899cea261db2c64"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteBrokerOffsetStore.persistAll (cognitive 16): RemoteBrokerOffsetStore.persistAll has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 1 (4 pts), loops 2 (3 pts), 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":"client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9a896e1c806de3358445314f86e0f198f5e33a34ba4d9a6b593fbb6a55e0ce"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.sendHeartbeatToAllBrokerV2 (cognitive 16): MQClientInstance.sendHeartbeatToAllBrokerV2 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7d579d7b126276a85e7d5d935dacba25f505f94796a01644cb24a0bb28b31c"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultJoranConfiguratorExt.findConfigFileURLFromSystemProperties (cognitive 16): DefaultJoranConfiguratorExt.findConfigFileURLFromSystemProperties has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (6 pts), 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":"common/src/main/java/org/apache/rocketmq/common/logging/DefaultJoranConfiguratorExt.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b74d16d21d7510351a184f751111435f12186f858618f5e1726e107ddb6a87"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerContainerStartup.parseCmdLineToConfig (cognitive 16): BrokerContainerStartup.parseCmdLineToConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 3). 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":"container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5f5dd5e6969be43bb67e4e6a8a866d88db86bf0634c92e90e71a441cfff15f"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultElectPolicy.tryElect (cognitive 16): DefaultElectPolicy.tryElect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 1 (3 pts), boolean chains 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":"controller/src/main/java/org/apache/rocketmq/controller/elect/impl/DefaultElectPolicy.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b30c42f5a17812204c64ecd3d6639b724fd73878c534b5bbcfc4327f39d6bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiveMessageResponseStreamWriter.writeAndComplete (cognitive 16): ReceiveMessageResponseStreamWriter.writeAndComplete has cognitive complexity 16 (threshold 15). Drivers by points: error handling 3 (8 pts), if/else 3 (4 pts), loops 1 (3 pts), 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/ReceiveMessageResponseStreamWriter.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5144e2a7e4d8d4c32fae07d26b7629e71e7f84f39defeeb37f0a408917bc9b86"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerProcessor.filterPopResult (cognitive 16): ConsumerProcessor.filterPopResult has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (4 pts), error handling 1 (3 pts), match/switch 1 (3 pts), ternaries 1 (3 pts), loops 1 (2 pts), 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":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f93bdb5498ecef6c4164565a449caefb629303e47214981d5a24fe895d89ad7"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyRemotingClient.closeChannel (cognitive 16): NettyRemotingClient.closeChannel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (3 pts), boolean chains 1, ternaries 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f5704b7ed6d565d6c898b10d36e8c556d32917135a5397c0971b52051728c2"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoSwitchHAClient.run (cognitive 16): AutoSwitchHAClient.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), error handling 1 (2 pts), match/switch 1 (2 pts), 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":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"0233be28d5e245ec0850f7279a5cffdb73e86cedb6c66aec97bc8c296797e948"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoSwitchHAService.truncateInvalidMsg (cognitive 16): AutoSwitchHAService.truncateInvalidMsg has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), 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":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb33babddc11855c525803b3cb8be16223ea9a87bcc7135931653236daea31e"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexService.load (cognitive 16): IndexService.load has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 2 (6 pts), loops 1 (2 pts) (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":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfa0f12691e12fa686c37c2ffb821ae62a1707dc764f5f51c414d8d56a54baa"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchConsumeQueue.correctMinOffset (cognitive 16): BatchConsumeQueue.correctMinOffset has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 1 (3 pts), loops 1 (3 pts) (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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe3b1b15c394c9a57b03c05ad4c6442f74f9e26dc5821fd39302a49443e30cb"}},{"ruleId":"D2","level":"warning","message":{"text":"CombineConsumeQueueStore.\u003Cinit\u003E (cognitive 16): CombineConsumeQueueStore.\u003Cinit\u003E has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 4. 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":"store/src/main/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStore.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0140b80d5eb43f7e67a737f0387d8171bbe8841272bfcd6c5025628c654926d2"}},{"ruleId":"D2","level":"warning","message":{"text":"RocksDBConsumeQueueOffsetTable.iterateOffsetTable2FindDirty (cognitive 16): RocksDBConsumeQueueOffsetTable.iterateOffsetTable2FindDirty has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 1, error handling 1, 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":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueOffsetTable.java"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8660f7c15c15d6521e20ad41de15dff168794f172b9ae61107bb95c2c32bb86"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.reviseQueueOffset (cognitive 16): TimerMessageStore.reviseQueueOffset has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, error handling 1 (2 pts), 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"259b0cda495677555a501609131ca3c22986183c26bd8a73c6deb8196339a713"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreStatsService.findPutMessageEntireTimePX (cognitive 16): StoreStatsService.findPutMessageEntireTimePX has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 4 (7 pts), 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":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"952722d0efae969e781a7dad4cbda82180cee30f1d4bc3cdaf31beb165dd5fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageStoreFetcherImpl.getMessageFromCache (cognitive 16): MessageStoreFetcherImpl.getMessageFromCache has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreFetcherImpl.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e663c5f80bf931b330d984e677632508f753093d9f77997851389cd3141b8e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrokerConfig: TooManyMethods \u2014 493 methods. The bar is 30 methods; this is 463 over it, 16.43\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/BrokerConfig.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f149cb49c37357a297bcf5a2c0f1ed2c439dae53c4885816dcbc6c1446387ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageStoreConfig: TooManyMethods \u2014 448 methods. The bar is 30 methods; this is 418 over it, 14.93\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/config/MessageStoreConfig.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cd9e156ee10d26eff2f017e317956065eb35c8b7dd012aec05f0fcd59dfc03"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProxyConfig: TooManyMethods \u2014 331 methods. The bar is 30 methods; this is 301 over it, 11.03\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/config/ProxyConfig.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2c95666688311cf31f56a569492e34fb6d8455daf92c6e591d56f49ea4acb5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MQClientAPIImpl: ClassTooLong \u2014 2617 significant lines (blank, comment-only and punctuation-only lines excluded), 159 methods. The bar is 400 significant lines; this is 2217 over it, 6.54\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f04a8dd54f3346def9be73709fcb7ba27403f63953314d83e89a21e400ece28"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdminBrokerProcessor: ClassTooLong \u2014 2538 significant lines (blank, comment-only and punctuation-only lines excluded), 104 methods. The bar is 400 significant lines; this is 2138 over it, 6.35\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5496e5fab6011d6352a5dc06cd2f9c817d872fb826b09d93248234b9238271b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrokerController: TooManyMethods \u2014 187 methods. The bar is 30 methods; this is 157 over it, 6.23\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5446cdb844350d3fca7fffeab127d64cb41e6d43d4a8fbde04b8a736d05a5fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMessageStore: TooManyMethods \u2014 177 methods. The bar is 30 methods; this is 147 over it, 5.90\u00D7 the bar. Most of these members implement store.MessageStore (117 of 168 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c21fcd7adfb611f630ce37c9cda91e0965a71be17e504c399a32ab5d356122b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/MQClientAPIImpl.java: FileTooLong \u2014 2872 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: MQClientAPIImpl (275-3898). The bar is 500 significant lines; this is 2372 over it, 5.74\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a76283446baef32e74d780c5be7e97047b15cf544f4e3690fc795b14738dd22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/AdminBrokerProcessor.java: FileTooLong \u2014 2767 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AdminBrokerProcessor (249-3715). The bar is 500 significant lines; this is 2267 over it, 5.53\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc733882c9da1084684ade825a774f13c64d30dec45dd93a562ad335748400b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MQClientAPIImpl: TooManyMethods \u2014 159 methods. The bar is 30 methods; this is 129 over it, 5.30\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"639695f5f4a5b9039be9a69f23abe38f2c5d084226e82318618e3f2d3c05aaaa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMessageStore: ClassTooLong \u2014 1961 significant lines (blank, comment-only and punctuation-only lines excluded), 177 methods. The bar is 400 significant lines; this is 1561 over it, 4.90\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"29508bed5e0c310efbc2a0ee433db8b4742cad6fb90b2f60b25d00db80ca98dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/DefaultMessageStore.java: FileTooLong \u2014 2068 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DefaultMessageStore (126-3310). The bar is 500 significant lines; this is 1568 over it, 4.14\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39eccb0a707697850b13146119c67dead129abc81f5396dede817b2dff5ef8bd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrokerController: ClassTooLong \u2014 1642 significant lines (blank, comment-only and punctuation-only lines excluded), 187 methods. The bar is 400 significant lines; this is 1242 over it, 4.11\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a02385490ada8fce0cf83988b4c57d365962fae00db091f52b898b7e265be85"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractPluginMessageStore: TooManyMethods \u2014 121 methods. The bar is 30 methods; this is 91 over it, 4.03\u00D7 the bar. Most of these members implement store.MessageStore (112 of 114 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":"store/src/main/java/org/apache/rocketmq/store/plugin/AbstractPluginMessageStore.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"af84f6d4142583ee729d066305a9fa5d1ca9df4c0b91e8fb6d38f275a56a5a62"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQProducer: TooManyMethods \u2014 120 methods. The bar is 30 methods; this is 90 over it, 4.00\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f186d79edf7cfadd51a0ff361877860b8a785b55d3240262dbcff9a09f10f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommitLog: ClassTooLong \u2014 1552 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 400 significant lines; this is 1152 over it, 3.88\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8f1635ba17e03be827c92fe81bab33ba32e3495936a54d3089f35c9a978060"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultAuthorizationContextBuilder.build: MethodTooLong \u2014 build runs 378 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 278 over it, 3.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87b68a600e043c8df0ad6847ceee52346106e03d11f6f41dab08f731f32ca81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: broker/BrokerController.java: FileTooLong \u2014 1819 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: BrokerController (196-2826). The bar is 500 significant lines; this is 1319 over it, 3.64\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"819386426c98c2133c97d52f838197bc6b18c546ef61260ce6c5f93a2e3b5cfb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AdminBrokerProcessor: TooManyMethods \u2014 104 methods. The bar is 30 methods; this is 74 over it, 3.47\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dca0e633f63a053f1a310796f945760d0412bcc2ebadac8aad659b0c9702dd8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQPushConsumer: TooManyMethods \u2014 104 methods. The bar is 30 methods; this is 74 over it, 3.47\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"717e277be9f834a0d933b07b6338f42d6ece8abf56bddabebcef92d91850ffec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TimerMessageStore: ClassTooLong \u2014 1380 significant lines (blank, comment-only and punctuation-only lines excluded), 87 methods. The bar is 400 significant lines; this is 980 over it, 3.45\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcabcec03192de0e09b59b116a58d8c337b623783c759eccfa3bc4a51e5a184"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQProducerImpl: TooManyMethods \u2014 98 methods. The bar is 30 methods; this is 68 over it, 3.27\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"260793577030fc500c8de267af4ab09c4944d52656e9d36ea45b1f84abb8d8cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PopMessageProcessor.processRequest: MethodTooLong \u2014 processRequest runs 325 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 225 over it, 3.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b08f9f0851aa859c1951f5b8c06475b5040a24692f6ca32ef2cdd7544d5956"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/CommitLog.java: FileTooLong \u2014 1606 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: CommitLog (77-2580). The bar is 500 significant lines; this is 1106 over it, 3.21\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d9d4264c281b7d3bea4bfc398b600d5c341c26c943ad026ec5d094b34ecba0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrokerConfig: ClassTooLong \u2014 1250 significant lines (blank, comment-only and punctuation-only lines excluded), 493 methods. The bar is 400 significant lines; this is 850 over it, 3.13\u00D7 the bar. 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":"common/src/main/java/org/apache/rocketmq/common/BrokerConfig.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"00400e1ace7d2329becbd15e20ed58e3d06d4119871992a06eab36ecdebf7658"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMQProducerImpl: ClassTooLong \u2014 1223 significant lines (blank, comment-only and punctuation-only lines excluded), 98 methods. The bar is 400 significant lines; this is 823 over it, 3.06\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4f276cbb8079bbbff136ec48bd00cb0be38c5f4710116845c2e777c2a5f544"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageStoreConfig: ClassTooLong \u2014 1196 significant lines (blank, comment-only and punctuation-only lines excluded), 448 methods. The bar is 400 significant lines; this is 796 over it, 2.99\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/config/MessageStoreConfig.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3242fbda6e50a3634ef7dd62d4ec915dc28d05d2bf70f0e715624c48711b68f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQPushConsumerImpl: TooManyMethods \u2014 88 methods. The bar is 30 methods; this is 58 over it, 2.93\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"15545121242691b05b8c3b8ce6125e8717579b1f1b05bfc097b96795ef84cafc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TimerMessageStore: TooManyMethods \u2014 87 methods. The bar is 30 methods; this is 57 over it, 2.90\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0bbdc891c7a2bdba56e6ce40e618b4b59821add6763895c63fc1a682db3ebb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: timer/TimerMessageStore.java: FileTooLong \u2014 1440 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: TimerMessageStore (79-2123). The bar is 500 significant lines; this is 940 over it, 2.88\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebbdcfeb8a30a9e95e80187236e97d4a76589d760326cc54380bc3b5b1fbb3d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultLitePullConsumer: TooManyMethods \u2014 86 methods. The bar is 30 methods; this is 56 over it, 2.87\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultLitePullConsumer.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c99e45a5e3aed8e2ebc0604c1fba909609c1354c6453257e4552813cdf1a21a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultLitePullConsumerImpl: TooManyMethods \u2014 81 methods. The bar is 30 methods; this is 51 over it, 2.70\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"02501c56f952a267c83d8eff619fcf18dc9b3a69003d5f08942b6be115cee821"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageStoreConfig: TooManyMethods \u2014 81 methods. The bar is 30 methods; this is 51 over it, 2.70\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/MessageStoreConfig.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4ca7694484d9efb42565de229884170a3123a56439fc40cbddbdc2eb6b3650"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: producer/DefaultMQProducerImpl.java: FileTooLong \u2014 1304 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: DefaultMQProducerImpl (101-1895). The bar is 500 significant lines; this is 804 over it, 2.61\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39fb845d6f970badaaef2f6e81f73a46bd288362490bea14318336fa85b8eeb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProxyAdminGrpcService: ClassTooLong \u2014 1035 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 635 over it, 2.59\u00D7 the bar. 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e412109b038d13c7f909e971488238525729db785d589189ebf5c5f10f983fdd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientConfig: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/ClientConfig.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9b3f41a869e93222924be6077f33edf434a76ff26f7949495da50e1ce4120d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrokerOuterAPI: ClassTooLong \u2014 1024 significant lines (blank, comment-only and punctuation-only lines excluded), 66 methods. The bar is 400 significant lines; this is 624 over it, 2.56\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7069ba51db62e6a6fa35a1f3730890c704e1a32f8be57d65a3195761a528097"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/BrokerConfig.java: FileTooLong \u2014 1259 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: BrokerConfig (28-2573). The bar is 500 significant lines; this is 759 over it, 2.52\u00D7 the bar. 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":"common/src/main/java/org/apache/rocketmq/common/BrokerConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90428952e1e74098a0bad0351d6c49b8b28207f353d42d7c07c90e5b60a7f90c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMQPushConsumerImpl: ClassTooLong \u2014 993 significant lines (blank, comment-only and punctuation-only lines excluded), 88 methods. The bar is 400 significant lines; this is 593 over it, 2.48\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d980c8849eb19a47c77306f19f79deb054b16b6903b24707ee446978ec55d07d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMappedFile: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.43\u00D7 the bar. Most of these members implement logfile.MappedFile (41 of 60 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":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"582adbb1f66922a8464a72275a881689f3bdac9329c4d2786caed4d518e5097b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/MessageStoreConfig.java: FileTooLong \u2014 1204 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: MessageStoreConfig (27-2439). The bar is 500 significant lines; this is 704 over it, 2.41\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/config/MessageStoreConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4476f99fd9aa6f2f879be175d028e50226bc3d2cdcd259d5107180bcf4aa471a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MQClientInstance: ClassTooLong \u2014 960 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 400 significant lines; this is 560 over it, 2.40\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e17a62586298517d7aa0f69001ebdc1119a7a1d6ed984366ce5c80b998ef4d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MQClientInstance: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f252b67eb805ee1c75b69d0a369b445ab3ae6a7e84c8315c24f08ef20e3934"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommitLog: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17a1ab060b77a7243f480f230608aea919a26bcb9c1440efe1a23332ad71ae5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PullMessageProcessor.processRequest: MethodTooLong \u2014 processRequest runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6a7452588f92f1db11fdf07a92a53c210edd8633d439f42923267dd5037581"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQPullConsumerImpl: TooManyMethods \u2014 70 methods. The bar is 30 methods; this is 40 over it, 2.33\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d0d77cd795055a5a633e8a78dad99716ac2d38834649a5864e242cbfad9f99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: out/BrokerOuterAPI.java: FileTooLong \u2014 1166 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: BrokerOuterAPI (162-1633). The bar is 500 significant lines; this is 666 over it, 2.33\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"322e1f1cbb58696e56183f7cc39cc0cb1d070c26388da37d38f935958393cb5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/ProxyAdminGrpcService.java: FileTooLong \u2014 1144 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: ProxyAdminGrpcService (148-1735). The bar is 500 significant lines; this is 644 over it, 2.29\u00D7 the bar. 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1f10844baa3a1b4cf6152e5afa7dfa1c88f264e83337d917cabbc83c1ddfc4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrokerStatsManager: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c475bccf832eb7300d8d3171fed06803f555222b2178e1038359c6502edd5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrokerOuterAPI: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1de3830b18673bd32e0c15a6caac2b979054ad43f93667a053601df3a9d1853"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProxyConfig: ClassTooLong \u2014 868 significant lines (blank, comment-only and punctuation-only lines excluded), 331 methods. The bar is 400 significant lines; this is 468 over it, 2.17\u00D7 the bar. 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":"proxy/src/main/java/org/apache/rocketmq/proxy/config/ProxyConfig.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eb366196bcea5c4c1c65f7dead96841a93d09a8393f4c876c1186610d30113"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQPullConsumer: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPullConsumer.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcfc0ee762db387a83eda9b5180466045f25f29e2d509b10d1941f34d3055e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: consumer/DefaultMQPushConsumerImpl.java: FileTooLong \u2014 1071 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DefaultMQPushConsumerImpl (97-1603). The bar is 500 significant lines; this is 571 over it, 2.14\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d014da8f470d66156658bd4c0b98adcb290dba774fda6607554ca6f63aef23a6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SendMessageContext: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/mqtrace/SendMessageContext.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fc89344479aa21ba447ad0b8f453050f5963583a931e6d8bea88be3d352f74"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemotingCommand: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa57b5405e6ab8bdff59802cd0caf3d7fe2b7ca0b686dd7cd17f0c7b4223e476"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BatchConsumeQueue: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f04646f92672f72e13f2ce7d29b3b447533390f3e4c23e1d10e0422da944752"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: factory/MQClientInstance.java: FileTooLong \u2014 1035 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: MQClientInstance (96-1588). The bar is 500 significant lines; this is 535 over it, 2.07\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de29f6f04353555f50b549f02458d14153af0e4d70c013fe884dc1b33fcbf20"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConsumeQueue: ClassTooLong \u2014 817 significant lines (blank, comment-only and punctuation-only lines excluded), 55 methods. The bar is 400 significant lines; this is 417 over it, 2.04\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0d0b6a65023267ca0c380be31ccd03d8c62791472ff89e955501216ef5b305"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ControllerConfig: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ControllerConfig.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5734b1bce56ca215079b7e333f04d65c9692da41c21cb985132b545bb10683f2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultLitePullConsumerImpl: ClassTooLong \u2014 776 significant lines (blank, comment-only and punctuation-only lines excluded), 81 methods. The bar is 400 significant lines; this is 376 over it, 1.94\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7330ad4f02a21802326a8177075f458f23768acfe2bbabcd70dc2ad3371819"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MappedFileQueue: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddff1f52288f3747e7945073d31b6e1ce76965736c017f4264c3faa36703f6f4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NettyRemotingClient: ClassTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 369 over it, 1.92\u00D7 the bar. 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6708a46927d11145c90a4940f592394ad00b60b7a8972a8fc65c6e6cb87eb1f2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BatchConsumeQueue: ClassTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 366 over it, 1.92\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05dcf89d4ba9101de966ee3df4f287ffcdf6d2fd12ad9d4775e5bda4d7a214e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AuthConfig: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/config/AuthConfig.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d3ebfd6b13457860a635aaa0e2e774305a618f9aa45034d2c7de99903a45c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMQPushConsumerImpl.pullMessage: MethodTooLong \u2014 pullMessage runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2d23f727a6a85985a0193eee7d17a2e945eed70b658cfdc9e6bd21fa23c3f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PopMessageProcessor: ClassTooLong \u2014 735 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 335 over it, 1.84\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"55da6da8fb5a370135a6a51724b62c259a184c7bffdf762004adc9bba6aa311d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConsumeQueue: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3565ce1dbd883b13bc4c6d3aa9a88b29d037d4f1b9aa797510fa52f8a78e5d60"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UtilAll: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d0aeba19d44980178a7510b506aab6196d49b01afa91596b0f0e5cbf944a63"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CompactionLog: ClassTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 319 over it, 1.80\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1eaa9659b11e801ef35511249961cf0ad192a9c45aac5301511028b42a3b10d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/ProxyConfig.java: FileTooLong \u2014 889 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ProxyConfig (41-1689). The bar is 500 significant lines; this is 389 over it, 1.78\u00D7 the bar. 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":"proxy/src/main/java/org/apache/rocketmq/proxy/config/ProxyConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c16c83625d728dc0c65cccaf7866c9c5376e6a4e5fd46199811a75844b20c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DLedgerCommitLog: ClassTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 307 over it, 1.77\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"14771253514eaa36edd803ebfd3e60f53954dcda334c52fb61175b5b3298d63b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbstractSendMessageProcessor.consumerSendMsgBack: MethodTooLong \u2014 consumerSendMsgBack runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65a05161384767d5cfe7c598ba506e28c31ea0df0149a1c0a16c09e16507715"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RouteInfoManager: ClassTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 292 over it, 1.73\u00D7 the bar. 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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5956a1b9d152a34670555a74d083a443a661ba6307291e14c21614e83377b0a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProxyAdminGrpcService: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"584ed0cc7b4bfbe0c21d3e735d6c83a75f50572b2b24cbe51eb2b7656dbcf63a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMappedFile: ClassTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded), 73 methods. The bar is 400 significant lines; this is 278 over it, 1.70\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda0a6c203b5c388d09d5f3fab1bf253ce455f744238af942997fd456be80cb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: netty/NettyRemotingClient.java: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: NettyRemotingClient (98-1233). The bar is 500 significant lines; this is 346 over it, 1.69\u00D7 the bar. 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af857f7173d2a0260af924fa48a155d1ce6b1d8ceb35d66f0ff99370c459ec9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/ConsumeQueue.java: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ConsumeQueue (48-1304). The bar is 500 significant lines; this is 346 over it, 1.69\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"636f542956be0cd7391c0f83ea88a0e1f36dd3b958625d86248b19d421cd5938"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: consumer/DefaultLitePullConsumerImpl.java: FileTooLong \u2014 836 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DefaultLitePullConsumerImpl (79-1321). The bar is 500 significant lines; this is 336 over it, 1.67\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88b10b6f9e9ad64bc632a20ec0a6ef78e73beec8a76b5cc56566c8cfb24848e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routeinfo/RouteInfoManager.java: FileTooLong \u2014 836 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: RouteInfoManager (68-1114). The bar is 500 significant lines; this is 336 over it, 1.67\u00D7 the bar. 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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"586a5c5048567989bb85fa551a4d828d02665288fab9a0454984a866d924ad65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/PopMessageProcessor.java: FileTooLong \u2014 815 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: PopMessageProcessor (101-1126). The bar is 500 significant lines; this is 315 over it, 1.63\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abacf24b1f75a46b416f15432ce092c7439605fd8226b421197c333f872bb5f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConsumeMessageContext: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/mqtrace/ConsumeMessageContext.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5c37233b07129c1837fb664fad22b86fd46477c395c192b1a69bfb3246c659"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: queue/BatchConsumeQueue.java: FileTooLong \u2014 792 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: BatchConsumeQueue (46-1209). The bar is 500 significant lines; this is 292 over it, 1.58\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"132c3b122a89fb90e97a0048efb56668d38da82ccc95aca11b83fd0c3d4bab2e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMessagingProcessor: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. Most of these members implement processor.MessagingProcessor (37 of 43 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":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/DefaultMessagingProcessor.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9952c79816890b09e997e60a8928e40d1b191e46930e801702ebdf4b8aa6d6b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdminBrokerProcessor.processRequest: MethodTooLong \u2014 processRequest runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"515c8462bd66d4c89d9be04f8de3e6fbdd7b471aca07c3fd9177f58bca0f67f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kv/CompactionLog.java: FileTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: CompactionLog (71-1149). The bar is 500 significant lines; this is 269 over it, 1.54\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11b641d593b18e6b13e4fb6aef8752429771e76100465135a49ad4cbea6371a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageExt: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageExt.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0850404b1643869404cc21a05db4113a794283f54777ed2f4bf62ba0f2b6fd5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PopMessageProcessor.popMsgFromQueue: MethodTooLong \u2014 popMsgFromQueue runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"740c1e6ded7eff42af71664f61f7d64dfd362e90a0e6f638f8fef9391262a2b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReplicasManager: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"153c36d15bad09b9d294ec38a2d85241e95acd25113a1932dc35a1d6c593f1e6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TopicConfigManager: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"245b9d750efa9b1d0e895f8782dbb2b544d5634411e401b56754ece10c29acbf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractRocksDBStorage: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b061b2f73c57a7345dbe72739f5d288c36b99bdd5ed43775ce6d944d9b209a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SendMessageProcessor.handlePutMessageResult: MethodTooLong \u2014 handlePutMessageResult runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2abd6d3dc229a1b4535ec50aab66b4cb3ff1ac288ce5f7c334e2ab849a97505"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransactionalMessageServiceImpl.check: MethodTooLong \u2014 check runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4ac3d16516fb0d5bd95f5cce4ae6ab56c8e1f6b0970ec35cefc757ab78f303"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dledger/DLedgerCommitLog.java: FileTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DLedgerCommitLog (65-1138). The bar is 500 significant lines; this is 248 over it, 1.50\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78416cae0bf18ce379fcb618abde18c560adbfb2b13ffce15cfaf49d4a15294"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PopBufferMergeService: ClassTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 196 over it, 1.49\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a04f9c1bc76dc881d64bfb22260aa001c02e50279a9eb2f4868b8f3a778579"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PullMessageProcessor: ClassTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 196 over it, 1.49\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46de664c7893bc1bd19a01da58c62d3f03d5b62f46a190bc04d6fc6e68a3222"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMQProducerImpl.sendKernelImpl: MethodTooLong \u2014 sendKernelImpl runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"51939155b1d47c7ffb288c7a2a554ece6c6867814918338cc2aa78bca611baf3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MixAll: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6726a58b88140970fb8cbe43b7a65e08c763b24c0acb0ff21db28d70aa87d98"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NamesrvConfig: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/namesrv/NamesrvConfig.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0068a34db7816469bd444c632b9dbbca4e0ad09586347e151954c1d607de605c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyBridgeLogger: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7bc170c9454bc223ffbfb133b8f5f5a69641c0d85d1a8f0fb2fed749c8bf67"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubscriptionGroupConfig: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/subscription/SubscriptionGroupConfig.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77a85f84364684b3454fe1779b4c6911a959174b6599b2de7938f714b09e5af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConsumeQueueStore: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"331ab34ee70172c22939ad74f4c14140e55ef8f4c6c07f1d97881c86851df10e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultAuthorizationContextBuilder: ClassTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 186 over it, 1.47\u00D7 the bar. 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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"502e3bb93c56841dd5170ed51e863000eee72ebdb4c5858acc416320427957cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TieredStoreMetricsManager.init: MethodTooLong \u2014 init runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56aeef9eac31c4561ef1a1f0605cb10cd48ce51b1c7173663f63bbf3cd975a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: logfile/DefaultMappedFile.java: FileTooLong \u2014 721 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: DefaultMappedFile (64-1122). The bar is 500 significant lines; this is 221 over it, 1.44\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e0c1b0ce1fce18c27d1924603cea0cd95aae1398b790742aa2931ff5a3e465"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RocksDBConsumeQueue: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueue.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bea440309ea5a86e78cbcc3724ea3767ddb204dd80f0b6b61f0af08e2391f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RocksDBConsumeQueueStore: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b57a85ca1f0a9402f7c3817035cf8a744d990c10c6df10438196397b4a6303"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommitLog.checkMessageAndReturnSize: MethodTooLong \u2014 checkMessageAndReturnSize runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ba5b8b5dd9bfd177329ca3248bff1cb06b11fea2f416f400241c95e27d50a9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MessageStoreDispatcherImpl.doScheduleDispatch: MethodTooLong \u2014 doScheduleDispatch runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreDispatcherImpl.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced898d812d294067333989f6a92edb6c83dad783e3ea2accb56bf24b96ccf9f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MappedFileQueue: ClassTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods. The bar is 400 significant lines; this is 169 over it, 1.42\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8de0668e5fde55f31af0421f119fa603204517b47d3c468e3e9450ca20f702"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrokerStatsManager: ClassTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), 67 methods. The bar is 400 significant lines; this is 166 over it, 1.42\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea97cecb2776f3c1b0e8fd31de272f25d09adf03e21372cd3d98e3ca00a63d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Message: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/Message.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"21649821bb17a1601865d471318d0ba45bd5558039963f90115c432be8460b08"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SimpleChannelHandlerContext: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5832ce7f1a5f412d72fa8aca9034592f344bca0674df052f91beb96cafabf4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrokerController.shutdownBasicService: MethodTooLong \u2014 shutdownBasicService runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ea0b36f81e121ddbeac1f3358e457968d7fe69754d0b8cb44c853ccae19929"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StoreStatsService: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b497814966ee8befdc94eca539524942de92bf85b9d27dcfed4e6ab3efcf38e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DLedgerCommitLog: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f27f5dadd480985b8f93c08bf52de4212c0c5158b4d6f514ea1e19fb059962"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CombineConsumeQueueStore: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStore.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f283f1e6688ff9b1abd9184ca3f49ca30ba36c30a4c55bce9b316b4993cb3680"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RocksDBConsumeQueueOffsetTable: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueOffsetTable.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bd19cc145d0d99f76692b473966cd3b6ade78edc793e72802f42d9387fc38e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMQProducer: ClassTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), 120 methods. The bar is 400 significant lines; this is 142 over it, 1.36\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d79b96d1911aee7039ba84eaa3ed0de5d5d2bd1762aad70102dad273c04ba3a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrokerMetricsManager: ClassTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 142 over it, 1.36\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3c6269a0af0d458f0d9ea8ab82f01df818f3a09f59cfb38faeed77d7fa258b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMessageStore.getMessage: MethodTooLong \u2014 getMessage runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d31c8af053b42c7fb296bcadf7bfd0ef0e4759608b1d5aa08668ba56b15cb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builder/DefaultAuthorizationContextBuilder.java: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: DefaultAuthorizationContextBuilder (101-831). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. 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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc91ea1b5fa7ee9e2b68cf0cc5bc92abbc4e3a8f9d396999155a656941f99401"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubscriptionGroupManager: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9a6f717cc55d15d497cfb49f6866bf8e7985a3577df82cc34347cf7d45dd10"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RebalanceImpl: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdf7887a0a42f363834f86de9ee5b1f83071612d30d9ef43056ca4134506f40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RouteInfoManager: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7243c2dec9aec9ea78424f2d70b15bacb182778373f9e4f432e65a58a31ae996"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyClientConfig: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyClientConfig.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f6548cec4a783fbb4b897966ad780678ff3897615acf98983c8283871f9099"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMQPullConsumerImpl: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), 70 methods. The bar is 400 significant lines; this is 133 over it, 1.33\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb394fa0b908861444c81b485781cc0770f7c4e8c7a74dfc21378b8a9c8370a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConsumeQueueStore: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 133 over it, 1.33\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff054e81da212975d32c32f22eb9e9293ebcde31b260c83c3d698b088cfab84"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScheduleMessageService: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 128 over it, 1.32\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18813549f4c7126cb69b344f9a22f84b2e357423ccbe1c614227393798f9123"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/PullMessageProcessor.java: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: PullMessageProcessor (83-917). The bar is 500 significant lines; this is 159 over it, 1.32\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b35a897e511eb5b49a8c87e7992ed242a64c65e00319c101e371d2e1c74fd86"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PopConsumerService: ClassTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 119 over it, 1.30\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"79260fda4f1fd95bcb12d0899f19c9a99e0241a1436c9a11d2134c929da1ddd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: metrics/BrokerMetricsManager.java: FileTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: BrokerMetricsManager (121-909). The bar is 500 significant lines; this is 142 over it, 1.28\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09367008e4ef284d6ff1762cf8545da8b60b46be29d7d30b443b8c3521c737a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientConfig: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/config/ClientConfig.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"330636f7b37aabcdea3e259a9905f41d7fc6bf33eb73b6f195380b3c8239a1b5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyRemotingClient: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d27c95b420613aaa25d73eda858285612971cc1755c87899f647e52a1d030d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TieredMessageStore: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"962129306672c46eafe97e74e5336b7d08fc1f5160152f8c84a64ef656f11957"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlatMessageFile: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/FlatMessageFile.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"db758029dcb4f46290ddbd4608083f69b3f91d43751eaf655098ca162438b686"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReplicasManager: ClassTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 103 over it, 1.26\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b847edf0f6c40cd08648c16d686056e8d6668edaf44325a4e2e1679cb6beeb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/PopBufferMergeService.java: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: PopBufferMergeService (47-949). The bar is 500 significant lines; this is 123 over it, 1.25\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14788792788e1c852e42acbc5b522005a7db7a745c14fa5ff8e47179a0654020"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConsumeQueue.binarySearchInQueueByTime: MethodTooLong \u2014 binarySearchInQueueByTime runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"355439ad241b62318a87d926b0ec1ac0d6f6dbb09faf2e55c50eb5674923b2c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyServerConfig: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyServerConfig.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ce64e930920cf5ba58daf19db2f559d01757c391dd2e11502e29b61d502453"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMQPushConsumerImpl.checkConfig: MethodTooLong \u2014 checkConfig runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"d179a819b3e02b2ab853b3b9b3008b3392418922330b6a3f5aeb4ede5e836fa4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RebalanceImpl.updateMessageQueueAssignment: MethodTooLong \u2014 updateMessageQueueAssignment runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48b34f92f8d35960d04ea29ffd3c3916ced6f5a01beed002fd3bc5b264f113b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TopicConfigManager: ClassTooLong \u2014 489 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 89 over it, 1.22\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95ee62e92d4cee7a657d9c2e71195315b358cb6daf092b458f93016a0ac1313"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MQAdminImpl.queryMessage: MethodTooLong \u2014 queryMessage runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc901afe3755e3510ca58acca58de054302de9581a6189b81b68bd9121b6430"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RebalanceImpl: ClassTooLong \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 86 over it, 1.22\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a98a50fa84f6e24d2ecbc2039adf0adf0864e73fe4e4e799e44bff3037d7c9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PopReviveService: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76e75025a1c55033100af51945084d52db0bf4c2125a6c0c9f2f33893c585cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrokerMetricsManager: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"25500d88c43d8d3016ecb3d1ad77a1989b4fd9859e2fd14d62400bda5dc70ecc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SendMessageRequestHeaderV2: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/SendMessageRequestHeaderV2.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bf96a783b95b833939c7abafcf4a792c58a24aa9ad0ac0e9b52c62f10d6f48"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageDecoder: ClassTooLong \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 79 over it, 1.20\u00D7 the bar. 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":"common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9942e403b87278b2172eefb88506aa1ee369dc328e1fa4903f8fae6af5bd34dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultPullMessageResultHandler.handle: MethodTooLong \u2014 handle runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a26897ddbc8c38710c365ac107badddfe9d02788e4ec2d8ef288a99aa733c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMQProducerImpl.sendDefaultImpl: MethodTooLong \u2014 sendDefaultImpl runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d818cc99286304a48370141618c113a4c9d29ec18fc09c3d4ad354fc1aeb3f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TransactionalMessageServiceImpl: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 75 over it, 1.19\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2bf49d02caa59389cad480834fbb600c1e4f0f5cb0c6d41e6514be3de3e75d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SendMessageProcessor: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 75 over it, 1.19\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c461f098e9970d2317c9af18374e8f6739f89dc0324b4ecfc2fc7e6d0ad1a8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbstractRocksDBStorage: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 73 over it, 1.18\u00D7 the bar. 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":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8db72176bb9fd6131829bacb08097c8cd16311a157c863ae936331b08ee623"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MQClientAPIExt: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 73 over it, 1.18\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f179eb14d4ef30194b9c349c96862ae77623f2edffda7d357ceca16adf7c3e68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stats/BrokerStatsManager.java: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: BrokerStatsManager (45-827). The bar is 500 significant lines; this is 91 over it, 1.18\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52405d2fc955f454020d62fdbcfc3b77b54cbd4e2fc239fe1c56a5796a4a8158"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/MappedFileQueue.java: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MappedFileQueue (40-963). The bar is 500 significant lines; this is 90 over it, 1.18\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e97e4cdd4b6d4b26c6422d507bf068316eb5411f02d0bc419bc9b698ca09d17"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NettyRemotingServer: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 68 over it, 1.17\u00D7 the bar. 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a722a358d6f0477d95f6d5136239ee37735e31567aa93395e56a7bfe46c93e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouteInfoManager.registerBroker: MethodTooLong \u2014 registerBroker runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbfecd1d0007c5812ab9d2ae6d8219d50d85be3c538703875b422e9f2110d65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: consumer/DefaultMQPullConsumerImpl.java: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: DefaultMQPullConsumerImpl (74-882). The bar is 500 significant lines; this is 84 over it, 1.17\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cd79b870191179dc80676c8cf6852068f00a8141a461cfdb2ae6054b35f69f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConsumerOffsetManager: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42d185b181885fee0ff98fe415d5d672db507dba6803c0a8121c437665d115a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CompactionLog: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d867c9a877810768ef18eeb5a0dee6ac4891bacc1c433acaa27c3c1a60db03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: producer/DefaultMQProducer.java: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DefaultMQProducer (70-1491). The bar is 500 significant lines; this is 80 over it, 1.16\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daba02ab3754b2c7dbedb73eb19a45e6c1cefaf8574742ce010e13180d217d76"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UtilAll: ClassTooLong \u2014 462 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 62 over it, 1.16\u00D7 the bar. 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":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"082404b24bb3ca1adcd65363720569268c8ff9b9a4a97e6ec98a689a33311d47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schedule/ScheduleMessageService.java: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ScheduleMessageService (66-858). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee294c49d0afa43c688475097d42bcc32fdb908cbd0dfda5f75b73759af26b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: queue/ConsumeQueueStore.java: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ConsumeQueueStore (61-909). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc03605c4228411040d83709d3ea8a84147faaa2b56f9b859ebc4fe36c91b545"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RocksDBConsumeQueueOffsetTable: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 58 over it, 1.15\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueOffsetTable.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bed95d31239b3cccd72162c124b079899bf241ec918570d7a5af3fca527444"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pop/PopConsumerService.java: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: PopConsumerService (72-878). The bar is 500 significant lines; this is 72 over it, 1.14\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b628381870c60b18d6f0ac404100907af76b454d3ddd593329631f45a80beb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrokerController.\u003Cinit\u003E: MethodTooLong \u2014 \u003Cinit\u003E runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e40aa44a583560c72bd808a2ce2435b34351c89edd069238bf300aba0177d77"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PullMessageRequestHeader: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PullMessageRequestHeader.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c595370f8427e36eef3f5081c020505a8c4d222acecbc5b65e99e9930d1f1b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AutoSwitchHAService: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd75db9ed06fc7c937a276875f772116659e961d350e70c2b5a857d1118c412a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PeekMessageProcessor.processRequest: MethodTooLong \u2014 processRequest runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1835971182b0b96fe7807d16ae13846ee3e4ad4f8b630870560ad54d5432bfb4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommitLog.asyncPutMessage: MethodTooLong \u2014 asyncPutMessage runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"7add052d7b629d0f264358b2e4ae1103e6ee25c2de59139b23e8bab1fd114967"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageRocksDBStorage: ClassTooLong \u2014 446 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 46 over it, 1.12\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed019f8873dd93fab63cae41ae0046f1c75f2fa2c6e0338a397f5ba043945bee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NettyRemotingAbstract: ClassTooLong \u2014 445 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 45 over it, 1.11\u00D7 the bar. 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"080cba8c257307a6e7a81645dfb962c7378288d145f297f1f03e0017e1d99053"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AutoSwitchHAConnection: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 44 over it, 1.11\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ef42ac8433b1433df92a8038f95c76d2d5a2ccbdfba3059e2cee10c2ef818b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TopicConfigManager.init: MethodTooLong \u2014 init runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9589ac89135233f5116d9e7659c0c297375ec57c539fb9ae535e68468681df6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultRequestProcessor: ClassTooLong \u2014 443 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 43 over it, 1.11\u00D7 the bar. 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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f8bfe9d8961e86675510ec87d0145be555d8120c42bc7c1aed6437f87c6cfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mqclient/MQClientAPIExt.java: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: MQClientAPIExt (97-771). The bar is 500 significant lines; this is 51 over it, 1.10\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"800f960e0deefc735936212d14a825281c2431e23c5068be0d862c524451275a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PopCheckPoint: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/pop/PopCheckPoint.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d29559f27e55f6b23b04ca9e2f845dc079ee26422561683e486ff9061c0be9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controller/ReplicasManager.java: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ReplicasManager (67-886). The bar is 500 significant lines; this is 43 over it, 1.09\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccded2a3971b6675177f1f83d9547381ffe63e1cb4ba3e4d416585b3662f4e1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: netty/NettyRemotingServer.java: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: NettyRemotingServer (94-835). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3da1ce04df5172d728d23b1ac5a726bae82d37aa0f1f72a2a66c058d0e566aa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TopicQueueMappingUtils: ClassTooLong \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 32 over it, 1.08\u00D7 the bar. 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec98addfb646bae4db538f8b09805ad2c4d60af754c426bbfe61247b5c1b0734"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReplicasInfoManager: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 31 over it, 1.08\u00D7 the bar. 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":"controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47b646b9cd6cf304a11c2958e3f7a7bdd74bc23a1ec07d58ab1d17df591340a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/SendMessageProcessor.java: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: SendMessageProcessor (82-735). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2034a91d7783d9b9a60d34afbd1bd5f070c1d1954bda51d37f5e5fbcfbf1a0d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProcessQueue: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ProcessQueue.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db0cc6858fec0cc44f6f8818d458b88830cd0e2a71d9365e458a8f76ce2acbc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyRemotingServer: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"67db8d8875c05114d2fba9ea8f50736cbaf2ec20c71873cce3eb85258d370235"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DispatchRequest: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"912520326328482f33b1c6a7c13aa89851cc3088c253b45495eb4325155bf17b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: topic/TopicConfigManager.java: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: TopicConfigManager (63-803). The bar is 500 significant lines; this is 31 over it, 1.06\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c75d6905dc4ae403aa006da999c634cb7b225615508826282b171bfa657d33"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StoreStatsService: ClassTooLong \u2014 424 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 24 over it, 1.06\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb17a23980664aff485306cf4a7c1ff1342c39bf4a6de272d259269f31e473e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/PopReviveService.java: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: PopReviveService (67-729). The bar is 500 significant lines; this is 29 over it, 1.06\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"210cccfc61a884c7e088add5882e0e28836fc68fcf969bf0c73f8b30c9957800"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConsumerProcessor: ClassTooLong \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 22 over it, 1.06\u00D7 the bar. 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":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8cc05a2011591d7abe4357b429ef0c3e8ea0ec8160008fa4268cd581537048"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TimerMessageRocksDBStore: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 18 over it, 1.05\u00D7 the bar. 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":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5681f091fb1613d70e8f9a62a27c20c4b9972fe0f653992143ca95ebb42fd95f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EndTransactionProcessor.processRequest: MethodTooLong \u2014 processRequest runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da354763ee3bce7165bd3847b22df562f9b4660bf604c6cf23cff7139eca0f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ComparisonExpression.__compare: MethodTooLong \u2014 __compare runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e33a2d3d2f88f850dfb85d7abde6c6fe69c5148ea2c75aff10bffcb2b03fbe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MQClientAPIExt: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"033d9158c868116c1cbe5d6095c9a1e390b759170e82da5af6a1503c638810a3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TopicConfig: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. This type is on a published API surface \u2014 a Clirr binary-compatibility gate (pom.xml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/TopicConfig.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ca348d015259ea41146ecb41ec5852290f87c7287fb32f13611dddf4f415b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: consumer/RebalanceImpl.java: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: RebalanceImpl (48-800). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"033304ad21f065494af638f932a29e09eaceb65ca944f63da8f4e2b2ff669994"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConsumeRequest.run: MethodTooLong \u2014 run runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd21e69eb5445d7e5491f8eb26a21ae82ccc0d52fd557c2c1b5661dfb660bf8b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DLedgerCommitLog.asyncPutMessages: MethodTooLong \u2014 asyncPutMessages runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c23b2619a5cb1cbf8a3fcb1cd4b0cc88f945636b317c1abc36510ce87ff4da6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BrokerStatsManager.init: MethodTooLong \u2014 init runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b13d2f0b189fd7d5929340cdd2fc4b456943dbd61a16da908f2b11ad67d555"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/AbstractRocksDBStorage.java: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AbstractRocksDBStorage (60-764). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. 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":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7ad78f5e11ef5ad609ac2e74740020e27a8ea5318a30968af9dc0dfbfff21d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommitLog.recoverAbnormally: MethodTooLong \u2014 recoverAbnormally runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7450c6fbe3c23f47ac63c716cba33310878b49aaaa3bd90d3de26a8a70a70a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConsumeQueue.correctMinOffset: MethodTooLong \u2014 correctMinOffset runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"07565a5da4eb8586860b5347788b63d6dbc10092812e533a74d07a633eb9bdc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: queue/TransactionalMessageServiceImpl.java: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: TransactionalMessageServiceImpl (54-761). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37a049233a1eb108bc5c27808953f6ea1dbcd0d94d850dadb740bdfb98671d1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QueueLevelConsumerManager: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. 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":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bf135a3043faffbe2226554628251e8e284ec6d62ed22df845a682e9436d6c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClientActivity: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 3 over it, 1.01\u00D7 the bar. 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/client/ClientActivity.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dc9c6e3f401e793102d53d92eebcf95e1a56a27734c9610e2bb44e9e64e397"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: netty/NettyRemotingAbstract.java: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: NettyRemotingAbstract (77-822). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20882c5f920d883b69f5b7be0740d46d71786136673541d058bb3a5d175842da"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 21 shared lines): store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:45-97 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:134-183 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:220-260 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:262-311 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:313-362 \u2014 These 5 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9891bea9c0878f4362cbb5828cb6f1d00dfd9a04e33d976a531de7758e1e63bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (66 shared lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:427-506 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:509-693 \u2014 These two members are variants of one another: 66 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff86286a6439732c33947073074e0809f4d23514a4a103182a81581994e9c4ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:348-441 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:768-915 \u2014 These two members are variants of one another: 48 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4363ec1f2de08a81e17bd11af1b7ef07767799c7ff917f14c962d8a51c7988d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (47 shared lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:924-998 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2974-3047 \u2014 These two members are variants of one another: 47 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"709cba7c80a1fe529f483fbc1279469c0530b3f3966607bf345bdba8c9ef9ab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1398-1451 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1455-1501 \u2014 These two members are variants of one another: 38 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8e0549031cb5f1734a9164a4823d3d34b83e18a5f4b009a437f55d60bc266c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:205-268 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:272-377 \u2014 These two members are variants of one another: 33 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1366d1866fd789017e76dbd19dbbd088c8b1c8d9267a46a587d81be1acdcd6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java:435-466 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java:469-498 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d3d57fd1a6468e99b21f1bc8f810106efb3f38a128262ca0a583238c5f076c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:209-223 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:226-240 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:243-257 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:261-275 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:294-308 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:312-326 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:329-343 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:347-361 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:365-386 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:389-405 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:409-425 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dca742ae0a0b20d335dbdc6c1acde5a8385502bf529379b541ffa4fc1db67e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:434-453 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:473-501 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1542-1557 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1683-1707 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2184-2200 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2263-2281 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2897-2916 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3347-3373 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4847e981680b1c4f7fd77b5cd821bcd76b3448b38e4baa2994ec361c46d788"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1621-1639 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3595-3609 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3611-3625 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3627-3640 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3672-3686 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3688-3702 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3704-3717 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6a0fb554495633360f76632b01d3e6535e0b630dc695be212cd8c206a25697"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:273-286 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:290-303 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:307-320 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:342-355 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:359-372 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:376-389 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:393-406 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cff15559f8c2a2b0e4299705c613ee70e414d37780e21ba628faaa718ed7d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:90-223 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:79-225 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:55-112 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopLiteMessageProcessor.java:166-231 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:221-647 | broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java:306-610 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d9f85f885b3c01ab3ab540c34228cde621c29a2ecaa408562ff76d4642b508"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:139-151 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:155-169 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:173-185 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:189-201 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:205-217 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:221-233 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"880b140126c9596aaed06dc25419395c5dc159008caa8ee2386805c88275de6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:85-102 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:123-140 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:169-186 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:207-224 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:253-270 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:291-308 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81f5f67d0334e573d27542262b980200283c4946c1413291047a43ffb0bf2e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:88-224 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:79-225 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:221-647 | broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:88-150 | broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:153-213 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"235383ccf261c070a93b4c4959d743fbe436514d71f4c6aa46fba2b78afa51e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:202-220 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:248-266 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:285-304 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:306-325 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:327-346 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6517ea228105c8242eafc05997ee863fb70aa225f7261e390110507623580a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:426-446 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:625-644 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3404-3420 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3572-3593 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3979e29fdf47810d9728bab295ac7b73d2fe3a6932820260cd1a12e5ebe92b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:194-211 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:213-229 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:231-247 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:249-265 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22bf368357aa94b154dcc1ee0ef133308513f759e4dec85d52a1ad26a18243b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1439-1460 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2447-2475 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2480-2502 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2776-2805 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f0f4b1ea7ece17237bc6f0c8716525bd708063891541bd4b1b807a13e5e103"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1736-1756 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1946-1966 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1987-2003 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2006-2021 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7914920799d9f68318c239888226d280e10b555db29fd685a5f111aa57b66d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2329-2356 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2359-2384 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3143-3173 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3517-3542 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a0a37676304bb7bc94bc89659bfcf2a96fa9271a78a269f3bee8e17b592e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:91-144 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:103-161 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:76-128 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:94-152 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece42a18747afd28562062c7c6d2e699e5fd13123f8a3db2e9edd965767d12c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:664-694 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:720-752 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:799-837 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:862-931 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50b4ec4119cbca7c1ecc3c5baae0aa2b9cc6aaa6dd93c81ba3a636f318722b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:363-401 | common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java:55-85 | common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java:58-96 | common/src/main/java/org/apache/rocketmq/common/compression/ZstdCompressor.java:55-85 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3493bd043bf80b187381f69802338504f3aff833ab4c2f363decf6710c21d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:999-1170 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1172-1327 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:523-539 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:645-786 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ca791bf6c074f7c3d4dabb07884217ca9c1463580a9fdd49da40bfff8edddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 98\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:342-469 | controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java:292-389 | proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java:137-239 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 98 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"936d9a64e0a51a7828ffad4a5ee64e0c13026023d3b04d70ae4aef55fac66e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:555-634 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:637-715 \u2014 These two members are one piece of code written twice and then edited apart: 79 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"942cbbf6f9cd4b1f31cbc167809ca653d24641a5d5080483d0cc2be48e396829"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:338-422 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:345-437 \u2014 These two members are one piece of code written twice and then edited apart: 85 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d829e9549218bec9d5bf57e09dde5b6c916a8f5e7221fd51800c4124d62a3267"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (98 corresponding lines): common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:196-305 | common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:315-412 \u2014 These two members are one piece of code written twice and then edited apart: 98 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac1dbd89c4f6954b48c82cec9ccbcc2a2b35057bd18ec03cc89dd0d86fb06b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:1184-1268 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:1102-1198 \u2014 These two members are one piece of code written twice and then edited apart: 85 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37865e797afd5afe953e584f76d39fe93ca68987a04f6d04ff4177ba92c1e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:239-306 | broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java:127-191 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9160193cb56679dba8cc8e8f1527fe2d8f2d3918bbd4b8077082075be20c4e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:772-850 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3070-3139 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca9cf387a0e32b4093197397119d80d98ebe912ca2ad4beec1f6eec922b07c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java:73-156 | broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java:158-211 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"246a6dd571077e89a786f344f72fc6e0ff69e62fc06c1f50a6ab5d0256eaf27c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java:74-146 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:94-166 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6abbdcc949c4157fb17677a1442b425256594f2a33f84e51566ae8a6500f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java:234-283 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java:286-334 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f367650fcce2fdd5bfebd810a2ca205ff3bb25d9dde7b778f3800c6df5badf44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java:90-154 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePushImpl.java:166-248 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb28b333ce5452b9f436c70d9335dd2cfa74c63ddd9fc1aef0335eefd9fc3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1967-2038 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:70-125 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b7afdc7f397d8f7125fafcb32967be557264b978028d4b8898ad6d601a908c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 68\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:257-328 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:314-397 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:224-291 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 68 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf014602afd16285542961080e83076fc76d2250efc2b312b5598dab7f25a691"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:231-285 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:54-111 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f20e23374ac5db44371e518346783095563e5ed362628e622dfae63e344c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:814-885 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1840-1899 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4f782d9906ae65b3eb40b28bdb670acd4f6021fc950228e88200d3670b8d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:674-734 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:765-825 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2377b11a1314c808d34f816c7866e2a1e757b698b4393f73ec3e61f754a5a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:658-693 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:713-748 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a531e8f5c2bbb3180e86610779b037c5ea96399e3dbb8af14c7c0c20aaf1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1331-1373 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1399-1438 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfe82257c856e62c176cc6ed0a0101d4a90eafee631ecfff636f0546fc09e33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:922-970 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1763-1804 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"108c1480edb8ec6c9f301325eee3a389a6053ed160be076e39f8ea9ed7a232a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1210-1264 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:750-807 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"181b53da80dfce543ab59dad1793ef2f6ab62759075afa0405e29fd87039ff88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:178-217 | broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:251-289 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad63f198723aa414a2a7980047ef0ea4ee14583122fc913afa8b26102449f054"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java:225-264 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java:386-421 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"10949ad28bb84b73ddb1e9d9fbfdac204e2ab768db687c11d8bb1a5350f7f953"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java:52-104 | broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java:124-190 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5eb0b458d46edced107a11e5f51b5479180ae3cfdd7e68af0fc896bb1b0521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java:198-244 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:315-355 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"04819520d4aff67c0cf9f3b7aa5363e4961d5b81e80f0e7d5fc6301e39674375"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:479-507 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:510-535 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba8a533d8eb7a2aa7205155814cbf5730e13934ebea33cd56ed6bcdd80f22cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:153-201 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:246-294 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a05cc2679ac4de19beb623c42b26a2d954220b9386b165fa322c3f1d53aa20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java:45-75 | store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java:51-84 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb906de0a84ef1903617eca862c0a659b1a88b9caae6a3f21ca04db6abe446c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java:468-492 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java:666-690 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3be7f87bb36ea83e37d151086eda8c585e1b88598abd10c0db97f1c1bf14de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java:165-195 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:263-301 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"badc022c6a41a1c0a4388fbea207ac2e06bfa19095ce8df7c8d70a17d296256f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:708-753 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:756-787 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7af45a00d1e4a8e215086cc37de108ef6a444f065ada3e5037057b95581ccbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:685-718 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1335-1368 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"190ab2b6fa57e48c12052ac36daea226a81eef6240f61e6ec2d8164cc1e1d000"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1191-1243 | store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java:333-385 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"10154bbceb9f3a2e3267258967698d7d3d22e09f3e3bb8f88427bee8552d2d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1961-1998 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2020-2051 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java:96-130 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fc4aeb64a0321f51af69697a3e6e410862da15cf2a874e3240a65f4bdeb08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java:303-345 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java:380-430 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"db345d085852264ac121bf40e85bea1b7d8ec1373cc1acf86aa90e57e9fdef8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:421-466 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:468-514 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4230cf707ed304412bb148563f8a3f39e01fa920bbc049db3d9f209e3b3d466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1667-1699 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1701-1739 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb157b9cdb9564f6b8cf8d55ff22de208a1304965a202d51570ae217cda83293"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java:355-387 | broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java:107-143 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"beac9b53b3694b135ced69f8ed59f81856e8437ecee6a216e229c1875662d277"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:184-217 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java:227-260 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"271ee0886536dd164cd2e2a997fae000bca5d73c7d90be48bad59ccb188c5462"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageOpenTracingHookImpl.java:49-78 | client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionOpenTracingHookImpl.java:45-70 | client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageOpenTracingHookImpl.java:45-67 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageOpenTracingHookImpl.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad205660a138c1402a6691799dab070249ae8be53c58299e3a95cc5b0030c2a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): container/src/main/java/org/apache/rocketmq/container/BrokerContainer.java:326-360 | container/src/main/java/org/apache/rocketmq/container/BrokerContainer.java:369-404 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/src/main/java/org/apache/rocketmq/container/BrokerContainer.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f2f6effb6ba3b974d81bf5ba0bd52d84f64821d28feb2dcf5f2cffb2a58cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:300-332 | proxy/src/main/java/org/apache/rocketmq/proxy/config/ProxyConfig.java:352-376 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:291-320 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"289a028242e7898192bc3840ac0373b9d88f728b09ca7f1b73a5546a6a2cf056"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): common/src/main/java/org/apache/rocketmq/common/config/ConfigHelper.java:41-76 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:99-132 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/config/ConfigHelper.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"13714da3d7fff5eabb4ced7a8e7fd2c3083b81eb38ab80d91577cf261e06af62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3276-3305 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3308-3344 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4efca9da43212ba9a664874c8b34bfd26b3ef89d8c09997a51e2b2d7834808"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java:59-84 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/TopicConfigManagerV2.java:61-88 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9368a97708b9718a17c479e27ec4228aa2111c3fb1bff6028aefc9855c31b769"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:334-364 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1245-1276 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1a2edf6d6bd4a006318bd7f28329c8d6445dc975ac063cf69fa17d61132199"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/transaction/AbstractTransactionalMessageCheckListener.java:51-70 | broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java:219-246 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/AbstractTransactionalMessageCheckListener.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b20fd2cc3f9829d2b87643046f642f279b5fa233b05ef72a5e849b5c5927465"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1176-1209 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:312-343 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"91735b78467ee06dde6edd562e81a25791dc5f7aa6c41b0a57eb835e5dbde543"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java:157-180 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java:190-215 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9da09ce1c7e4fed9cd537ad7c5ea841e2d8cd526b00b3c5518c95858b86d62d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:775-797 | store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java:334-361 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32405750f06dabdd6f8c1013051d161ae92bbee70c5d230c7fa7ecbedcbd1b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerController.java:187-213 | controller/src/main/java/org/apache/rocketmq/controller/impl/JRaftControllerStateMachine.java:187-214 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerController.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"91da0aaf6674fad750bcab83859a171388d52468521867bebbb2c2ad43994e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3426-3450 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3453-3478 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3426}}}],"partialFingerprints":{"codehealthFindingId/v1":"de935542c645f8ef86e2657659ec46f23d7d11ad188b876349b3e6b80ef94ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:434-459 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3120-3150 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84412e701204e205edeb4bd5e5e5786319c84c6a7e59f24fadabeece604f04a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/PosixFileSegment.java:180-209 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/PosixFileSegment.java:214-245 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/PosixFileSegment.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c66c31d8547e76768a276f6579cd394e96ed5aa3ad7657faea307a6240fdb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:269-296 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:298-327 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"626067e99a9f9155f536533799bd87afde51802ae93f5d73b152d10d0aa57c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3096-3117 | broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/DefaultTransactionalMessageCheckListener.java:61-79 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3096}}}],"partialFingerprints":{"codehealthFindingId/v1":"565ae5aed6abce030c9ab964e1e5ea6e1eaa758e058f1927f718c88d0b30f742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2808-2835 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2838-2864 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2867-2893 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b06cb781235f8a19eb77c269fdd0c1546aea5fdd70e7c0d9a54aaf67fe4226"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1622-1650 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1682-1710 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ef9262ace6b065e34da21d75d8073b4841fcbc0b1dec6eb6a20da199678d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java:44-63 | proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java:68-87 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbcf089df6690e760cd0ef7b92388c688022f62b32c646313bff5af6e4f23d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:61-78 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:105-123 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30d2feedef1b7e4eecfd44e40d5a3847fc49467ff5eafa12067df51eba58470"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3178-3200 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3491-3513 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3178}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b58279cdc3177030454dd12134b342dfa208bc4f2b2dc604ff7a5a972643b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:205-235 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:237-262 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:264-289 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"570798add10236cf6928f4912cac7cecce94650a1f40686d3417fd0b0c5fa7a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:229-248 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:250-269 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cef05436caae4fe72f340d446591f3081bc5ffc22e1eee884520391740ed96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java:116-152 | proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java:154-189 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"066a90d22372b4946040e34826a1ec4cf9a574d7b5bf2864430e08abd63a561e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:452-474 | broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:139-162 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a4d484c8269b0d9c9eea0a3cc1306b5d86ea7c594294afb32ba68b2796590d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:208-233 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:236-255 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1539bfcbd3b74990b0e553d7238e0ebdbd4db4ab364df9842f440a5327f7dcde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:479-524 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:527-560 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:563-596 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eba0c04134f60dc57a0c922329f23a0a93f3c7197cc97088466be827bcb57af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java:86-109 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/TopicConfigManagerV2.java:98-123 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"175da150639f2b342fd248a723c210eec6e2a956ce59b91280cf8f1cc2e1e772"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1003-1041 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1044-1071 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:242-281 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee505c451f1a3a4fe33e870cb99182e7e38d4ad10fa385e63c6a00ccb236619"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:961-989 | store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:992-1014 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea4c7fc5a848510c15a6a1beba197a59e898379e74d105800789089c4adbe1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:389-434 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:436-474 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e19d4a3d9be0e3b808507d9032cfb45367ece3568f92ec794060f776642cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/ChangeInvisibleDurationActivity.java:43-73 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/producer/ForwardMessageToDLQActivity.java:40-67 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/ChangeInvisibleDurationActivity.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7345d33e8c3b72a950130ab087363ceb277190223c9ddcf7a4c5d4fc8e02fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:95-118 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:93-124 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d0671ae54ea61e7899bc482344190f82078c823244b6893f0eab2e2f1eab83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:354-381 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:415-439 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a530e89255584a5204578bc403e9b97452579a9d68da22d502db5312524ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiator.java:228-251 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:801-823 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiator.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6ff86108402b1353147df9a5c4b41158c3caa2937e2f75d3740b2a46c8a4d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:665-693 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:166-194 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1609753bdbb74b0610336c7bf562dfbd7cefa704e85de6939e7e715d8ba2662"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java:348-373 | broker/src/main/java/org/apache/rocketmq/broker/dledger/DLedgerRoleChangeHandler.java:106-134 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6874536a3042a8b9ae937df2409af1270ff79ba82f6644e130c9f56a071bdcd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:384-413 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:442-469 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c30c08c5cde12f0e3b7d85abec312c7fe1c317e3726787d19ad50c3eae6f84e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:341-362 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:255-275 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:787-802 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f46f95bc36a875601f4b9be69c7e4ac9aeb8561556e7d341983f7e640902dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1051-1070 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1072-1091 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1093-1113 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"796601059e080742f84920aae76af5d956ef6a3fbb93bbddb6cc6812f3947ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:341-367 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:308-334 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e77a3ef6cd0f78544ece3dc0550973bf6737077c2cf5575c702bd0e5ce5e2f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicRouteInfoManager.java:221-248 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:1311-1343 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicRouteInfoManager.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d508e577196f792833cdc7a6159937ee32a8da5d02d11802b984cce10ab2b8ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java:75-92 | remoting/src/main/java/org/apache/rocketmq/remoting/metrics/RemotingMetricsManager.java:69-88 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8632674c6f4fa37fa42fd2cc57f3450666549f75c28809dc9b8c52761bbf5104"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:413-449 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:772-817 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33bdbc27a4bc322c897f9396fca9f1cee7561f26e4074e644ac570b26b09c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): common/src/main/java/org/apache/rocketmq/common/utils/HttpTinyClient.java:33-60 | common/src/main/java/org/apache/rocketmq/common/utils/HttpTinyClient.java:96-125 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/HttpTinyClient.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e0125504ed0a0a976518cff94e19a83c35a44942b45e7b927513005dbbd73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java:133-151 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java:154-172 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ef299767cdd3d98545efa7c9a5b524ee906d920be93b523c954b767c1f00c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1058-1091 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1097-1128 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cb54cd2cb0e63dbf941178fe197a24b07bb96e16e05466bdd2d0e6b2140447"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): common/src/main/java/org/apache/rocketmq/common/config/ConfigHelper.java:78-118 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:189-218 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/config/ConfigHelper.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"13500bcb7b01275365a0f545c70b6094bd27f98e83a3268ab4245cf37f867c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): openmessaging/src/main/java/io/openmessaging/rocketmq/utils/BeanUtils.java:137-160 | openmessaging/src/main/java/io/openmessaging/rocketmq/utils/BeanUtils.java:162-184 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/utils/BeanUtils.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99381f115a8636c3faefacae6aa02a936f03d1c8b58c9c7e95b55cd421f67d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java:122-154 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:369-399 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f4a0f43240e4a1e09f18e19f0b3c6d9d7c5092b2665c93763b80c3954713c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2165-2190 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2192-2219 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2221-2246 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4704c027f2e3dc0b18d79f409b78d90f191079a8dee61834908fda28a74c943e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1731-1765 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1842-1872 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"6286e1e745aa9a0abcc12f1a6a259a26be55411aadfe8be5b1edadc0f54278e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1562-1587 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1086-1111 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b7c26a7bc6597cf45f174247c79d773c12ae06433a69c6e81cfdf9ecc8aef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:326-347 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:350-373 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e89e9caa3f4d045d7b6cc7bb4c758d7c3de616f853bed4845b14673916b7861"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1386-1408 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1488-1510 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ad86862e8bdadd316ffed43960693cd2e0f38a95adda86d7191e8975aea001"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiator.java:172-195 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:481-505 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiator.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2c227c933612faaf4c3b274d477a0c41a6ca2918d5b8f7c65bd7bc8c452cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java:375-399 | broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java:559-581 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"225fd607c73270659b7c4ab248df73880fda67fb12c98b9b2976a97ac1d1a868"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java:215-238 | proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java:240-264 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"473a4b97cf72795798afed97da5fa0d073364992621e9968f140524b0cabaaca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java:248-264 | store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java:425-439 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"846a1c5a2769742babeb49026bee2bf22019b612438f11747838fb9056f4abbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:408-428 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java:131-151 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/TopicConfigManagerV2.java:143-164 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77b2cc0b0b2479e71aa23b344bf575ee61a07d51d9bb8fd94987c4924c8bd15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java:280-298 | store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java:187-211 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4287acac064b3264588b3d9fa5896bf5efcdf8f0d9406a526055ffd9bee15d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java:576-601 | broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java:604-628 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f82881cba91470685944f4d2fc6318139af7febdda7af10e88f2f5e7ecc68ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:122-135 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:237-252 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"782b5fe5f5df9c874c56fd256b98c0e0daa2d3ec993155db055aaa3797bb38f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1739-1767 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1784-1805 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ada0977668ea6da3e46ae80362b8b13c02a7ec1ec506edfae5f33e5769216ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1653-1678 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1714-1736 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"167483a2d79c66defaf32ab373e051443303304091d546bd3631d2b72ae45354"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java:38-59 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java:61-82 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecad036e1ac87999eb01c77fd2a266c5c004de25df0f73ed9ea087515439a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java:279-295 | broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java:297-313 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"de16d4cd38c9653d0a981887d8411d3e708ea1ff1b27eb479505ce2bc64c2f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:419-441 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:548-570 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5c87f485d1700cdf7d2c3d2d37ad8fd3970d26de66738851efe05fb93aec0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java:180-191 | controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/RaftBrokerHeartBeatManager.java:259-271 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b46b33687c9ef70fb8342be153a8a9115cd9d69018859137e591b2c5c494426"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingInfo.java:106-119 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingOne.java:59-76 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingInfo.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc6b5d184ba45002105891eac3c8696f142cc3ff76fa1ebfeeb2474d19dab15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:35-50 | proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:52-68 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32a3944e18348a85e9af1912dd9014fad30f590336072b7c794209aee93a33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataCgCtrService.java:75-96 | broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataPullRequestHoldService.java:62-80 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PullRequestHoldService.java:69-91 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:2396-2421 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataCgCtrService.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1496a778ecfd01d776e2a0d44c12721ccfbcbec7c1c6e9219f5678cbdffe13b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java:52-73 | auth/src/main/java/org/apache/rocketmq/auth/authorization/provider/LocalAuthorizationMetadataProvider.java:57-77 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d6ca8c375ab15b3d45b825e988e087df4826a8bac5526757931739d6fddadd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3452-3472 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3546-3568 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a120577bd63801ba7aba99b7a4c646515487457be428ac7caf819d2c553a3953"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java:272-300 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java:240-263 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c92bb467c4497da52e6c6c6053a603348e0e864d082b915d4b9115cb1341ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1376-1396 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1502-1521 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3db372c4605a905b6850a7000146c0c2ae7afec89023c0ddc6ead15e90aa729"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:152-172 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:521-544 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b17b692d4b1b4ab1e9175ef7bb24910b2fb799c1a68d762fcd0452aa4c64c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:263-286 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:402-423 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f200f95265138f7b629f1c896276aad1752c0b3622cdd3487c54c0bb57e3be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/PopRequest.java:90-120 | common/src/main/java/org/apache/rocketmq/common/message/MessageQueue.java:78-99 | common/src/main/java/org/apache/rocketmq/common/message/MessageQueueForC.java:71-96 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PopRequest.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7924fe1d2c89e399a47893ac5e44524f57d07ff4517cc1a8eb63e0d1771ba7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:599-616 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:619-637 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:660-679 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:682-699 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a02a21d8c6fe2fe7c26772266d5dc81f12ca5924cbe2e8722638618f0b07fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:72-86 | broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:118-136 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a53cdd415b69c4a40de592f45f4611f7f1d84c0f7b91cb4db1e8557ce75b040"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2203-2221 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2285-2304 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"06064b48dc5cbce34ba94e400ea665fa562c2909e47db67b3a794c41245d7ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:527-544 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:546-568 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dac9ed06d7ac3345e9f29331a0a1425edc316822f43fd79acb28eea4dc0c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): common/src/main/java/org/apache/rocketmq/common/utils/CleanupPolicyUtils.java:32-49 | common/src/main/java/org/apache/rocketmq/common/utils/QueueTypeUtils.java:33-50 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/CleanupPolicyUtils.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aebdfd164a210d2c33ea2abb242468dea5e1fb8eccf2d6e57dd5b0fc5e4618"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): filter/src/main/java/org/apache/rocketmq/filter/expression/LogicExpression.java:36-59 | filter/src/main/java/org/apache/rocketmq/filter/expression/LogicExpression.java:61-85 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/expression/LogicExpression.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee6463ea60b85e0b8fb1322d614ef30935e579a98ce011764efcc8515d52b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:859-869 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:873-883 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"b487f6730b7dbbb3b7f21decde1590c354550e38469c7826d57271c774c52e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:733-746 | auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:772-784 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44271cbf7cf286638f36472dc7816dde3feba03e3557a90cbe83ebdc3147c22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java:153-182 | store/src/main/java/org/apache/rocketmq/store/ha/io/AbstractHAReader.java:33-63 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"78473ccd475d9500b1cb7ec60d9f955c4fe534a4f5669f4d6fb603a825c391a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java:251-270 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java:341-357 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd28528cedff3bc0ec7be11122617139b8aec9c1eddf3ef80ab724a771ba4b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java:47-63 | auth/src/main/java/org/apache/rocketmq/auth/authorization/factory/AuthorizationFactory.java:48-65 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b120ceb79a0c3e1d935d1922d38c2180e9033177d29383351b82a3427a33ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:377-401 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1484-1511 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae311645cf14c5484f2ea3472b4687f47f78973908473bbf579ff2848093532"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:554-575 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1394-1419 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1643f1467bb41ae38b7bb2a38fc9114adc0c259ea880a880b3c0583f0680c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1885-1912 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:283-316 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a90fc43cbab6f9b0f2756b230ef5a9b511d8225241794bce480814b26b3ee1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java:74-92 | auth/src/main/java/org/apache/rocketmq/auth/authorization/factory/AuthorizationFactory.java:76-94 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa095994d78d70e7ab86a8fffc20798dc59888d64fa1123c17bad468694ce000"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3403-3423 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3505-3528 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3531-3553 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3403}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd03c2fa133a9fd40b4aa900c91b85aa3a57bd8930ace93fae6e4a8d90edaa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:439-467 | store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:476-501 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed56366d78824c13cdfe2a09bafddc9bf82508119915cc01e78368a29b6fa64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/strategy/StatefulAuthenticationStrategy.java:44-64 | auth/src/main/java/org/apache/rocketmq/auth/authorization/strategy/StatefulAuthorizationStrategy.java:44-60 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/strategy/StatefulAuthenticationStrategy.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cd48e6da033de606d3fb99a71b3e70b341a82f72c12416107d5ba68235cd4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java:123-134 | common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java:266-277 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d85ae0b4eba09fbcec9a1583c4107dc57646ca88ae1913799fb5dc05dedbb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): store/src/main/java/org/apache/rocketmq/store/timer/TimerWheel.java:326-344 | store/src/main/java/org/apache/rocketmq/store/timer/TimerWheel.java:350-363 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerWheel.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34214d87e29b72323628fea202a9c011fa018e7e83d534aa3e2d27d2ad97de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/strategy/AbstractAuthenticationStrategy.java:40-64 | auth/src/main/java/org/apache/rocketmq/auth/authorization/strategy/AbstractAuthorizationStrategy.java:50-74 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/strategy/AbstractAuthenticationStrategy.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb6782de3abc5257caacb28fe5d5efd70b4274d47dc56d91a7e6a79a3c9ddde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:141-158 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java:176-194 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"740c1406199f533f94c31a28a76f8385a7f6ed214117f59d2f26fa7d3134dcb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1760-1778 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1799-1819 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2506-2523 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2527-2544 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01af6d8ff169e4f750960051e1074dbae81f22bba690be63c25348525427300"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:224-246 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:268-283 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfc230ec396bdcd80d445a38672f4a97de45ba9b3fe0ba9673c29da03b1d76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 20\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1010-1030 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1033-1052 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1354-1375 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1411-1433 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1463-1485 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05db6b90be95a32bcb8f89dd51d118f5d1dcda4f4a7776f19a39b289d70e9c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1393-1409 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1437-1448 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e6be062d6eb59a264e87f96257c0ebabdefd4d0e0d656143df13258cf4f1e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:696-710 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:751-767 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"667f0fa5fe0ff9f5091af1b314c5ab33590d7b70191386d522f5a08505ebe176"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2594-2613 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2643-2661 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2715-2739 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2746-2771 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"632bf0356c5eb0e4f9b9cea5dd4f7d73a0c5001e072ba4ff2961dcaa5003b25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1188-1204 | proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/AbstractSystemMessageSyncer.java:133-148 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39bef9628673c2edfd89f2de9b5a353218b0014aa02830ba35fff9ab09416c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:934-946 | store/src/main/java/org/apache/rocketmq/store/pop/AckMsg.java:101-112 | store/src/main/java/org/apache/rocketmq/store/pop/BatchAckMsg.java:39-50 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"704ef478485aa264301b3924730a05243f11c15f7fae018844c6030c5e5c8164"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:155-179 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingManager.java:262-277 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"770b461adf8d63828044e303d8088cb0104d2be663d9ae9e8ca09b7968c0ce7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:404-423 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:426-442 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"2937a3516260213062832b7fcf8bb4a6d2a9716aeff1be0a1df3f8edf4405617"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:1206-1221 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:638-653 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad845c9d5f5b2f9243e4abbd6110f8d91028654de75346c297f688ddc5a2043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1420-1435 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1560-1577 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed418427cdfa30921c6b544329a542538d33367a44da9650d7d2805d9b0be2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2393-2413 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2435-2454 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f9b9577d18044c0225570ddb7826e5958e89cc0eff7f098b77c2875b25fd19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java:262-281 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java:368-387 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"213d64fab9674df761e3c20dd07f19df0c55b131866738099ee9ebbeec8019c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:52-67 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:51-66 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:45-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d668fd800d9fa6db652f343ac76bc7fb5c19d8b1449daa7631ac96aed60145c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:972-985 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:987-1000 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44a81b90ae5a6f6d67488329d9651ce1c97edfabc1a5461402d75c7fedb08cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/slave/SlaveSynchronize.java:125-140 | broker/src/main/java/org/apache/rocketmq/broker/slave/SlaveSynchronize.java:142-165 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/slave/SlaveSynchronize.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e99224355b2a081c4a97602c57d70829c37ec3c558146c8b0f865de0a6f5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:426-441 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:444-459 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:462-476 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:537-550 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:552-565 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"0631b9c29bea97a33d38796f7f5b726c0efb8a6c43d62efeb7365efe6bbd0f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1372-1386 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1454-1468 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9205a0e57db336e620049908e9b6fbbd3c875c85dc3cd472a4d51d307ef928d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConfigStorage.java:209-229 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1768-1792 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1874-1901 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConfigStorage.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1790e1968ca522c1ca2c2fd98b6e3c85a677d36c3708d93d014b16ea9fe677"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1276-1303 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2092-2118 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2121-2137 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2920-2941 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2950-2970 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1c2a97e8f51cde6e165e690d98e73f8fce3af2ea3a2860b6f34c95ef399953"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1073-1091 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:650-669 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4aea44317b1eadba7763b7192d815c6899fdf921ebb11e2b0c1877b2ba28b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java:107-125 | store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java:158-176 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"532829ff7d6556295a8d0c53946c6772a98b4b7f3ac94e227e2a4757c348ce31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java:72-88 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java:110-126 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java:167-183 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a95c2b226b2d32a1783edba2b57ba15b7565a819b33244ffdd1dd0574c5df69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3206-3225 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3228-3239 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e588478cea22655cd5479c0d586fcd547210b9edaa8e9ef9cc3175ea8d835c99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:179-200 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:497-514 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcd8467c71f3021024e54a878d008004bbde42e7fef7cf2b1da244deaedd143"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:387-405 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:431-449 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef1e47adada0c9575ae2c937994e6622c900fb79db6d34df85340fedc3b32ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java:156-167 | common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java:169-180 | common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java:182-193 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5282d92b3b6d3845fbcc24b8d66d799b3a17ea272b6a1cbd6bf70a91077407"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:843-865 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:870-893 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1050-1072 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c245ae20fda4e4644ee7cf79c53f87020d27fdb8f521e3dc3beb6095743d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/PopInflightMessageCounter.java:92-106 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopInflightMessageCounter.java:108-122 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopInflightMessageCounter.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c10228dd467c4521de52062f7dc19efbef285ed141cb4636549241c301a486e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3657-3670 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3734-3747 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3657}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc49504e08e4a3d2dbb204e74454fbd05b7afc396bff1f0317d1b4f9ed913e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java:57-78 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java:200-220 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"389a63871588125481cdb5437a9c8101dc1b2de27ef094e68c1ee74ee3b65ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): common/src/main/java/org/apache/rocketmq/common/lite/LiteUtil.java:56-68 | common/src/main/java/org/apache/rocketmq/common/lite/LiteUtil.java:70-82 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/lite/LiteUtil.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ba441ee9e2b62bde3c1877826c38c8d2c6e07da2d6b3ca7a03ad7a168fd00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java:163-174 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/TopicConfigManagerV2.java:167-180 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be3a912c0dcdb780bc24a6933e29f957723676e602f20faf2a3fbe709a4a53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:392-409 | broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:367-385 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:676-694 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee4e6d217328819d75d5ad2ae4354c0bdbb4e765c1a1f84fe84816628525d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:854-868 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:872-886 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"3504ee6040b0587de2a829464252657e14d819912070b0523735d3468651c617"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:476-497 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:499-519 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b016ec09451fca11244fbfcec3559d7b7a6ae458548cb12685eac6f37eb2f19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2141-2159 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2163-2181 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2307-2326 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2387-2403 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9d0092ac5bf270b08c6901367f8284b39291147285910cf049a239b2df6653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:230-251 | client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:253-275 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcfe4def1b54956e4b2c687cf9f4377d6efb41732911bc521011a6684e35073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:456-469 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:504-519 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3260-3277 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3303-3318 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5fa516bce6edd4ac9c8ed01efd95d660d4411b7cd090201231795f90fa16c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2224-2239 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2243-2259 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63186249115b8043487e16beed02b528c5d7e792a085cafdcc296b25b2d296b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:93-110 | client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:140-155 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b45bc4901b22a03121582a93ff04a581c8b4d1cee66efb1025b6ae3682af9f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): controller/src/main/java/org/apache/rocketmq/controller/impl/task/RaftBrokerHeartBeatEventRequest.java:46-60 | controller/src/main/java/org/apache/rocketmq/controller/impl/task/RaftBrokerHeartBeatEventRequest.java:76-86 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/task/RaftBrokerHeartBeatEventRequest.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2572de2840551fc8facf816397769ee809ddfc629b96a5f77523517cdb7ac9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1305-1318 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2064-2078 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"653a0cdb08be191b7a4e4962d9788f017edd42c45f15034bade57f0a184856f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerLockService.java:71-81 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:1074-1092 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerLockService.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd1f438c79c1be184096701d873e734edc84747b48cd3098754697f03353808"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingInfo.java:122-131 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingOne.java:79-86 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingInfo.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e81e03b4152c9a3b7b56e2814dc9f719cef54369aadaf6c27bb47803fe9c1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3051-3066 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3322-3343 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3386-3401 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3642-3655 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3719-3732 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3051}}}],"partialFingerprints":{"codehealthFindingId/v1":"631d7dc256a8cb853039a6805d906fe59c4faa8fd6f4bb41fdf45d9861215d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): filter/src/main/java/org/apache/rocketmq/filter/expression/LogicExpression.java:39-53 | filter/src/main/java/org/apache/rocketmq/filter/expression/LogicExpression.java:64-79 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/expression/LogicExpression.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9794e1a5db134f8cb143554f576e79d3984815c8a684a19a020180076b6b340d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java:336-344 | remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java:346-358 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"9986c09f9be815dfa3e5f1be3e1dd094e8b253f59fe05e0f04cb888184749fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/WaitNotifyObject.java:45-64 | store/src/main/java/org/apache/rocketmq/store/ha/WaitNotifyObject.java:83-104 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/WaitNotifyObject.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d47923c0b9996066a007d24019abe2510623832d5c57e1996c6d38e2c6204f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java:393-408 | store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java:410-426 | store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java:428-445 | store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java:478-495 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f109cc1957d67ee0a4cbeb7d9f388efcedf4a1e47547fd1132e5054ac9c55d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:160-172 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:175-188 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:141-152 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7c84f2383647812ac1719f7c334bc58c7a052e2b05e2309a004152f12b9566"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:890-903 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:907-920 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1340-1353 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c42ccb416b0066643a0988b4f359605e1d9b1ee9648761d771b3f218bb9f479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:215-234 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:193-212 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b706ea9f2898965910bedfdf29c8572890436cb128422484d62b13e0e520c5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:407-430 | common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java:33-52 | common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java:33-55 | common/src/main/java/org/apache/rocketmq/common/compression/ZstdCompressor.java:33-52 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9e14b3b7dbc3a11d03e3e89c6f31e2175378d15933424a7faf887d48ee5e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:156-168 | common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:170-182 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2750afc091761cb61b607891deebc838874568fb4a6b474fb74de111363520dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:61-83 | store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:86-107 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cd1fe0709d53b5a1fb154da46333914461ab90e65cc6d6159a0d1ea75b438e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1904-1920 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1924-1942 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"b859714acdc6484d17565860421debf2a2674a67926999a9557f7cd406583546"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:209-224 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:361-376 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34944a608ac63795d41cf3b7ac3b2d8f6c6ab525687baf9e259c6d1585e2dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:143-157 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:169-187 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"84509ea8e8e18baaad1ce066314d8c3398ff777b2a14790ff0cf5614813df957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1970-1984 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2024-2039 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3424-3438 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5148b68095ac7e3669ab47c7e1b098e8d3a4ca12a7dfd8bb44e29f4cf0def04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java:122-136 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java:138-150 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:222-234 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:465-476 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb358ba1d5919b45fe72b6cc3708cc5db08cb5f56ae26fcd662f4f357f61d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): common/src/main/java/org/apache/rocketmq/common/statistics/StatisticsBrief.java:104-122 | store/src/main/java/org/apache/rocketmq/store/util/PerfCounter.java:167-180 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/statistics/StatisticsBrief.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"443f6d50074364c62f33953591e65d9f6103a80e8b4f9c1cf127616e474504e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:570-587 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:589-608 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ea681ea9d2089e15420e0a27a9c809aa5e770e4192beb24709dc8c7e06ac12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java:294-306 | store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java:233-244 | store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java:299-311 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4bf6f11a2f80d5ce01858cbbc342512a5ffc140b10ccbb1b0adf7ad2ebe865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3196-3212 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:444-459 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:552-569 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:572-589 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:591-608 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12727b982a83c3057d61d4e6e171bbbc425766d7395348e755cd0afffd31956"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:488-497 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:499-508 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eac72f218876aab4d002c067469ddcb5a0d7b5d29a8c2734bf7395e2e93be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java:103-113 | auth/src/main/java/org/apache/rocketmq/auth/authorization/factory/AuthorizationFactory.java:105-115 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8bf8ab8f31594167dd1fe43a3fc6668199b146ef2104eca093108bb52ab02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1886-1901 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2665-2678 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2681-2694 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2698-2711 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"9791060296de767e15c8204754848861ac42fbd1c60eeb27e422c9897d11e0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/channel/GrpcClientChannel.java:97-115 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java:229-246 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/channel/GrpcClientChannel.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"937cee7ed91501ea706fcabb616342ef9f81b239440c7434f2721de96df30144"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:993-1009 | namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvController.java:158-174 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad2b208bf368f7796eeeb935950c0235741a056be23443f31bc7cab24c0cdee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:410-420 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:1407-1418 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0ec16718b569d8c298a08bb08b32ee117ef90b071bd22d758abd2cdff36793"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java:680-689 | client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java:725-738 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7b5b2af250f72dfbae179180c21345736aacf5ba18836ae2ada42072ad5c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:138-144 | common/src/main/java/org/apache/rocketmq/common/UtilAll.java:194-205 | common/src/main/java/org/apache/rocketmq/common/UtilAll.java:207-217 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5800d7865e8fd9930a16453e196fc960c24bf616e2b5f841486fe434d2bd8dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): namesrv/src/main/java/org/apache/rocketmq/namesrv/kvconfig/KVConfigManager.java:114-132 | namesrv/src/main/java/org/apache/rocketmq/namesrv/kvconfig/KVConfigManager.java:134-152 | namesrv/src/main/java/org/apache/rocketmq/namesrv/kvconfig/KVConfigManager.java:154-170 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/kvconfig/KVConfigManager.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bc7f1d9285122d5f1a6c74919f5cdf1c9c7ba18b88eababdbb8f3c3ea29ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ConsumeQueueExt.java:72-91 | store/src/main/java/org/apache/rocketmq/store/ConsumeQueueExt.java:108-127 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueueExt.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"57987748d431bff279adc9885708eee51d1f8339b4fc1e50f69080da90ae64ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1988-2002 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:86-100 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"397cfbc451d5649f30d57a0147dcec71c895ab41753682c3bdd74efaec42a0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/lite/LiteMetadataUtil.java:116-129 | broker/src/main/java/org/apache/rocketmq/broker/lite/LiteMetadataUtil.java:131-144 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/lite/LiteMetadataUtil.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"849c470549b04d56020adf15e318de1e42b8d64fd925fd718ef7f9a678c74c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java:260-278 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:420-436 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0839603f22b446a10f6b45fc6025e052a432e57aac304951a3c450f311266c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:242-260 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:267-285 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:291-309 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:317-335 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:342-362 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6e76f46ee4d8b0798c5abe293dd336837c6e314f6cae7c96fd347a3bb51ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java:387-419 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java:483-510 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a36382f668d0a5307af1157b08d794d5945a36618b862802675e7b88d12dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2685-2700 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:3116-3133 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2685}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7287a28f353686d04983247858ca338117adbb7a299278007dc26c35d3c37e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2835-2848 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2907-2920 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2965-2978 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2835}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7cda743a6b3fe21de747fa4564b176e9b58ee774d9d6a2d513164d4ea42266"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:259-275 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:278-292 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:789-800 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00eb6196101e7d7c09a839c4faa4ba65ef2da68be94f4fc9dee2e60b0603b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java:298-313 | store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java:326-345 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d8537c82748d76cad81f88e42a59b09f31fb52785afd9dc7654cc38124a8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java:83-103 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/SendMessageRequestHeader.java:185-202 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75bdce517cfdc18b6dc85b16163a10a0958c83c9c44d9b652e592b09c8e8308"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:56-67 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:60-70 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c970ccca2f6e671796d7453d8495a39a5673819ae8aea8b9b6169a93052f6e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:685-701 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:903-922 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6840d385d306cacc37a1f9b7659d42174d25bb9bfe9cbb9262fc26745056352"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:1279-1293 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:1295-1312 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"37aeddbc8d95f331b532d80c9513ee3e765aa151a0e7db785dad7c4d249fd040"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:539-549 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:575-585 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fb07ecc22a27cb883c30ba36f78aaf26c0c425d838255d7ddd94aa080620f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:169-183 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:188-201 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"41518313b441fb016f9fde37565e438856579c7dae9be2e0ec367780fd1f6a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:231-243 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:462-475 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ab4a6c07bb20178b74dbca7655a7344e91cd36bae531d7e4d399555ddb62b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java:308-320 | store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java:622-634 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3857476c3b358c0e1645e2c97739149edbfc29af65496c0679d3be26d7c5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/client/ClientActivity.java:576-589 | proxy/src/main/java/org/apache/rocketmq/proxy/service/receipt/DefaultReceiptHandleManager.java:96-111 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/client/ClientActivity.java"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3a29de66cb580bd11f3502314c247f876387028372a8581e2786275e33c2f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java:146-157 | broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java:160-171 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb90dbdefe0f1f509db8f975a0d12443256e61e3f9a67223ede1b1330f66440"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:348-356 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingManager.java:192-200 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c8d7e29742a5a0b857eef9a36403986f1d8ac2e94b981ee72e3026d76935d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:658-673 | store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:675-686 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"3513dbbc15a2c1b16275498a69e9149693ccea97315dd796b263dd5883b3846e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java:167-177 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:721-730 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1996997165ea75e4e60b63c364dc202fe568173183442d2cbae64c7696b8119c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:146-156 | common/src/main/java/org/apache/rocketmq/common/UtilAll.java:158-168 | common/src/main/java/org/apache/rocketmq/common/message/MessageClientIDSetter.java:50-61 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"037263fab0e7e94ef6a7c2007f93156f14dfdb0229931429005021384a093d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java:528-544 | store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java:149-162 | store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:716-732 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"f779f16541d8065b3e938cc65a79b859d12720313a675380233d38905cdfc03f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:761-771 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:196-206 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af0daba3083f586c9efc617e48ebd13360f7d3c3a7c7867ee44550aba292321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): filter/src/main/java/org/apache/rocketmq/filter/util/BitsArray.java:93-102 | filter/src/main/java/org/apache/rocketmq/filter/util/BitsArray.java:115-124 | filter/src/main/java/org/apache/rocketmq/filter/util/BitsArray.java:134-143 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/util/BitsArray.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1244a294f96fb64a4d33086f87f467864810f4e12c4c32b10e95e1a72dee697f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/common/MessageReceiptHandle.java:84-99 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/NotificationRequestHeader.java:150-164 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopMessageRequestHeader.java:176-191 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/common/MessageReceiptHandle.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6665f8ed719a0c1b8da5712c48f8232a43652177f0f645f091cd3f080a877b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiator.java:263-271 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:826-834 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiator.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f27078364f592bc708d352a603fa7b129c7e05831ffc0126502e57a833e7a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:231-245 | remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:247-261 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fa5c9a300ac63a2819b8924c58ea00359b7a2cea219158142b169fe86e3fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RequestBuilder.java:36-49 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RequestBuilder.java:63-79 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RequestBuilder.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2169ef2c70d1b6de168e537c371bdece1f453878e85c19e5d852d9cd8c58c876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java:82-96 | store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java:98-112 | store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java:114-128 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bd90c6a389679314fb436e0ca44eba7b7c178d7c9e5a22e537cad67ab7b657"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:196-204 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:231-242 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6491f3b2b82be027662ff029d92ea427a3663e28448e0d0857eafbef82be862"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java:163-174 | auth/src/main/java/org/apache/rocketmq/auth/authorization/provider/LocalAuthorizationMetadataProvider.java:191-205 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"953af36543f6ef101251f0f28dd3ba536425dc7bde3f104297e2559a42b88529"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1785-1791 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1821-1827 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc0c9a630f70cfd4e650e70c7c2dba090f535757cd4ee0dfe24676cafedf70b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerRocksdbStore.java:115-126 | broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerRocksdbStore.java:129-140 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerRocksdbStore.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f76777ac3398dbcf689730ad9523da10d19d37d5eed7d9ca4d6c49e94b4cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:478-489 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:1250-1261 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d862220904239985fbd6b5780d430958fef91672584a53991d2b0c4a3349070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:142-154 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:156-168 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc987f2b4ca09b63173acc64015a0c90775701fc8b922207c7ab3d4ad4402cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): store/src/main/java/org/apache/rocketmq/store/index/IndexService.java:155-167 | store/src/main/java/org/apache/rocketmq/store/index/IndexService.java:408-424 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"50688e5bbc27aa27c185db918494c15551682802a619b02e24ac48623649e2bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java:347-365 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java:359-377 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef7838e366cff35234194f8540a5734e9d69643f7e1ee5741a02d7fe222a1db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/loadbalance/MessageRequestModeManager.java:41-52 | common/src/main/java/org/apache/rocketmq/common/statistics/StatisticsItemScheduledIncrementPrinter.java:138-151 | common/src/main/java/org/apache/rocketmq/common/statistics/StatisticsItemScheduledIncrementPrinter.java:154-165 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/loadbalance/MessageRequestModeManager.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"261d6910334b75aca7ac735b85525d23402a58d7d4847e41bae10c7f6ed7313b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:309-327 | controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java:181-199 | proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java:116-134 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bc614993191228c4680d6321c2b40b011e113b5c32c679766ddcaa04d3c04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java:46-55 | client/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java:57-67 | client/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java:79-88 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69aed30119f7e4f54aa05af7f7e98adfa567739b97681cda0b4dc8d9f975835"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:192-205 | common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:208-221 | common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:235-247 | common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:250-262 | common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:266-278 | common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:311-324 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5de04dc6f9cd43091b4da7ee22c1dc83b0bb3d8a743bfb8230d648052ad7183"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/ClusterMetadataService.java:184-193 | proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/ClusterMetadataService.java:230-243 | proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/ClusterMetadataService.java:258-271 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/ClusterMetadataService.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"112c94130c4666ca679d9270408b6c06f751f30a3e4953c65107db5f77c61064"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:1061-1073 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:1075-1088 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffe5df5da0e3588d16c9d276b7ff0963757b83e8fea4986a185eb5c09212149"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:159-167 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:1282-1290 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:153-161 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:212-220 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd784034525024f55b919a333a2dfcb5f33caa07a94023e77b9eb560b534518f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3774-3792 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:276-299 | remoting/src/main/java/org/apache/rocketmq/remoting/RemotingClient.java:51-75 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3774}}}],"partialFingerprints":{"codehealthFindingId/v1":"4374d44761d56244d57082c1e7375c1b22b7fcac9f9dc9805b92129b3f8fe0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:1081-1093 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:287-299 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcd904b24d62f9a6afa5e05533c7fa2f5816a6492d7318e73e84de428c07412"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java:87-95 | common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java:97-105 | common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java:180-188 | common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java:190-198 | common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java:200-208 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"983da22cb2f57aae34731af81b6e114c0e63c89aba08998c32f7a32d2145ee0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java:107-121 | common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java:218-235 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55876d47c5e36c2d33473e2bac83fa9a1863c29c2ebda44e8e161198b175032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcClientSettingsManager.java:70-82 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcClientSettingsManager.java:204-214 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcClientSettingsManager.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb0b93f6fa8823271e41679c41f1a84b72ef5923eee5cdcdde04b37e3cb8f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:1163-1171 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:1174-1183 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:1186-1195 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:1224-1231 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cea76dcef1bbd837c06af055606d92e76276fd9e38405277333438abd8d772c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1336-1349 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:338-356 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9b0debc8fe6f57746b8578217a95863ae27f41722d7316b48a4ce4f8a1f784"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1355-1363 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1412-1421 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1424-1433 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3441-3449 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3807-3816 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c40ba482908b780391afea061715445933f00d764c757cff116152001996a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:152-165 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:301-312 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b707dcb01071c9a0e804a429ef4efbfdc52b91e82c2f16bd06a84b56b82875"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2318-2334 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2336-2352 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da2ff328ed198e3e843c67370b57abb55c5f83694fca215bf7e7717da3762ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/metrics/BatchSplittingMetricExporter.java:467-482 | broker/src/main/java/org/apache/rocketmq/broker/metrics/BatchSplittingMetricExporter.java:495-510 | broker/src/main/java/org/apache/rocketmq/broker/metrics/BatchSplittingMetricExporter.java:523-539 | broker/src/main/java/org/apache/rocketmq/broker/metrics/BatchSplittingMetricExporter.java:552-570 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BatchSplittingMetricExporter.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f281113f0318e5135ca4d2b11749ee1fcd0721af324707508a154ac19a78e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ProcessQueue.java:253-265 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ProcessQueue.java:379-394 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ProcessQueue.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ef089e8a6d9c7b8cecf52d624cac3c45461e9587cf5dbb5642b8c4db023dba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:636-650 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:1061-1072 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"6337cee026cb0c1471e528f0ab814a71aad65e30c9d4f915d45919563bd2e717"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:157-170 | proxy/src/main/java/org/apache/rocketmq/proxy/service/route/TopicRouteService.java:103-117 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0a343dafb9e012b7f6ed8f0d15f0a0ff95383aa042a757d4f4c869c34a3ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:226-237 | client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:240-251 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9aa849df5fe3a1ffcc91e384c5c3a70d7736ad267a6fa6138ffd088c39e233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1539-1549 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1794-1806 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1834-1849 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba2886c04312dc35d86da557b92e00c3e69afebf9dfa5d59b5c47a82b7050e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:560-572 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1399-1415 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec74636e4e0545596c4e700f8254f2806dadefe553365a815102174d3c42cd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ClientManagerActivity.java:176-187 | proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java:102-112 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ClientManagerActivity.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0576f5635c90b30fc2de39556dbc2638f5552998e11ef0da073eb1ca012b36b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1295-1305 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1326-1335 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"17af4f746b4896a2fbae87cdac106051638ecb2490e9c62fa02355ea1807460e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:430-442 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:768-780 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc943429ad633ae1663e8b87631ca4537b375de526e3883e6b718ff7e16e976"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/PopRequest.java:80-87 | common/src/main/java/org/apache/rocketmq/common/message/MessageQueue.java:68-75 | common/src/main/java/org/apache/rocketmq/common/message/MessageQueueForC.java:61-68 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/subscription/GroupForbidden.java:56-63 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PopRequest.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3112bc7407b5905ed9ea0ecf5aff94ef54ec4198216faed0cb69b966823db0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:138-150 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:438-448 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:640-651 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aff82ea2935e7db23b5920c9e37a1ba9bb7ec8936c6fd5e4334daa140c972b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItem.java:44-56 | common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java:54-65 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItem.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18405fbae9adf7cd737aa9e571f0e1b33d10a4a3f89948553f439d25924f982"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:616-624 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:627-635 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:656-666 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4ca05c7719ed5691ee0b71a3e873a9b1a8c8e8494f5d191725967a1b65c00e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): store/src/main/java/org/apache/rocketmq/store/GetMessageResult.java:115-122 | store/src/main/java/org/apache/rocketmq/store/GetMessageResult.java:124-132 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/GetMessageResult.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"801cd8415d4e0b4979b217888189f8f7c99229fc700218f95ca161fe9a6b8d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java:246-257 | store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java:266-277 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c65eb68c0fc7a89aab6094c1def63c6a1407f05ab2f67358ab71fbd6afd71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java:59-71 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ClientManagerActivity.java:64-76 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5078fbe47aeab2bbf50c77bd8bd01d697c06bd5282dcca18e2882e7b594f54e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/BrokerIdentityInfo.java:55-69 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/BrokerMetadata.java:86-91 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/BrokerIdentityInfo.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"08875c4b36b9fb66fdab31775f67c3cce2acc3b6551e688b89869019d8c3987f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerGroupInfo.java:60-70 | broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerGroupInfo.java:92-104 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerGroupInfo.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dd2279346c79a26eee252512ef34febeb354ed374295577976b78e6495b975"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:219-230 | common/src/main/java/org/apache/rocketmq/common/UtilAll.java:272-288 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d2f2d85609f9ac55782cd20135f0e19995c8f1833df24f00bfb565ea988e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:503-516 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:518-530 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f43a3d644c5dd89e20a8c04ae4deb6bbf6dfdccf335ffdf72dbbd97eb49ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/ClusterMetadataService.java:148-160 | proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/ClusterMetadataService.java:163-175 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/ClusterMetadataService.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"352a2398cec6294b791b81e20f094d0ba5b6f7a6525865adfbcbe72bbd55de86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueOffsetTable.java:551-557 | store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueTable.java:118-123 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueOffsetTable.java"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"5451121cdebd4bf60d9511af35d2e99362672250357a382adc17319126433dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/auth/pipeline/AuthenticationPipeline.java:45-58 | broker/src/main/java/org/apache/rocketmq/broker/auth/pipeline/AuthorizationPipeline.java:47-60 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/pipeline/AuthenticationPipeline.java:44-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/auth/pipeline/AuthenticationPipeline.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"166616fe629c1916fac185db7c4b5f4443394c14a45632862d23359827cc6fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/transaction/AbstractTransactionalMessageCheckListener.java:72-87 | broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java:202-217 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/AbstractTransactionalMessageCheckListener.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e65f5a30f1a070671b5dbb39893eaab8699a8ed1cb626c8dd640a14283298fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:73-86 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:68-77 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0704fa4cf14175b1fbedc9c12545dfc493643ef7c13fb554b47ccec28c99ee1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java:516-527 | client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java:617-629 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c5db3bb707d805fcdaa8c9dc152c7d5db7e239f4268ceaa6298b82f1f6b581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.java:154-164 | namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java:229-238 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"282d3324b09bcd2f467b609ee1e6ea8b3ca29278e84c188384862e513aee5604"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java:169-177 | controller/src/main/java/org/apache/rocketmq/controller/impl/manager/RaftReplicasInfoManager.java:151-159 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c4ab11c5bdf5ca8b0ac0daacbcb863c8afce2a246545a0f73d5d0cfa2b1b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:309-315 | store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:317-323 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac12992d0a8af5ae600ed97c225ac4aa8d59029bc779180c55ffb53f1fc82d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:571-581 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:583-593 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"4541e2f4506164b7a463e0def8721215cfffaa4096a6330868a0d916a111149c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metadata/DefaultMetadataStore.java:57-66 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metadata/DefaultMetadataStore.java:297-303 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metadata/DefaultMetadataStore.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0d99474922b034cbb49951bfc9b09f5fd7a596751beeb36dc69d149a4f38a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3244-3254 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3795-3804 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3244}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fe39df7c9a0e7913e5be46b4c8343f26ec19ac50baa9ab7edbaa2ce11b7288"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:1259-1264 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/ClientMetadata.java:69-75 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b21f954172ad36c9de631073ac5f91f01dfae6eaa210880d192e3a8f2226fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:621-634 | store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:636-649 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e089c6eba5330f73f907c5764296324ffc80f7be18a3038113aa5e6ee01905"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:466-475 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:477-486 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:525-534 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9214271242ac36e7bc216df2df51ab80f1a451d8660931e658f492d1ef4a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerOrderInfoLockManager.java:167-176 | common/src/main/java/org/apache/rocketmq/common/TopicQueueId.java:35-42 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerOrderInfoLockManager.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"006ff68c050ea8cfa66cb30de84156181955375876682980cc63e019266c840d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicRouteInfoManager.java:205-215 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:1295-1305 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicRouteInfoManager.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2709ccac05b9df73d7795f8f14d6593c7a1b1d69b1d64c82654737875ce27480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java:251-261 | broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java:358-367 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56e5618d9b7cd70b6581cb0dfd563f2e26acc2783b72cc1e651e67cd303d556"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): controller/src/main/java/org/apache/rocketmq/controller/impl/event/ListEventSerializer.java:55-60 | controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:610-615 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/event/ListEventSerializer.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c84eabf0e85e7d13b9870cb2d7ef15a1085ca128eb6b8d487c27e567b2f3e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:266-276 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:278-286 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:320-330 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1439-1451 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f243d9e3ec85c11ea245418fdf39fbe42052c5350d76f3419f9153049dfba59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1187-1200 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1203-1216 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf2dabfab5e49bedc3ca686591e736bbc61adbae5d870a39f158affb4075dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java:68-79 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:401-413 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"408a3421c74cd39941edece54b7c9fdf3d4ebf1818c7b14983c3f1844f3e0908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2534-2546 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2558-2566 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2534}}}],"partialFingerprints":{"codehealthFindingId/v1":"367c2973e52dea27e896208c03e455c0ad0cc10889ba6a7dce75a26fe6c28c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java:76-94 | remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java:281-298 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3324e64ade2d1fee1bbaa9a210198fe6b9ff68f041cd7cfe23cdf4c4ded97b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:403-417 | store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:739-753 | store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:948-962 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc5152d1ca61ee9026129bbbfa2c683955b6f6cd9afa12fbaca5c2a7cdf830f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreFetcherImpl.java:126-139 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreFetcherImpl.java:142-151 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreFetcherImpl.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d726af7574bd374651af5bf9616c233225b09917c9a66ee1211c4838afb4591"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/coldctr/PIDAdaptiveColdCtrStrategy.java:65-73 | broker/src/main/java/org/apache/rocketmq/broker/coldctr/SimpleColdCtrStrategy.java:37-46 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/coldctr/PIDAdaptiveColdCtrStrategy.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5911eb8d3bc0743597adc94f8db9df656df79ab8845f3d4980e1fb75274b6df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:43-54 | broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:57-69 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8c08934001b465330b6845d2d2b6aed98e23bc9b183fc39ff95e53bbb55f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/pagecache/ManyMessageTransfer.java:67-82 | broker/src/main/java/org/apache/rocketmq/broker/pagecache/OneMessageTransfer.java:61-71 | broker/src/main/java/org/apache/rocketmq/broker/pagecache/QueryMessageTransfer.java:67-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pagecache/ManyMessageTransfer.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2100587527a8f7dcb7c9e95e3106691b77e08f38b5b2cf894701cab613014a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:68-79 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java:93-104 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5f5373465fe010c0eeb2cd41ef0e8c634a86671770c6e34cb6ac641a9b8141"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java:191-200 | store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java:274-283 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1438-1447 | store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java:160-169 | store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java:395-404 | store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java:279-288 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da704b541dda444ae9c78f848fa828d0b2ccb5008e6e7ce972336228404b6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java:67-73 | common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java:135-141 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14483bdc33496baf71d92f1d1eb737c57ac4f715cbb09969780976b7bedb345"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcValidator.java:103-115 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/producer/SendMessageActivity.java:149-158 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcValidator.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1879ea761218aea6dd462ad9ba6bfbf7b93adad3fe2ec958a00dd86ffc5004ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authorization/model/Policy.java:41-49 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/AclInfo.java:46-53 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authorization/model/Policy.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5ab713943aa76f1375201c8fad34d83ab82669a4d4d6537c4597ead6a29fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:147-155 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:157-164 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:166-174 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7d75673f3d5b4362c477f045d176e47cd233d5acd21055fd7459b365f16bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java:201-210 | broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java:212-220 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b38efb49b9c6c051f177532667b53af47e87cbd7febcc5c994e191e649cf311"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingManager.java:178-186 | broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:114-123 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java:155-163 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingManager.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74c1e00c2ea9db2336caa1a478551dab068aa1b363cd3a560196f7369280788"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/TempBrokerMetadata.java:57-64 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/BrokerMetadata.java:53-59 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/TempBrokerMetadata.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e768aba70bcf033654080ed27a33f204821ef1fc7dd0df849a4720da4a6ed0c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/client/DefaultConsumerIdsChangeListener.java:47-61 | client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultToleranceImpl.java:82-95 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/DefaultConsumerIdsChangeListener.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc572feaa537932d013538641e42ab9a4682655aa11caae436d7d7acd54901a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/filter/MessageEvaluationContext.java:46-58 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/RemotingCodeDistributionHandler.java:69-75 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/MessageEvaluationContext.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3d8c9e1b1978cfc0c3f37f7793f6d98bdb6dec1d45422ec2402b39d11e530c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:387-399 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:618-629 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"01193ab7fb3132ce1c9df458188078818d6ff098c133fc683f2002253c5adc0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/AckMessageRequestHeader.java:100-110 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ChangeInvisibleTimeRequestHeader.java:127-139 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ConsumeMessageDirectlyResultRequestHeader.java:111-121 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopLiteMessageRequestHeader.java:126-137 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/AckMessageRequestHeader.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a5870819aeeed36d5615c1153ff1ef8a25855b8547d6b964346517b882e6a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java:88-100 | store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java:96-105 | store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java:95-104 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"674323f822ff50f5c4794fba6153ff084c1756792dafab1a3cd8abaac83b97e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java:391-402 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java:271-283 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"563ff931012ba9764cad3181be1bded37ebee5effe8e5c275a83ed5e8bdafbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1807-1818 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/MessageStoreExecutor.java:81-94 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da208355b86913e6bdd50aa16cd683501b838093099452d89e4a72ffc5652cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java:46-57 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/TopicConfigManagerV2.java:50-59 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daca6e7010c57478449705cf5d5ebf794360c4244d437418a38bbabf5968d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:95-106 | store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:626-636 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9280f52d0e5462f8f8adebeda877f20291f7916fe02bd8bbe087e7b220f0cdcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/longpolling/LmqPullRequestHoldService.java:33-38 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PullRequestHoldService.java:94-99 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/LmqPullRequestHoldService.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ab5dcee7c0afcf32ec439e61b1c74f0617801f16670d1be19b9c0a7b1679bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:290-299 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopLiteMessageProcessor.java:317-323 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1731e93f01a79103fdb0520b833662df032c875706ae6fea7adeda2427642bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): common/src/main/java/org/apache/rocketmq/common/MixAll.java:203-213 | remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:98-104 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bd5051bb07e9d7b200b7b81ad2fd77826743edf6f86bed6bdfece52dc575d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): controller/src/main/java/org/apache/rocketmq/controller/impl/event/ListEventSerializer.java:62-64 | controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:617-619 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/event/ListEventSerializer.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c702d9dac99e5c888b16295a06f9639ca5e59f6652c6118f396eea7de4c0f3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java:170-175 | store/src/main/java/org/apache/rocketmq/store/ha/HAConnectionStateNotificationService.java:48-53 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c361f54ba9d22d59c075588550d064da62d1e85ebb308255f2b8b893484c5257"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/TempBrokerMetadata.java:47-54 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/BrokerMetadata.java:44-50 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/TempBrokerMetadata.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad93731f34486cc3fb7de6eb85c170cb8b9c02841a79e7f44a5c4c70a7930d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:78-89 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:77-89 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:71-83 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"578efa4c47022219f8f543330a8bd3f6c9d0d4b985d7e613994d2c5bed73329c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/service/transaction/TransactionData.java:107-116 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/CheckTransactionStateRequestHeader.java:98-106 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/EndTransactionRequestHeader.java:137-147 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/transaction/TransactionData.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"743f7b06a4c9ae4bc46c98a216208ba309322034a5fb65160f80a768a5d8fc99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/common/RenewStrategyPolicy.java:60-69 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/subscription/CustomizedRetryPolicy.java:82-91 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/common/RenewStrategyPolicy.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a79d0eef7d097130387ba87ec03146f894a6b3b148ff56883da76923e65cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiator.java:212-220 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:786-793 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiator.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faee7c7056c8a46a3fc9323545ce29202ac723e2e32080319355a33600ad00e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java:263-272 | store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java:349-358 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e5ba26543767fe261aafc45e49b3e63fde1d1a6be4b8d1ea03541e45c4e1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1720-1729 | store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java:68-77 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"997a7fc18bf61ec07270d4901956946ac2d2642505e3207eb666908e0dc77424"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java:278-283 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java:572-577 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3190a6583ee7f71b6c767613f31db2eafa8912353c97ea2f92efc3357ea938"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 6\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java:54-59 | broker/src/main/java/org/apache/rocketmq/broker/lite/LiteEventDispatcher.java:343-348 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java:66-71 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:86-91 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:83-88 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopLiteMessageProcessor.java:455-460 | broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionalMessageCheckService.java:35-40 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f88d5092dba1094c8776a7f7452b8b0bc67732b8047207c7df94393f58551b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:251-259 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:266-276 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2531bc338f8d0dc4b054f1593cfc691b15ec4be7795136392dbd3883c9c28d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java:142-147 | store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:735-740 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0924aecd400397ebe3965536c88a27450357bf1d653beb1fe053a318675fac26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:61-66 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java:85-91 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e912a13b4b95f75977d4b9c6a7ba0ba23c207ef0561d6c89f12d1afa7793f671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java:132-142 | openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PushConsumerImpl.java:145-154 | openmessaging/src/main/java/io/openmessaging/rocketmq/producer/AbstractOMSProducer.java:73-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52f907c3535e0aef072cd34fe148ffa868f451596cc1958459ba67d5698ac46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumerOffsetRequestHeader.java:87-94 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/UpdateConsumerOffsetRequestHeader.java:87-94 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumerOffsetRequestHeader.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"440be3dd240a4b7d94b6ce95ed9a94f52c31dfaf33a71f96a4609b8fee408dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): common/src/main/java/org/apache/rocketmq/common/MixAll.java:577-582 | store/src/main/java/org/apache/rocketmq/store/queue/MultiDispatchUtils.java:39-44 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b884cc2f6c629272510953b9950356c9f98983db284af4aea5810223d41fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/CheckTransactionStateResponseHeader.java:41-51 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/EndTransactionRequestHeader.java:56-70 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/CheckTransactionStateResponseHeader.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3107c2d3a8498ba4e7b5fab83e98d99859ad1a129a53eccad770533117198ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:87-93 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:134-140 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cc058094fe163e8813a612cde1607b389d136e616bd9f875fc804232a5619d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:95-103 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:143-151 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"79918ff4541f0010b89706ffd1756e074e3540096c538bc53c76636dd346ca1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authorization/model/Resource.java:61-66 | broker/src/main/java/org/apache/rocketmq/broker/auth/converter/AclConverter.java:78-84 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authorization/model/Resource.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6061ebb7fe1f096930f0cd993e267d99a7b320d47ad45e1b0047fa1cb3410cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/channel/GrpcClientChannel.java:118-125 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java:249-256 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/channel/GrpcClientChannel.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"02036f47eb56d1d7e4bfb236cafa339bb8b1dd24b144516015f3620b5a83090b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingDetail.java:132-142 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingInfo.java:134-144 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingDetail.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc946fcedbff6687bbb47276232030f2ed6c55bb5ed7ad7adffdee2adfde4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/enums/UserStatus.java:38-45 | auth/src/main/java/org/apache/rocketmq/auth/authorization/enums/Decision.java:37-44 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/enums/UserStatus.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0546b1edd731318e829371772345fc424d089135133963ce2a429b78d980cb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java:340-350 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:331-340 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad5619bfda483e9d3c0ea56e5b8b961e09e083799653fbc25e5a82d76d74cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): client/src/main/java/org/apache/rocketmq/client/exception/MQBrokerException.java:34-40 | client/src/main/java/org/apache/rocketmq/client/exception/MQClientException.java:40-45 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/exception/MQBrokerException.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3e1095c48211804ee68d3665a95e897e95e23d98978639a6a523fe0b611c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcConverter.java:57-66 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcValidator.java:40-49 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/ResponseBuilder.java:56-65 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/ResponseWriter.java:34-43 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/common/RemotingConverter.java:32-41 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcConverter.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a315d6707c419eb33a87d7d8c7dd8cbc2bdaee5071ec21ff0cf29d29ad8f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/BrokerReplicasInfo.java:57-64 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/RoleChangeNotifyEntry.java:41-48 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/BrokerReplicasInfo.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"499eba51d24f91c73006ce8a7a385efdf517772e55e0644f8b08b08f8204aa28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:295-304 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:282-291 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2155-2162 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0041dc3a1a0bd4ca7d9ee12380a97c56b6a1fc2c25a68c5ce745c5f7f40676dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1852-1855 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:276-280 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bb77980aa562d7a2d80be5f0349645d32659c2dfc7a7eac7fe9e55f780fed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueOffsetTable.java:718-722 | store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueTable.java:347-351 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueOffsetTable.java"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e5868308c6cbc4197ea142168483b2d4c09499afdc6b6e6fc1aa9f46080a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:382-386 | broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:448-451 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:794-797 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e16e87689ba8f2c566be55f11cd29a34ac874fb1ec131e1173fbc78b1b35b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerOrderInfoLockManager.java:184-190 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/GetConsumerStatusRequestHeader.java:71-77 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/GetMaxOffsetRequestHeader.java:84-90 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/subscription/SimpleSubscriptionData.java:85-92 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerOrderInfoLockManager.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f444311a7d154f951a9c1d1efbb35655283c043c3950437310c9740f964ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1710-1718 | store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java:54-62 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b3e6536855375c9ef3644d30367b5589e25697094bbb7c524efe3cb221e100"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java:115-121 | auth/src/main/java/org/apache/rocketmq/auth/authorization/factory/AuthorizationFactory.java:118-124 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e516418e63d0725f690946d7d4233cb65ca1c5aba2bf2858af4e736be3b31e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java:124-130 | auth/src/main/java/org/apache/rocketmq/auth/authorization/factory/AuthorizationFactory.java:127-133 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4134818843605f8a19d4beb555cb090c6b67eb204af564b6be0d06a389ac87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:80-85 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:126-131 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f140a2361167ea2f62a41b42eed5d2c446bda7be50e71b79e7e1f08fc938564"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/DefaultAuthenticationProvider.java:51-54 | auth/src/main/java/org/apache/rocketmq/auth/authorization/provider/DefaultAuthorizationProvider.java:60-63 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/DefaultAuthenticationProvider.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7469000c307ad55ba7e0724251370c388d4a203c1c9de1b376959bb4079548"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:101-109 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionService.java:72-80 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a6bc86414f8752bde86932854ca7c32b1755ee03bcb3925b6e9a5fc40051f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:836-842 | container/src/main/java/org/apache/rocketmq/container/BrokerContainer.java:172-178 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc37fb92b7cb4c4e05d2d280b3df588471d752b937b0be76454cce735a051b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:2010-2016 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:108-114 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"177c38a707320123a641061d1c10998b504a740ad882b1b8fc937b83f76ad5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:2030-2036 | container/src/main/java/org/apache/rocketmq/container/BrokerContainer.java:184-190 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aefb5c187040295b813f18682f77f31c6e2fc9f68a5659b368822217626ee6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): controller/src/main/java/org/apache/rocketmq/controller/impl/event/EventSerializer.java:32-35 | controller/src/main/java/org/apache/rocketmq/controller/impl/event/ListEventSerializer.java:34-37 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/event/EventSerializer.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd10eb996452ae56886191d9b9f755819fab9edc3d18444c3411f686d12f122"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:620-623 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:525-528 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb88c4a50270806b96864e301138fd3fd2cb3a12ccbebc0027c9cf37863da87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/EpochEntryCache.java:30-36 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/register/RegisterBrokerToControllerRequestHeader.java:45-51 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/EpochEntryCache.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bec4df7efed1e5754db2f53b46acb6ebfb34ed0e17f2f3a01810de249833426"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): proxy/src/main/java/org/apache/rocketmq/proxy/common/utils/GrpcUtils.java:51-57 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannelManager.java:80-86 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/common/utils/GrpcUtils.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a20a062e36baf266b3ab44f698bc6f0300522004520b3b0acf5d3cb88b2fdb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java:95-152 | common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java:50-107 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java:95\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":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ed06a43668dd8e501da6cb22ddb80605cbb9ce3be03fc5f8f10d8059c80ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:104-146 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:95-137 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:104\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c7fcf9e41dba1f7b39b097be6da68e068148f2c0d32c1b09f4872769b7df54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201341 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:235-273 | common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:349-389 \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 \u0060common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:235\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":"common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d661d3fb8258e8436fd07b89497a6b4f1d3f9f63d99cf2ac600a249e8c9d10c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:364-401 | common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java:59-96 \u2014 before extracting anything, compare \u0060common/src/main/java/org/apache/rocketmq/common/UtilAll.java\u0060 and \u0060common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3b72da5f5163dbbe56f256514bd84f037abac9d5238f528b89e6b1d6df9400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:97-130 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:81-114 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:96\u0060 calls \u0060setBrokerName\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:79\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3061d86cd7a58697e46acd67bb2c37e7db38c2f03dd382bd406c4f080b6a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:1193-1226 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:1124-1157 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:1193\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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a7b109c08b4b61903f741425687f5b11221e895186856d75c910aa9f5f117a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:1235-1268 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:1165-1198 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:1235\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c126c1a8eb251b258fb3b4968608470c1179b2ada180a0749ab93a0540a973d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:152-183 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:141-172 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060processQueue\u0060 to \u0060ProcessQueue\u0060 in one and \u0060PopProcessQueue\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b573c889f78d0f07e7aba12e61e3d607fb4db64884aa84eff6755c4ccf10388f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java:65-94 | auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java:98-127 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12f3e662ec89c53562088aa55ef3989f6ae97538e3bf8157af74ff23e713d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:270-299 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:321-350 \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 \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:270\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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e6762d075dadba40dc4786bac293bbb4f6a76c21d08cff4638e5eb891ad998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:262-289 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:319-346 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:229-255 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.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. 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":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b3bef9979c3f48fdc12331ba6dd5a2e65774d0509e4ae6346fd4e02b730c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:949-974 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2998-3023 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:949\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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a3c9be1b733e3f11abb13b600e9d1e19237d32ce3198dbf5f71a9cc1382557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:478-503 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:640-663 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:478\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f450fb61c530f9df1a4634ed95769a559eee75dfeafc7c616e518dbe5249dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1116-1140 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1235-1259 \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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bd2744f6d7e0281ffe11b4542cd463cd4f13c22025ef7cdc49cf9ccf6c4d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:281-305 | common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:388-412 \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 \u0060common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:281\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baeb09a9521263781e94692cf3ed60e8336b8b1b337adf132b71d1562d29d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1427-1451 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1478-1501 \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 \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1427\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"930b4da205f080af66c1a7cd88cf9b96526d2a551d13e15cb23312271408277e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2812-2835 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2842-2864 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2871-2893 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2812\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2812}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2568719fdd5424ee7bcabf5d2bb9d7a8ecd715d54ba3b202caf75ec6076d4d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201324 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java:94-117 | broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java:171-189 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.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. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"21557d9f54ae7e384ded5bf66a7b022c320f48122dcd59840b51f306aba3a881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:686-709 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1336-1359 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:686\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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18cf5e1ec6738079fd4d49c4d0f9bed680c4a84263b9dd54b1eb479b968de7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java:62-85 | common/src/main/java/org/apache/rocketmq/common/compression/ZstdCompressor.java:62-85 \u2014 before extracting anything, compare \u0060common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java\u0060 and \u0060common/src/main/java/org/apache/rocketmq/common/compression/ZstdCompressor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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 \u0060common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java:62\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"17865bf274170a62fb8b06ebf1c249d4dab989631059bfac0910f4c312528580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/config/ConfigHelper.java:50-73 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:107-128 \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":"common/src/main/java/org/apache/rocketmq/common/config/ConfigHelper.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f56ee0ba65edbd6f9efe0baedc4b9a41ca9b1aab65de226d76700c2748eb067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:416-441 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:889-915 \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 \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:416\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7fc3344aa9c24bc168ac71f9cd184ff994aa5774e2be1b43598e4851903097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:162-184 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:335-356 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:162\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90eba2e125de6ef521ee5e45eeae3a92b8b6508b226640a4c9a236c54e04404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1211-1233 | store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java:354-376 \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 \u0060store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1211\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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"640ab678fd0bdad459517ea283c5ac8831855d975ff46b795ef6749f808f9b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:613-634 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:694-715 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:613\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51b56d8e0d6070b1999b45e5baffa5d5f0ff03a49b72178f4e42faf3d9d8735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerController.java:191-211 | controller/src/main/java/org/apache/rocketmq/controller/impl/JRaftControllerStateMachine.java:193-214 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controller/src/main/java/org/apache/rocketmq/controller/impl/JRaftControllerStateMachine.java:193\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerController.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af7fd010da4925f710a5ce8c6db463210e924a6c2d4bd168aa0c5dd5ea90031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:280-299 | remoting/src/main/java/org/apache/rocketmq/remoting/RemotingClient.java:54-75 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:280\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e52ef5bd891ceb20c07243675ba1cf1161aa4925dd856c12cfc507f4683ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:149-170 | store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:245-266 \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":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43f6b7f9b44d94255097ffaa77ce78094e9f56dfed753c5c10d18991b522bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:614-635 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:758-779 \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 \u0060store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:614\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":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"423eb9f42f732a85fd446680deb0cf477dac353975617aa76163473ce43b835d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:302-322 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:268-285 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 119 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.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":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6400a4687dcdeb5eeb56c0b99429c6231bf670f861442acede35f850a2c06846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:197-217 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java:240-260 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:197\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb2cfbd8f592fe82244e109ce75a4ccd726fde0532f5442314e9435bd602227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:928-948 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:454-473 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:928\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"73206589ba6320912bcf4ebd3de883d2eef1d489fe02a5eaf3dcb0f17f7c44ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java:77-96 | broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionMessageFilter.java:140-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52f913b7752cf03443172d8f55a0ecb6c2a144225018729ca33cf4a8963fc2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1563-1580 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1087-1106 \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. 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5fd4b475741266be061f9de3367f0e0ddd45c2f25393fa866ba598a7aaabaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2337-2356 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2366-2384 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2337\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2333\u0060 calls \u0060setValue\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2362\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"667f89accf24cc82be33d4c2a2d90f9670cf8c1bfaa52ac8dc3748d59312f20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:442-461 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:562-580 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:442\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a59dc7e916777a671afa4a89e415fa5112a2f5306cb375520b53485af96f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:699-718 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:779-797 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:699\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"51392f466aa0f391178743e705c4aff0bedc17afa05ee81068022a988b224e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ConsumerRunningInfo.java:230-249 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ConsumerRunningInfo.java:252-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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ConsumerRunningInfo.java:230\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ConsumerRunningInfo.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf4c3bd798c6ae7590c1dc8afccdc11ffb6429e712d98fe14f7e0173faffa56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:298-317 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:1022-1041 \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":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"970d92424185dba109f91134ab0dbc477f325ff1813399813477af0328bcb697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/stream/CommitLogInputStream.java:112-131 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/stream/FileSegmentInputStream.java:152-171 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/stream/CommitLogInputStream.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f022cd0e37155739410bd328051d10b3b09ac5734125cd18e7dec47e01c1f226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:185-203 | common/src/main/java/org/apache/rocketmq/common/ConfigManager.java:93-111 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java:228-246 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:185\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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c8656bc306831cf0bcb3f029e67f22486f6ff32fb2e4517d0c744a4f79bddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.java:130-148 | namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java:162-180 | namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java:201-219 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060controller\u0060 to \u0060ControllerManager\u0060 in one and \u0060NamesrvController\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cf35f018aa909ec4828e38f5d73fe49394e1822f12bd974c783fc3feaaf620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:138-156 | store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:234-252 | store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:338-356 \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":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a8588562e061849beab131406cd3b0afb104b47696e583c72a7617820c4a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java:134-152 | auth/src/main/java/org/apache/rocketmq/auth/authorization/factory/AuthorizationFactory.java:137-155 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/factory/AuthenticationFactory.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3ea21aadc5f1d8a949a516deca3ed16302f95af6721c4cd92b6421aa29ea38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1979-1997 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:77-95 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1979\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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"654f7929be285f7fa9151d279bf066225e2757371c790ebb5b9d8ba55667400f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:416-434 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:456-474 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:416\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7933b6b8d6afca6b629fa3b5179829fd9d4858598c112601c9008d17d5de99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:423-441 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:478-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:423\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"0289c4c8eefe268e6d887d7c4ef781ef8c9b60d9dab7301d93bb3e910e80ec3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:63-81 | store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:88-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. 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":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f4e77e35faff4b774d0f382e0766bbc22f8d61defa4ab0600ff8ad1a386553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:311-328 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:380-397 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:275-291 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:311\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"377461702f64df074ddce9188b7cdb88cf28e3264d1267c158ec21dae6f3e43e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1976-1993 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2030-2046 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java:108-125 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1976\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"610745b7b0754a64ffab12e3f91556fe7395f3144bf77104284cdea1f37d2ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java:161-178 | broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java:184-201 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.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":"broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97b7e0b9ecd3f9de2d0ff8ceff1a60c8f5a5ffa0672e23b4d9b65149c924ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:286-302 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:1000-1017 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 86 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b44dcf91ec72b26f1143712d19a945b740c767d325ae7dfb1bb79dc2607276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1633-1650 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1693-1710 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1633\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca58f0e18445df25391e057305dddf1d3c506976298603a39cb582307e8040dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1149-1166 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1306-1323 \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 \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1149\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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6452c370c24b4a2a6942d174df5934445a442d1350e668a1cef440e14b65e33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1769-1786 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1875-1892 \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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b82d1a2f2ac0fc93cc149e1a716c6df77cbc7b60c4a52b4f2781b568085c711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:756-773 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:541-557 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:756\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:753\u0060 calls \u0060checkMultiDispatchQueue\u0060, \u0060getMessageStoreConfig\u0060, \u0060multiDispatchLmqQueue\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:540\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59648c75404b6eb0f8178341733cdc28c87c65c66b47a2960bbdb2ed7b3a3ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:957-973 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:519-536 \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 \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:957\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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"f260af864241a7fa39e5221f5aebd752f9c03f6184b2ab63480f2cb77fb18bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:293-310 | store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:353-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 \u0060store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:293\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060cb\u0060 to \u0060CompactionAppendMsgCallback\u0060 in one and \u0060AppendMessageCallback\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c30adb6ec9142e30ed8cfbccfee1d61e5576468cd32964da1bd3c19b922217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2339-2355 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2368-2383 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3157-3173 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3526-3542 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2339\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaacee94cdbf976377996393aad89fb48f31b0420ffb175ab709cabb3a2c5ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:96-111 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:112-126 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:94-110 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.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. 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":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"841788c425863991d05270ec6aed9c6d7334a78f5a8fa4f11f4f9aa95c476442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:753-769 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:136-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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:753\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cf935a96d7f2cbea4f16f31a41aa809e2d0d8c7a87775da35a976bbdaa9c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1359-1375 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1393-1408 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1359\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c2d9aad27568d06d18c1d9b663c8f56e208bbbd71719e435f2239f52ec2b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2206-2221 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2288-2304 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2206\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"11aae96a0fea1892c4fa4370b74e70913ed1126cfaf68018f898a5a8226112b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java:164-180 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java:199-215 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java:164\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060responseFuture\u0060 to \u0060CompletableFuture\u003CProxyRelayResult\u003CConsumerRunningInfo\u003E\u003E\u0060 in one and \u0060CompletableFuture\u003CProxyRelayResult\u003CConsumeMessageDirectlyResult\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4577f63274edd1e8a2899adbf3d7c8c4aee94cbf68d70df22fec1b28c0ac7025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1131-1146 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1287-1303 \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 \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1131\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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b48e4b870f3c960734c5a3383d25356ce90bb4771357ad759ca6887ecd9e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java:444-460 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java:476-492 \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 \u0060tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java:444\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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"44197e0adaf86502287ff60d58941d297761a1131523e290a88cfa6c56fdb5c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java:92-107 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java:130-145 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java:149-164 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6fa22dfd4bd1f2f603b86f1410394fb672bfcdcf1ec2d1514a854d55ccdb16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:211-226 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:242-257 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:269-284 \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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b1361b6713fd4c432a5a4d6fb1fcb82b6f1bc3db452d5127e88aaee00acc34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2599-2613 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2646-2661 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2599\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2599}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d9bd8b8ccb4d2e92962be2b7823f630c67dced086ffe1feab74dd449efb2f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java:96-109 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePushImpl.java:176-191 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePushImpl.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d081172b26d171a9d9d46ccbdd2d398572f0e72f55d024fbf1c16d396a993f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:543-558 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:579-594 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:543\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3e47a0ea53acd6b25ea2a198a3434bffa9401a3600c6bb630fca0ecb27762f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java:37-52 | common/src/main/java/org/apache/rocketmq/common/compression/ZstdCompressor.java:37-52 \u2014 before extracting anything, compare \u0060common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java\u0060 and \u0060common/src/main/java/org/apache/rocketmq/common/compression/ZstdCompressor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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 \u0060common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java:37\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2653496065a6638ac97fad3d298a046d623e9465119e96c146b19eea0574d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java:136-151 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java:157-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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java:136\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04bbccb7131d0b9a8127af7ab190605013f0291dea3f9835a0dbfd395290041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:230-241 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:299-314 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:230\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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d787cb6be6508103f7d78efda60c770718d429808d6a09e9b2094a080e9be3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:331-346 | store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:352-367 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:331\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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6743c11a72dd953d025920985605fb3a8dfdfb46acc96774a56541b790172c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:279-294 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:738-753 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:279\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:277\u0060 calls \u0060getConnectionCount\u0060, \u0060decrementAndGet\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:736\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80e3f6d11037ffb92416f0c1120f6a65c558f8cde6a8e767c2b3fc2e62a665c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:677-690 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:694-709 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d44b00b71cb8a6416e1d148eeafca0d4a2374869b17cf7876390e18a45f9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:919-934 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1046-1061 \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 \u0060store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:919\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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"740f7fb67af2ef7d95fba96613beeb85fd3abecc17769354c5f319a82571521e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java:85-99 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:105-119 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java:85\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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5a8e141186ba760a11eaf41b890d187dcdc235bda944d14e84d3af7d2f78db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3280-3294 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3312-3326 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d8abe2764afd16310ec3530691b9917ed26bb3dce99c67652c01a687ea3961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:471-485 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:625-639 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:471\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d13179f93109ec2207ae33ba8eaac1c1d57fafec8979c28e781e472022ab50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:79-93 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:60-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a708fccbd77f4ea64766fc6172f086f04c48dee3312e50ac7ce81c023fe49c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:216-230 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:194-208 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:216\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d53a90d326ccbde6085b663cb3a91440cc7c20a5c56faed5f3a3957028a202f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:323-339 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:237-253 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a491cbbfca05b27d24b6959022d35c11688348648aea0ac4b6f99be1e87858eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:246-260 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:271-285 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:246\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8c9a6f013d322b33bf6e379e2819dffc8754d1a3f55e198e0978554dec2784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1629-1639 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1659-1673 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1629\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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ca6e66b8d4ccc7707dcea470e4f43fc41129a2dcb7eb01f2167ec93c1f45b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/utils/IPAddressUtils.java:51-65 | common/src/main/java/org/apache/rocketmq/common/utils/IPAddressUtils.java:68-82 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/IPAddressUtils.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f6a46a63c7fe2ffdfd4fa02c758ade61d1a78a692c7a5af5b60158d42e2ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:142-156 | remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:160-174 \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":"remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bde786aca2b5930f88d384f0aac119c9f79b8a47acda9428ff33d2f7f9c6798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:390-403 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:856-870 \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 \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"50babcca88bf22dadb56f81d04effc30c288286a8032bbea48d7cd8818c88eab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1036-1066 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1197-1227 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1033\u0060 calls \u0060get\u0060, \u0060updateMaxMessageSize\u0060, \u0060generateKey\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1195\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f6368653565512856640b9752a4618f4d2edb6d039d5b5a8449dc1a779e3cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java:178-200 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java:211-233 \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 \u0060tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java:210\u0060 calls \u0060setUnit\u0060 and \u0060tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java:177\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c88c7d289cbdf5bb46843e7db6715788af11112080cee45f2c57102f587e1ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:120-133 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:136-149 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:104-117 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:127-140 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:120\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee94cec674be411c2f7e7e2ad18b7ff5b6d5a2755c6b0c5c62656a7a4e0d4fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:148-161 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:276-289 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:327-340 \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 \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.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. 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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb33d5f2c072b4774a6c32ee69bbb9eef0f64f096243dddf4669ab91bd54be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:2013-2026 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:111-124 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:2013\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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"1586d2cee99c95bb2025027e44bfb7f1b81725fb13c35a192a6a50753e3e6847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java:125-138 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:373-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:372\u0060 calls \u0060getQueue\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java:124\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c573ca96176092b6b06adf5f0aa040553317fc440224e4c90b60ac1a763bb7b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1061-1073 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1100-1113 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1061\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060callback\u0060 to \u0060LockCallback\u0060 in one and \u0060UnlockCallback\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"296d9b82f252ede77c7a386a33db502bc753a4ffd8856e534b8178edc1cb4770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1078-1091 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1115-1128 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1078\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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee18a27627d289bd8f80013d74b5dc407ab33ae750fb8ad092c42ddbe2a7df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:666-679 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:168-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e865e0528d3f8ff2b088f1b2c1a29f2b1e7f16ef63ea1c667584d2614474315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2177-2190 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2233-2246 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2177\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcf6175ebb8ee9cc272dc8de1379c0d1912e54a745601e8b8c8fbb1d640cc83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java:111-124 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java:221-234 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java:111\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java:220\u0060 calls \u0060ClientMetadata\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java:110\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4656565d5ac8d7b77ed4dfa046fcffad7a83e7e5c3476c10571082b30f221fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3187-3200 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3500-3513 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3187\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3187}}}],"partialFingerprints":{"codehealthFindingId/v1":"023e91c2ad347f89b74726635f9398d865b47782ca1c3d07ca7561c451c954ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:733-746 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:819-832 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:733\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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd27c46b3f9e7d581f6dd7ac19b5109ccf1c7259bac8902c248e6c256ce5adc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:828-841 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:861-874 \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 \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:828\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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"990833447efe6286a2e79098cc7cdcf73cd1fe357d973d4af4a985d78880eed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:967-980 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:1065-1077 \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":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5e74b4f3292260e7ad15babee8399ff1a27d592d6ec93cacbba25a43d0065e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 31): proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:191-198 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:74-81 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:53-60 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/DeleteExpiredCommitLogSubCommand.java:46-53 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:45-52 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:46-53 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:48-55 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java:57-64 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:45-52 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:48-55 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:51-58 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:63-70 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:89-101 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:57-64 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportPopRecordCommand.java:47-54 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:53-60 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:83-90 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:129-136 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:76-85 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:205-212 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:58-65 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:168-175 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:180-187 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:48-55 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:58-65 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:65-72 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:73-80 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:53-60 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:70-77 \u2014 there are 31 copies across 28 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 31 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:70\u0060 calls \u0060setRequired\u0060, \u0060addOption\u0060, \u0060Option\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:52\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b594a647f76bd9f48a2efc066b15cea15fe2a5a1cd6975b6e83cc17452620a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:87-99 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:125-137 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:171-183 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:209-221 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:255-267 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:293-305 \u2014 all 6 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":"filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c317f6ec19825f78d89dbd41dc72707491e0153856e56c78f9ae1e3c527a45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:568-580 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:658-670 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:728-740 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:657\u0060 calls \u0060getTopicName\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:567\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4205fcc12324c541d6a27479affcfc738951140a1e9a1ddc1f1c997ffa6b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:512-524 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:548-560 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:584-596 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:512\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdfaa6d05687658b3d3b26fa6e90acc87ae83c2b228bc18082afcb8fb8a89f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:82-94 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:168-180 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:296-308 \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 \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:168\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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceed7f1252de6787750f4ed23e33cd71cdbe3ec336e9b38fc21206bb25f08136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java:267-279 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java:373-385 \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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a7eceb1aee8bd009d30a843d0d290673e5c64dc361f3e20a9cc2f546622a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:141-156 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:159-174 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21aa44a989f5e302d6fc06e91a1706c761ddf20437263dc09479efd77f422e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:986-998 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3035-3047 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:986\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c01e05400074c14af0511600ec9d675fc124d8683ff06c4525548201e3f8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/LiteManagerProcessor.java:297-309 | broker/src/main/java/org/apache/rocketmq/broker/processor/LiteManagerProcessor.java:368-379 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/LiteManagerProcessor.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5cc9179bad8186f3522ae4e7adeced020dc30125ac2ba5c205a140120e533e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:457-468 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:610-622 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:457\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ff655c8ee0664dbe8e0d4a2639d73dd7e0bf46704dd56196c0395f2ce22c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:253-265 | broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java:147-159 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:253\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f223c76cabca54f0ce33057052530bc7ff3e9052b8c121cc0d6eabcebd113bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:132-145 | broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:194-206 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:132\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e052e28f37b8cf18e5f44580aed2b87c503e7970568dc165ac6b29942481206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2227-2239 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2247-2259 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2227\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2246\u0060 calls \u0060setClusterName\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2226\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd5706a590b6d54ae2a0855655db2e93e575ded0d1d6e08d9753ee921f2723a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:362-374 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:375-387 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:362\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d2fe3ea7857a5c6058c3c6788121630f53f284273cb1882affe34bb17316ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:232-244 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:503-515 \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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1007844a05e95061515dfc78b4e4c6b503aa220d134f2ded4f09ff5078f0fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1007-1019 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ProducerProcessor.java:211-223 \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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb3bc86fa335e7ed65dc5d7af773ccc570bfbeb98388f7791f7554bcf60f11a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1663-1678 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1724-1736 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1663\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3c2f44c89acd05396367a9c15929bf4ae148907ea66f4e6358dd947b7b8b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/filter/impl/PolishExpr.java:113-125 | common/src/main/java/org/apache/rocketmq/common/filter/impl/PolishExpr.java:140-152 \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 \u0060common/src/main/java/org/apache/rocketmq/common/filter/impl/PolishExpr.java:113\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/filter/impl/PolishExpr.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d53e03f3551e223450903b9b238896797e8c2a46c0bd7a39ff2a9828ef46fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/pipeline/AuthorizationPipeline.java:46-58 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/pipeline/AuthorizationPipeline.java:47-59 \u2014 before extracting anything, compare \u0060proxy/src/main/java/org/apache/rocketmq/proxy/grpc/pipeline/AuthorizationPipeline.java\u0060 and \u0060proxy/src/main/java/org/apache/rocketmq/proxy/remoting/pipeline/AuthorizationPipeline.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060GeneratedMessageV3\u0060 in one and \u0060RemotingCommand\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/pipeline/AuthorizationPipeline.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"35058ac83e761207c2a5d6540d37f541dd175921a8ac55ea772bb6e4aa82cbb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/remoting/MultiProtocolTlsHelper.java:102-114 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/TlsHelper.java:231-243 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/MultiProtocolTlsHelper.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"11269975c81c1e6e6e6713df33c573035ae8dd4c21ed689a46f669a20a976307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:216-228 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:283-295 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:216\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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6365bed0cad8c80e82106fa2f8f944df5af5e1d52557a3874ae7ec05a4c4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:233-245 | remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:249-261 \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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:233\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e155ce824cf91d227944e368f2674e04a8322071aa1cc02feb95e8b4791eff03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java:252-264 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java:304-316 \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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java:252\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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ddf5df6782872be11f2b3f56f773c5fc10bc0a62c1a49a0bcb3871ceb0d3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:172-184 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:365-376 \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 \u0060store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:365\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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"568b2be06238a8696c718431d9c5ae05653f06d9f38d18c5b53e213859393337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1887-1899 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:285-297 \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 \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1887\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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"268ff05324732a81eea47e391cead9ad5f977121c956b0becfd006600d6e15e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:64-78 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:109-123 \u2014 before extracting anything, compare \u0060store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:64\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060haService\u0060 to \u0060DefaultHAService\u0060 in one and \u0060AutoSwitchHAService\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a983a7b9f51e712d3631ebea70d9b0cb725480f3ff263a7de7d4be40e652899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:441-453 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:490-501 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2189-2200 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2270-2281 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2905-2916 \u2014 all 5 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:441\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"60640e00c8cfda25bcc4fd2cc0777a8059af30d47a4c11e577b981644991cd0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:46-57 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:135-146 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:221-232 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:263-274 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:314-325 \u2014 all 5 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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f92b8a2f12904f7075860e955b5963c2aed364a3fd668b158fbdc1a76065d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:115-125 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:98-108 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:73-83 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:279-290 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:115\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f93725d822a9a1daa1cd1ed392d7f13f5dfdbda290b4084dfa40c0a8929631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:127-135 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:85-92 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:292-303 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 88 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:127\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2106c424049c318d76a1da2014a4da2bd8fe3627bcaeaaf995db945866144793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2667-2678 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2683-2694 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2700-2711 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2667\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"3343e431b5b42fcfb25c1859ac7265d76617850d64b74ba9dffa6501aaab283f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/context/AuthenticationContext.java:49-60 | auth/src/main/java/org/apache/rocketmq/auth/authorization/context/AuthorizationContext.java:33-44 \u2014 before extracting anything, compare \u0060auth/src/main/java/org/apache/rocketmq/auth/authentication/context/AuthenticationContext.java\u0060 and \u0060auth/src/main/java/org/apache/rocketmq/auth/authorization/context/AuthorizationContext.java\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/context/AuthenticationContext.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4498ae8b503bf53f775c792d57bffa7aa465f0aadf48622dcc4e363c34910784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authorization/provider/LocalAuthorizationMetadataProvider.java:81-92 | auth/src/main/java/org/apache/rocketmq/auth/authorization/provider/LocalAuthorizationMetadataProvider.java:109-120 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authorization/provider/LocalAuthorizationMetadataProvider.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"82742c7a7a7ab3afc3d1e71d00ccd8103ddc371b6a7308bf1074e95d49cc53cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java:64-75 | broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java:147-158 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.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":"broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b4c4b370fa70bc41594178e9c4e5f74b995567b5aa4cda7fae62cf98c5d782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java:87-97 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/TopicConfigManagerV2.java:99-110 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java:87\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":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ce8b0737e619ae7e6a178c12cfaa029082d60b3d0b7441f3d4da975a4df53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:398-409 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.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 \u0060broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:398\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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eb603f26ea79407ce68984e441feb55a864e2b31b2e41a55ebfe6d657d24d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java:584-595 | broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java:611-622 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java:584\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":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"7448713cfaf30cf300ea96330e8da473bcb50610d4cb4fc0c199639583033023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:321-332 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:419-429 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde4b4105edae54454274057c8f0bcb10661e251a6fb7aa7d635500d1422dcb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:416-427 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:581-592 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb242b986f24abd42b299b09c175153004d0e01439dd94c073728b433bf78e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:310-321 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:301-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 \u0060broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:310\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:323\u0060 calls \u0060put\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:313\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d7eb056f71e9d6fddb23640d1c535fa4df93d2622e0cfbf35f28a3ff0677e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:105-116 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:86-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:105\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":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda503769d1e5008a10526ae6d009065f0bbea9a6b7600a1507ebedaf86bb563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1546-1557 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1696-1707 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1546\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"191143b52de5c80fe00214a7eed97388cff1aa3e021568ea5d4f975987cbf50c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1909-1920 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1931-1942 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1909\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"002c501a74809fc506971e9dcaf9c6d56dd3a7845f456d0edae0a4240570f812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:814-825 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:863-873 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:811\u0060 calls \u0060getQueueOffset\u0060, \u0060getTopic\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:861\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0071653e754739aa930ccea7d197ccfea263912934570d546b74c366837d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java:127-138 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePushImpl.java:212-223 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePushImpl.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java:127\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b865552a939f972d42efb7655c1dc836a31103021155bc81a817707b8a45118e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:530-541 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:566-577 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:530\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":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9214cca3f179b5835075cd49f78bd0578d1d199be564350983c5810afe8c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:80-91 | client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:127-138 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e0d1ba75909a944c4041c0981be94f6e10619ce6823ec373d388e99878d147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:282-293 | common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:297-308 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f6cfdd6eacaaa581eb04ba52e5dfd046d4d875e5e47d57b5c48d8fbd42e833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/message/MessageQueue.java:86-97 | common/src/main/java/org/apache/rocketmq/common/message/MessageQueueForC.java:79-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, 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":"common/src/main/java/org/apache/rocketmq/common/message/MessageQueue.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7355e995e4570f349c9c7089587deb31f270770794e2ac37c831345a1857bad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java:216-227 | proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java:241-252 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java:216\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":"proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9681b7da8e7aae310e40c9f048972c1710111ad01836b13088059506ee403e9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:787-798 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:337-348 \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 \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:787\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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"596e8f22c7da2231861caa79510666be7be2b7b573aa5f7f908760ffbbe10271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1410-1421 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1465-1473 \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 \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1410\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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11b53efd2c44f31e1231b6a97ae671913a0dddfc859b92423e51ce505343195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:368-378 | common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java:60-70 | common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java:63-73 | common/src/main/java/org/apache/rocketmq/common/compression/ZstdCompressor.java:60-70 \u2014 before extracting anything, compare \u0060common/src/main/java/org/apache/rocketmq/common/UtilAll.java\u0060 and \u0060common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/java/org/apache/rocketmq/common/UtilAll.java:368\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java:71\u0060 calls \u0060close\u0060 and \u0060common/src/main/java/org/apache/rocketmq/common/UtilAll.java:379\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5f501e86d167cc4ae345d277e977283209fd6345deb09c16507e417705756b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:391-400 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:857-867 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:263-271 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:92-100 \u2014 there are 4 copies across 3 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:391\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:856\u0060 calls \u0060getMessageStore\u0060, \u0060onCommitLogDispatch\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:90\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef40063022b78f7d6e6340b7ea08f30d3ec46982159810bdacfdaf79f69bcbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/LiteManagerProcessor.java:142-152 | broker/src/main/java/org/apache/rocketmq/broker/processor/LiteManagerProcessor.java:178-188 | broker/src/main/java/org/apache/rocketmq/broker/processor/LiteManagerProcessor.java:226-236 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/LiteManagerProcessor.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c914df73d9b16047e8741ab77c7315d0e2fac463a3a8ab376f4440138953fed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:722-731 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:801-809 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:864-874 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:876\u0060 calls \u0060getAndIncrement\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:732\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cf1da1c4f75473731d7e0c51327954cb6ebcfb867f50eb111c8b079864e0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1633-1643 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1693-1703 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1750-1760 \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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"75774e890c31420b897244569d16ea5472abe3083d04544c41a66cafac23d434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:559-569 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:579-589 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:598-608 \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 \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:559\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e5c68247796e40edf35aadf66ee0fb3e2d51e972d363594f4e7fbdcf1fed4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1060-1070 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1081-1091 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1103-1113 \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 \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1060\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1101\u0060 calls \u0060hasUnitFlag\u0060, \u0060values\u0060, \u0060iterator\u0060 and \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1079\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c27afc5f20a3627aee8306e6414fe175610cf491ac719abb0ed9ae0c1af051c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java:77-87 | auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java:103-113 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c41ddb936366b6f3d0b9dfa4678daaa86bb2ca687441bf615212edfefbb945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java:239-250 | broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java:290-299 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.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. 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":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"157ec5975da865017fb5fe2d794c6e03fb8429b5947362fbd6786d0d359f9f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:195-205 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:209-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 \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:195\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":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d88064786883d63518111f1f889c13dbf0b3030135d44a0d7ac278e9c1a218d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:183-192 | broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:252-262 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:183\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c0812afbba5bdcedfa95c94031aa1381c7ede3aca299bb1e4d29ca83bc57e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java:438-447 | broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java:458-468 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java:438\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":"broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"85921ce39691f0ead56e875b082529b74743e86ac9fbe856bb15a98b0b270c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:815-825 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3107-3117 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:815\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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae77c5321bcc09db4b9e4509d1f0085fd881f7a373565876b5c7e76be7a8aa2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1308-1318 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2068-2078 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1308\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b459a8c5dba1d7d378243cb10011f0409134382df6bbfd57f7f7bc8233d623a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:715-725 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:115-124 \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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a05462780aef6a6c99dbb4b160b9ff84d2becd7d2f2a7991fe8ca868ea3eefa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java:100-110 | broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java:156-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a74fdabf7bfe9e715e33ec0882fd44892982a44ae997f5709a9b364c5e92534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java:145-155 | broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java:124-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2c13bb88be26bdf1535dc0dd45231ba6b9bb553de350a7586c3f0acc39e9e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1081-1091 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:270-281 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1081\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac75cb7d036a2493aa2d456f3968953950a79deedb3cc5de4b2fe388c779003b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1948-1958 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2122-2131 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1948\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14ca638e3019583ca66a9d8381ac2a079bf2fc62ebfd851fc3836e519ba3ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3103-3117 | broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/DefaultTransactionalMessageCheckListener.java:65-79 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3103\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba32a004e58c9a0703a44707bfa85765fb7b2ddfe7b99c1b547d9eaaf22a9573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3430-3440 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3457-3467 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a36c7badf50bb53be7a11eb74fa8d58843bd208e51bede8f9bc5bd3d591727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:432-442 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:770-780 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:432\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b0f520d45f21e521c90d876a21678b92f10e9d3d1c42c8801d11f11b5fb044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java:194-204 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java:316-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 \u0060broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java:194\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java:206\u0060 calls \u0060info\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java:328\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"27738a0ecbb4c1284b8bcb4c16fb12ab0ce0000c883c82119272eb28b0cf9b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:133-142 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:161-171 \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 \u0060client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.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":"client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a87ead89a8d9a9633424ae13d655ea429f40bdbc1e711a7e8a208d57420c2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:459-469 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:509-519 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:459\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"af31c4939ef5f0f83742111c2419eb96b1fd855f12a6cf2142f784fb7d1facf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1746-1756 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1956-1966 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1746\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ca80ce22cac113667ffa1120b45162a47bea77aaa13ccd390e975ad530b35e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1993-2003 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2011-2021 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1993\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6993c9a038515b7f9234625d787ff16fca56ebf7f50f711a20d1d63d1b9f14f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:253-262 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:285-295 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:264\u0060 calls \u0060getProcessQueue\u0060, \u0060commit\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:295\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"281383fe69bfac62c0e85219b1fbde9a3ed40e6b3674e4eec30a5d5d608b2633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:534-544 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:558-568 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:534\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d512ce73a3d1de374e8865c869e7a8a7f4188752835b072eab189261a382af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1689-1699 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1720-1730 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1689\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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda8ade383e653adf5aca5f284ee938ea4a9917599ef15c6172ed9676c94cdf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1746-1756 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1790-1800 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1746\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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"409ee4400066d5447e560e8f096b3242c04caf4252eed8ad6b86cb337bdecb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:654-664 | controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:669-679 \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 \u0060controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:654\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":"controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7d64e4ef2c2a50b7829d0391b0300153823c820c4181372b415143cf94aa91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/ClientRequestProcessor.java:96-106 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/ClusterTestRequestProcessor.java:75-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/ClientRequestProcessor.java:96\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/ClientRequestProcessor.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a27c4fe46a0678ff189b75acf86c5df4c373eba8d568f6c04fe203243d6df6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java:117-127 | proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java:155-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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb038696a3a8c7c902b4bad96247c40a5307be115155d8705b75af678906060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java:49-59 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java:72-82 \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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java:49\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060long\u0060 in one and \u0060int\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03d395bf2a0a4b455e58fb6598074b9744b5a0fc6fb179919a5890c9478c955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:144-154 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:158-168 \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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:144\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f8ad66ffa5fa190dcb91f7f834562c2238519dd99127c27bac2f0df20ccd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1116-1126 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1275-1285 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1115\u0060 calls \u0060onCommitLogAppend\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1274\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f7cfbc68c402820fc93f7f9a3dfe84436fdc5f715ab1a622dabda927b21add"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1028-1038 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:558-567 \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 \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1028\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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a44eb1f76c9330d54848f3b1e6f69a158a57e3b22e2c519cabff29820e1d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java:99-109 | store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java:115-125 \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":"store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c431f7f54a346723154b0ac5718da5bd6204312c38d5a10548a0f97a312998b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:186-194 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:277-287 \u2014 before extracting anything, compare \u0060store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:186\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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0daf12210ffba5568fdf3d23b79cd06c83d2d466322cd083c50001ac38fb3d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:440-449 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:489-498 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1545-1554 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1695-1704 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2188-2197 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2269-2278 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2904-2913 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3361-3370 \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. 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0268f4215f28011adc62cb9aef15e4b2fe97a91ab4229445651008043db2825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3600-3609 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3616-3625 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3631-3640 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3677-3686 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3693-3702 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3708-3717 \u2014 all 6 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3600\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3600}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e1c10d41daeb55577e9b0d103a8545c2e313b5def6a13454e8ccbcb5036aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:137-145 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:119-127 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:94-102 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopLiteMessageProcessor.java:213-222 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:305-314 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:137\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:147\u0060 calls \u0060isLiteConsumer\u0060, \u0060nextInt\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:316\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"220b1165b38a2ade55e4eecef151cf0509edf67217c102b706c970ff242f2e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:87-95 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:173-181 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:249-258 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:301-309 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:352-360 \u2014 all 5 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 \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:171\u0060 calls \u0060setCompactionOptionsUniversal\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:247\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"685e2bb8f0cca6fae4348295e6884c9db832a08fd90c6b40926e8f2ab59c5254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 4): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:129-136 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:112-118 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:87-93 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:296-305 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.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. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac42cce3571d72fd8ab1244d6253f7b3ac6c6d9afe9b347b3860e398aab976b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:55-64 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:54-63 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:48-57 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.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":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"616cb8980ffb3079a03b569423d4351b1547fb79763bb044f183a0a95fb51212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:107-113 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:65-71 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:268-277 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 88 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.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. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3381c1153c6ccba9b3ae2b1b3cf18d506cd96c2ab2f3f569d34a471bb796304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 4): broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:141-143 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:189-197 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:455-463 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:608-617 \u2014 there are 4 copies across 3 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:189\u0060 calls \u0060getBrokerStatsManager\u0060, \u0060incGroupGetLatency\u0060, \u0060getConsumerGroup\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:141\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"075cd30f06fa63e169f1c17c2a7b2cec382c79b2520873fca659fca4b95719b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1952-1962 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1990-2000 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2008-2018 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1952\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1989\u0060 calls \u0060properties2String\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2007\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"6841bc73329a41817e4dc671b917a91fd9d05896a0ebea32af7769af7ee4fca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:440-449 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:560-569 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:594-603 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:440\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c20e16e231a0db8505b6ae9e2385324c13c2c8286e7df48f7b15fdcbf2b8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:122-131 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:214-223 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:281-290 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"64817c82ffa3b8c719305d9a9d31d6357a080481652012a910b97e7197a1011a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:143-152 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:157-166 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:185-194 \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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee3c755ec18b98e44efd7803070b98cbcab3d2efa1e76a35d705ff575e2b295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/manager/AuthenticationMetadataManagerImpl.java:66-75 | auth/src/main/java/org/apache/rocketmq/auth/authentication/manager/AuthenticationMetadataManagerImpl.java:80-89 \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 \u0060auth/src/main/java/org/apache/rocketmq/auth/authentication/manager/AuthenticationMetadataManagerImpl.java:66\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":"auth/src/main/java/org/apache/rocketmq/auth/authentication/manager/AuthenticationMetadataManagerImpl.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a9a4924a64a6592eb9f420a6e00d9b1a28f0814709f081be6073c702ddb7ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:411-423 | auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:428-440 \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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"455918898b9c1a06f9d4387c73fd074e970bdf757295ce09e4a35d0657f25527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:2464-2473 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2228-2237 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"855a85dfbc3914c118673b0631f470ce20d5ed223b1a842ac068e621f7c84428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:461-470 | broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:150-159 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:458\u0060 calls \u0060isLmq\u0060, \u0060assignResetOffset\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:148\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"a339aa50b8e494683ab82654d3ad8ad1a353f29d8f7cd41fa5852aa49550b038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:208-217 | broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:280-289 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:208\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":"broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d5fccc9971441d5226e882b323293f1265c34b58f6c28188aaeedea8ac5756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java:122-131 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:142-151 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3e7f5df7bfedaf3c1317ad6997099f737cee82436bc0ab54acf9231d5d11d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java:169-180 | broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:275-286 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java:169\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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"351accce1a10c0205434e8b4af93062d8b3c5af38cbcb3d3823bfb1c9a3e3639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:355-364 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:416-425 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:355\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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"12826f6b35adb39943712139149cd29a13efb3a663ddce2543945241cf292b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:366-375 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:427-436 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:366\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:377\u0060 calls \u0060debug\u0060, \u0060currentTimeMillis\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:438\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadd7b604133bdc9017fe6bdb86e389d9eb19f9dcf259a9bd6a6cdb9a62ce168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:436-446 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3584-3593 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:436\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"842b629dfe104c3f1be3cecd171c1eafef93c70a5706e81b7bb67a0236d6d737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:634-644 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3411-3420 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:634\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed664e81a9bb22958be7970913161559591dbf93488ac07909e08b63ea38c379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1239-1248 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:788-797 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1239\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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8baca40fdd1837eee671acf156d5a7cbfcbec74f370b7f46357b797d13a7111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1277-1286 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2093-2101 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1277\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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70282680151558542719f75c3da74a9e6dd8ffbf5fc562fece3eda259df3230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:395-404 | broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:414-423 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:395\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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2586241d51a1e29f26061d68f0d33736794db7912399e69159ea4786f195dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java:246-255 | broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java:360-369 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java:246\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"782df7b336df387c3a5c6c2fdf4b1be8d499d2d932db1429a95d000411765e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:592-604 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:671-682 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:592\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e4f5b18ba9fb6a72f51948c0d27ab4f4fcf99b52408d5d24b5405dc6982499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1193-1202 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2198-2206 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1193\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"64441068a3fd0824002ebeb84425eec26360355786ebc0e122bf86e588a6e60b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1186-1195 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:321-329 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1186\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60f2e56ae28cb45e2516187f85c3741465f558e06856c63f16d1e4b66da3015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2105-2114 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2805-2813 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2105\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2103\u0060 calls \u0060setPullOffset\u0060, \u0060max\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2803\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff79cebe17dfb97aadf9b065b146f656ec9c6bea7e2c683b18d29acb08c47f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:218-228 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:184-193 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa064fdf978ec166d74983b0c1d7c97db782824f6359f5cb41eed6d885f2645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3268-3277 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3311-3318 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3268\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3268}}}],"partialFingerprints":{"codehealthFindingId/v1":"05132b1ab67482fe5b9374393e102f35d455282061f23329c1c6adb5c63ae5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:353-362 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:266-275 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:353\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"57db3581d1723385fb10cfb79d4e2c5f65afad800d57fa1fd3b89e641bfb9de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:1062-1071 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:252-261 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:1062\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e36749c5121074ac9511a8063c83559e7aabeaf488b0155bad3d0cc911f313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:467-476 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:622-631 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:467\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"191fff3e096a6e380a913cd96bd4196d6fe97a1a59941df9f7401212f660e25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:228-237 | client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:242-251 \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 \u0060client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:228\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee68c32b5e5645e81bdd9a2d459c980435f1b96a85d47f8c9b29d2b2a7563445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:171-180 | common/src/main/java/org/apache/rocketmq/common/UtilAll.java:183-192 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd52b421b985adda17c90237e7228a0f53ece5ea3fe0938e138638d57d31361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:408-417 | common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java:34-43 \u2014 before extracting anything, compare \u0060common/src/main/java/org/apache/rocketmq/common/UtilAll.java\u0060 and \u0060common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/java/org/apache/rocketmq/common/UtilAll.java:408\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060common/src/main/java/org/apache/rocketmq/common/UtilAll.java:418\u0060 calls \u0060end\u0060 and \u0060common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java:44\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5293628aa5d770488a7d2743c4804067219a86812957d1f4685122c33466df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/lite/LiteUtil.java:57-66 | common/src/main/java/org/apache/rocketmq/common/lite/LiteUtil.java:71-80 \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":"common/src/main/java/org/apache/rocketmq/common/lite/LiteUtil.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fef5a2b4b26078bbb5099eb7701cd46ee21fa24d8776620d8f2c9860eaa424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/utils/HttpTinyClient.java:46-55 | common/src/main/java/org/apache/rocketmq/common/utils/HttpTinyClient.java:111-120 \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 \u0060common/src/main/java/org/apache/rocketmq/common/utils/HttpTinyClient.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. 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":"common/src/main/java/org/apache/rocketmq/common/utils/HttpTinyClient.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bec93d68e1573a79d73bf7b62a18177e812814e10d79a20918aedc550884a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/impl/task/RaftBrokerHeartBeatEventRequest.java:51-60 | controller/src/main/java/org/apache/rocketmq/controller/impl/task/RaftBrokerHeartBeatEventRequest.java:77-86 \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 \u0060controller/src/main/java/org/apache/rocketmq/controller/impl/task/RaftBrokerHeartBeatEventRequest.java:51\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"controller/src/main/java/org/apache/rocketmq/controller/impl/task/RaftBrokerHeartBeatEventRequest.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"45aea7fffa9fd10acb0aee1bf0853bd0944c032dd959c9fcc105c3876e5075ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/ClientRequestProcessor.java:90-100 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/GetTopicRouteActivity.java:61-70 \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 \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/ClientRequestProcessor.java:90\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/ClientRequestProcessor.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b4b333a713f907da2dcb87a66f005eccb44cbe6584f84bed61ebf87a51c933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java:473-482 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java:671-680 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java:473\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060ListSubscriptionRequest\u0060 in one and \u0060DescribeSubscriptionRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb06ea33b1ba0551285676c5b8ee5bbae0954b2f6d0379a9550e63e66368293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:209-217 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:338-347 \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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4d4ab04fbf22232ead8a7fd36ddf65c789d68f1f84843e0125d634d851720f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:442-451 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:491-500 \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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:442\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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b7fdfd5923587a75aaede3cf73899d5a3d3b04ef92a22549ca40ee32d8fdaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java:495-503 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java:605-614 \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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java:495\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a377b635461d090baf9cfe3ad452485bd42d16a7767ccb10fd0b9f34675848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1098-1107 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1259-1268 \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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dfd75f05881b768364c50265df0c0a9b0ccb5521d5020116db58b48e9a6b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:2271-2280 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:2300-2309 \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 \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:2271\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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2872fb7e8cf000f95187826a16affa4d1728c984c71a0c78f6bb0fc50da6b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java:46-55 | store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java:52-61 \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 \u0060store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.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":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"282d8ebd30cfe8c4580b5c0348a2de5f448f2824ade34386cf5eb4b3a6c11dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:415-424 | store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:437-446 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:415\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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a6567f9ad8bf08bb5806150b17c2daedbecd254ed31efdc2177de03bdbf541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:714-722 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:727-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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"8585913dae455ae155534e59d08f930d167db47be968975df99ca194c4c2739f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 34): proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:194-203 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListAclSubCommand.java:62-71 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:77-86 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanExpiredCQSubCommand.java:43-51 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanUnusedTopicCommand.java:43-51 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/DeleteExpiredCommitLogSubCommand.java:49-58 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetColdDataFlowCtrInfoSubCommand.java:58-66 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/ResetMasterFlushOffsetSubCommand.java:42-50 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SendMsgStatusCommand.java:61-70 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java:53-62 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java:72-81 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerProgressSubCommand.java:72-80 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportPopRecordCommand.java:50-58 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:56-65 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java:53-62 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:60-69 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:51-60 | tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java:52-60 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:103-115 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:148-157 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:95-108 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:220-229 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:73-82 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:64-72 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:187-196 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:55-64 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:69-78 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:76-85 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:94-103 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:57-65 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:76-85 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:72-81 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:77-86 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:85-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 34 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 34 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:194\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:192\u0060 calls \u0060addOption\u0060, \u0060Option\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanExpiredCQSubCommand.java:43\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10cff698293718ba1425cfef8fd1a57b7b8485a3e27bebe6527f9c6e7786677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1628-1636 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3599-3607 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3615-3623 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3630-3638 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3676-3684 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3692-3700 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3707-3715 \u2014 all 7 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc9822e49d80273eba0c9def17c223d241e31b6ce60e946ca94349b78674656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 6): broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:153-160 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:200-207 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:465-472 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:619-626 | broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:125-133 | broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:187-195 \u2014 there are 6 copies across 4 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.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":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4481696b37a3fd028c94b408bb4aa5f1d46a4d79870c22556bf202e3d1272e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 6): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:135-142 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:117-124 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:92-99 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopLiteMessageProcessor.java:211-219 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:303-311 | broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java:335-342 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:135\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java:343\u0060 calls \u0060setForbiddenType\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:143\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce9ca199349c7278b0b198fec34bdfbe51792c286f43dcfa877e5f866faade8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:212-220 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:258-266 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:296-304 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:317-325 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:338-346 \u2014 all 5 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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:212\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b464d495c368a7143f737625d6c451bb62dbcf7d73387947a205601b3ea722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1744-1752 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1954-1962 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1992-2000 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2010-2018 \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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1989\u0060 calls \u0060properties2String\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2007\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70a105820fb26f264553fc978d3e6e0703045a4e12415d3e11872f05dd44a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1023-1031 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1187-1195 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:530-538 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:660-668 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1033\u0060 calls \u0060get\u0060, \u0060updateMaxMessageSize\u0060, \u0060generateKey\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1197\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"473549728183ff2dadd94a124f694f956716a648a94b239bfecd5a1272b14aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:356-365 | auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:416-424 | auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:433-441 \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 \u0060auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:356\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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbab4d3ba6ecee0fb2ba2ec151fdc0ae2c78c733008f7d7099145644f8f5c564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:145-153 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:223-231 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:178-186 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d196e01047d7357a01bb08a33fa632551da93cbbcb282dc3ca20d357a1e7574d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:434-443 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:633-641 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3410-3418 \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. 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d875c066dc2094bb03101e81042f857db05baf60c37990bb0b4140053cb55e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1623-1631 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1683-1691 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1740-1748 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1623\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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d243ce517d3c5e6b409e482e2b723538d137237ad501c5168a2ecb4c58e8469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:163-171 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:291-299 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:342-350 \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 \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:163\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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4886d6646486143d3b7ee1e53e85c8d08520cd499c3c655a3fd5f9efaf738f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:240-248 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:261-269 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:240\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8c0198ad39ac2ae2c6185f5531a7635003d2e6098ee99ddd2a32286f0a96a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:501-509 | broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:511-519 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:501\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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a55cd1da21c1b77d7f22057665569392610d715a5198ea23f23a9bc83dae71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:405-413 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:461-469 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:405\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa41c322a7c2d3d0a0d6ccea19853d17028d7842194e58e3cd86f3904bbbfb9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerRocksdbStore.java:73-81 | common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:158-165 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerRocksdbStore.java:73\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerRocksdbStore.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dc8a0dad5c17dce2edf8e69971357399dee89dad908e8726cd133c38c8862e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20139 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:727-735 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:126-130 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:727\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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"4364ef497c849e455ccfdc4ea9846c1651181a76229d039095f76da900191b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:115-122 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:177-185 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:115\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8254d86445b36248c608b14425dfc7d0128f25a7a9ebec6f5f4ca6c06878f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:134-142 | broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:169-177 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:134\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e8b2ff614cbd9974dd948a06a0e9f1b4d45482534bcc30c3ae48ff6d069782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:340-355 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:429-444 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"258b7522f75c635c83aa419cf59570e1668f705f4c61f346a736a7bdf64bf093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:698-707 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:752-761 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"2023b5a52bb87b95bf2150b3feedbb17dbb029650543db7ac67a9a4549a75382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:406-418 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:432-444 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:406\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"191386c432ba60338a5bb5bd17df503d17391ff49735d6ef5379c499d62bba0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMachineRoomNearby.java:68-76 | client/src/main/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMachineRoomNearby.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/src/main/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMachineRoomNearby.java:68\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":"client/src/main/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMachineRoomNearby.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cee9d1118d36a0ec85d2ee80ee0af2fddabd384a56af6e483c534132dc5141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:476-484 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3348-3356 \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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"743da9c708b9944b5e3cd30065da63783d297fcaf16174bee1c18d8aee1262bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:57-65 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:61-69 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060messageListener\u0060 to \u0060MessageListenerConcurrently\u0060 in one and \u0060MessageListenerOrderly\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57f6010dfbf7379948ef4d302cbce3262fa56787b754ee057d052c3b4a40caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:380-388 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:483-491 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:380\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28e395c03be8213591e22d6ba30d6c1cd0a27272c9250885257eb0f1b842c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:756-764 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:797-805 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:756\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"9838bd13bc2c3ad740ba2964343033e3293f09ee3bf20343670a7cefca7b82ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/PopRequest.java:107-115 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullRequest.java:79-87 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/PopRequest.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. 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PopRequest.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4677cdd068cf3043f4c10eb64cd888e350b0e088a94fdb93c5a1618d2b5c9bb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:97-105 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:188-196 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fe63a5e16117a9db9f439b7ee88131fa4dd7dc1b3932ee924850ef6b385946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:1267-1275 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:1312-1320 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:1267\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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71c46f755270b08cb70efdb01d8333801772dce4b086e59214bd5f44741f6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java:911-919 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java:1533-1541 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java:911\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060DescribeGroupAccumulationRequest\u0060 in one and \u0060QueryTimeSpanRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a09f86a5bdc368e079eda4bfffbc6bdffc56053042c604cb4d838d478cc2433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:427-435 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:445-453 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:427\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":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5af5f81d5a3227d315fd9eb4dfd9a076d2e57fd61bfdf43c6b3a32fade3f61c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java:241-249 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java:293-301 \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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7469d28f1e1645a4f0bdcba7a3294d650dc28c48d5296daf205c3f2100908ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java:39-47 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java:62-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java:39\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060long\u0060 in one and \u0060int\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d6b39f949ec82a24c8314f2b07dc18df0a832b62959b51ca8232ad1a44fef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PullMessageRequestHeader.java:123-131 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/SendMessageResponseHeader.java:62-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PullMessageRequestHeader.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeed2bda706a65a6885348037bc3f69539c4378ac52d4af8a64e9803dccbfad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:351-358 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:773-781 \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 \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:351\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:772\u0060 calls \u0060getMessageStoreConfig\u0060, \u0060isCheckCommitLogOffsetOnRecover\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:350\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8d20e581f5eb86eefb594a480e595ef230ac17b5178a1a0536ebe97a1bc4dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:177-185 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:266-274 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:177\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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f2e49e5d87b2d06b3fc9bdcd5c7b04544e8d6f6bc5959113424d33b4994261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:428-436 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:405-413 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:428\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:414\u0060 calls \u0060position\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:437\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b4cb04fa71db8a4de8df936cf61e76cfa9ab7ff78f65d7fe419078e9b5a6bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:921-929 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:486-494 \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 \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:921\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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc849070632c5af071b18a9cb506d28f64445f1d969e2dd653d40d19a3d4fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:558-566 | store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:601-609 \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 \u0060store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:558\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":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c0cf427a130cd6a6e273b41f2deca6151e57d0ad57ad59d1f288cdb22c9059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:126-134 | store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:222-230 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:123\u0060 calls \u0060calMsgLengthNoProperties\u0060, \u0060getVersion\u0060, \u0060getSysFlag\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:219\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04130ce4bf2e1e0559c9ac84b0ee0ca7109c24f89734b55db8656308173f1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:261-269 | store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:365-373 \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":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba7ecfbe8b4c25d98f11a7d525be4b4d1bec4aafb2be967f8adf1612155308a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java:243-251 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java:404-412 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java:243\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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4062ec7256c7782a6c436e2f693a8df367788a15cd6fcea67e2d5ffbc602515a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java:179-187 | store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java:195-203 \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 \u0060store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java:179\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":"store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ab498fbb41710252e9498f265fffea17a8a915b7417807ca47598a96148a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:327-335 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:351-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 \u0060store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:327\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:360\u0060 calls \u0060getLong\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:336\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30959705e98f656a95bdef755ab4a107337aaa757ca33288e88508c4070b081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 34): proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:192-199 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:71-78 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/DeleteExpiredCommitLogSubCommand.java:47-54 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SendMsgStatusCommand.java:59-66 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:47-54 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java:51-58 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java:58-65 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:57-64 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:60-67 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:91-98 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:58-65 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportPopRecordCommand.java:48-55 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java:51-58 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:58-65 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:80-87 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:126-133 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:73-80 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:202-209 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:55-62 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:62-69 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:165-172 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:181-188 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:45-52 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:55-62 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:66-73 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:92-99 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:55-62 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:70-77 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:70-77 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:75-82 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:67-74 \u2014 there are 34 copies across 32 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 34 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a7c097082683d52cc5a9b39dbaa0e6533ff35d88e89411a0361ac4eba2ba99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:279-286 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:296-303 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:313-320 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:348-355 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:365-372 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:382-389 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:399-406 \u2014 all 7 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:279\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"519abb0f9d2a628c5c50ad421b83ca1a2d047a64694307aa7e60c375fed2c78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 6): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:114-120 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:97-103 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:72-78 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopLiteMessageProcessor.java:191-198 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:278-285 | broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java:351-357 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:114\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java:358\u0060 calls \u0060setForbiddenType\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:121\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83594552a5c73bc4ffd626c61dd00029dab42ca33bcc6f0117be582954b05df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:142-151 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:160-169 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:176-185 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:192-201 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:208-217 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:224-233 \u2014 all 6 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:142\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060requestHeader\u0060 to \u0060CreateTopicRequestHeader\u0060 in one and \u0060DeleteTopicRequestHeader\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a787cbe5e8308917244e99b7e80c4442e5a6ffab80da8329e3628ae505c058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:434-443 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:633-641 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3410-3418 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3584-3591 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"9570e8cf5ddc83ffd2833072306039b5cdaeb0841d2e5d8ce1fec26ae65f5c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:195-202 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:214-221 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:232-239 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:250-257 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:195\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bfda3c09529f86db127f31452614ebc0d4f96fb60499d519fd1665c84f9f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:667-673 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:721-727 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:800-806 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:863-870 \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. 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dd48a884a1b2312fdc30603624135d8aebc037457f89dd1af5cd7767b2025c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.java:156-164 | namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java:231-238 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:63-72 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:58-67 \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 \u0060controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.java:156\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"838fbcfb72202f81f913d052a24d3b929d2bc8676c51570a219229711f51fbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1004-1010 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1045-1051 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:243-250 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1004\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1011\u0060 calls \u0060string2Properties\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1052\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"4229bef2a918c1b8252198bbdeb1241b6d7c088135fb2df815b216e24d54be82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/ConsumerManageProcessor.java:110-117 | broker/src/main/java/org/apache/rocketmq/broker/processor/ConsumerManageProcessor.java:207-214 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingManager.java:263-270 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/ConsumerManageProcessor.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. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060requestHeader\u0060 to \u0060UpdateConsumerOffsetRequestHeader\u0060 in one and \u0060QueryConsumerOffsetRequestHeader\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/ConsumerManageProcessor.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2b6db74ab54fc6c459410f0e6e8e14e926406d690a9e434540173373fdf223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:103-112 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:86-95 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:61-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.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":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67a826cb5ac9d6f6da8d4707453455d97708de753dc65ac7b4900dee843ef2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:308-315 | proxy/src/main/java/org/apache/rocketmq/proxy/config/ProxyConfig.java:361-368 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:299-306 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:308\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":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0b20f1aa26cfef113432b372d936260824be1c2649911c2d3b42f148c54188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:93-101 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:111-118 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:263-270 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:93\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060requestHeader\u0060 to \u0060QueryMessageRequestHeader\u0060 in one and \u0060GetTopicStatsInfoRequestHeader\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ac9dc2732883c8f4ba90d07dc7c62b2dd7102968a88d622438752225469a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:732-738 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:818-824 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:1159-1166 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:732\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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"667c106292cfde17e40da4b5510093de8f39228ca58550a2a5fc78ee433caa9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1654-1661 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1715-1722 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1785-1792 \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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bca87f85deeec54a28f2857c3ad3286370324abe795b47cfd58c2fb8f1d72bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java:267-274 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java:276-283 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java:285-292 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/route/RouteActivity.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b955ed0796a45cb938a279387f8145a804410a4499763e737d4c47c2c34712b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:222-229 | auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:233-240 \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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c640c5f553c0ef1061f56ad96394bd97842c42e2ff923c19c8597976b7d039"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/migration/AuthMigrator.java:129-137 | auth/src/main/java/org/apache/rocketmq/auth/migration/AuthMigrator.java:147-155 \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 \u0060auth/src/main/java/org/apache/rocketmq/auth/migration/AuthMigrator.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":"auth/src/main/java/org/apache/rocketmq/auth/migration/AuthMigrator.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f77beaa79d0f9427fd39e36f636022503dbc3cdca7eb2688695e8f09feae8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java:55-62 | broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java:137-144 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.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":"broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"becf3b3168c512a22031a639871fcfceda17e7adcaa32e0816867dd570cae452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataCgCtrService.java:89-96 | broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataPullRequestHoldService.java:73-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataCgCtrService.java:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataCgCtrService.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fb154e3186147c6e53ac8011b40a5f4f63ef3f4728394ea4eb1098ea368143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:82-89 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:126-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:79\u0060 calls \u0060writeShort\u0060, \u0060writeBytes\u0060, \u0060writeByte\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:125\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aa12ffcf50a32d6d1963621dc1d6110e9ae3b27a9c2e9f9f6e40c61ae0e549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:230-237 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:251-258 \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":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bccb3ae238dad7a80de1c6e6f37b66832830815479b59736b2286712c5b8fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:387-394 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1499-1506 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:387\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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94ca635329929615f0a065e820b92583f89ab15b9bf9e5b5d8de82f3eeb37c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:933-940 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2981-2988 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:933\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2980\u0060 calls \u0060nanoTime\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:931\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"52609787382014c168c7f22db213fca99bdf06ba42c76818bb585d5c7a59f980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:156-162 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:853-860 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f5492daf1368189f1b0958c3ab408a85d0abe4915b24fc0dcad0c8a866dff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:248-255 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:761-768 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:248\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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3d19c9bbf0febcebc11b2c11aa672aeb31a2947fe7e6b2ef5ff20df121230c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3337-3344 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3361-3368 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3337\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e17094d377b8caaaea1050b37dc7584707313d4cf6d259d8668a38926fbf511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:388-395 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:558-565 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3a125e3eaae9cb6154cd2a0b4bf2afb1006c55b7e9a07eedcf0fe3caa6b27d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java:119-126 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:723-730 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java:127\u0060 calls \u0060getCode\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:732\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dae965c67f9f020f2392ac3cfd928c9fcbf68cfc4b12cda764295f7c907b3c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:51-58 | client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:119-126 \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":"client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3973a1a3db1e3b9540333d5d8bc75f091704547451004f02fa26a34b5622315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/impl/manager/RaftReplicasInfoManager.java:175-181 | controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:635-642 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controller/src/main/java/org/apache/rocketmq/controller/impl/manager/RaftReplicasInfoManager.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. 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":"controller/src/main/java/org/apache/rocketmq/controller/impl/manager/RaftReplicasInfoManager.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"32176b5ca43280b89b98bd29cda2434ead2f89e46aff3747212b67de2be8c4da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java:46-54 | proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java:70-78 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c397c9965a3eb421126d14495a4a8ae908a26e98e775345e0d70cd1a7ce3478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java:56-63 | proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java:80-87 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java:56\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab66940f095b3271b003b252ef31a6ba3e8b3b3d338379e956163b76ba01e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:37-44 | proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:54-61 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:37\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:62\u0060 calls \u0060fromParts\u0060, \u0060getHost\u0060 and \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:46\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7088f901a2ea047f64b437ab901ad92b4880bdf221f2df0872a74377bea645b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java:81-88 | store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java:98-104 \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 \u0060store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java:81\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":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d207bf3d5ec002711ddbb93f32854734d589dd3d3718e658d0a3d89cf1dde3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1178-1185 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:646-653 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:656\u0060 calls \u0060setStoreTimestamp\u0060, \u0060currentTimeMillis\u0060, \u0060getStoreStatsService\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1187\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd424658ee78771b24dbf9e828416b6c04837e35510eb2299953c21d06a9fd0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2455-2463 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2477-2484 \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 \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2455\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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2455}}}],"partialFingerprints":{"codehealthFindingId/v1":"9872896f2c20baa037f888dfa5ad3ef196e573633492358b3ab86cb6e0f0795a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:833-840 | store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:860-867 \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 \u0060store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:833\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":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d547fea2fc292dacae2e0ce7cabf498648cb49fe3a511b736a2b1700f7dc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:295-302 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:323-330 \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 \u0060store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:295\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":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"477f8aecdd9770aedc6bc32c59cd2ac1a54548c414195b93d6c80b24642622b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java:226-238 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java:387-399 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java:226\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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd94276e30331e6f271e26d629361b26df0576c649a437a9772870b2c4eaa32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:245-252 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:68-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:245\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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"27257f7ded14fc3ed0be8825e8f83db8afacfb6770aa1d298da0b0349e2f80c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:715-723 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:142-149 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:715\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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"3356a5791e3ef9fb88b919b9959783e59d0ba77b3c853acd023abb18fd223834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 35): proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:194-200 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListAclSubCommand.java:62-68 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:73-79 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/DeleteExpiredCommitLogSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SendMsgStatusCommand.java:61-67 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:59-65 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:62-68 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:93-99 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportPopRecordCommand.java:50-56 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:51-57 | tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:82-88 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:128-134 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:75-81 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:204-210 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:64-70 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:167-173 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:183-189 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:47-53 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:68-74 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:94-100 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:72-78 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:72-78 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:77-83 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:69-75 \u2014 there are 35 copies across 33 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 35 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:81\u0060 calls \u0060Option\u0060, \u0060setRequired\u0060, \u0060addOption\u0060 and \u0060proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:202\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cfdf1ab9750a62f1b0c55a03b2badc1c337d3666ef2ea7e7250ca62c4b1a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:217-223 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:234-240 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:251-257 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:269-275 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:302-308 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:320-326 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:337-343 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:355-361 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:380-386 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:398-405 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:418-425 \u2014 all 11 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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:217\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060QueryRouteRequest\u0060 in one and \u0060HeartbeatRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0076faefa26a74c84f75bef88c0dc452953b66774c2ff4e890759722c3caa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2645-2651 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2723-2729 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2755-2761 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2926-2932 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2955-2961 \u2014 all 5 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2645\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2645}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd01c30fb6c34e0eb33d3cada07ca92adc705aded9e53e39cd428344dcd179c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:53-59 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:105-111 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:228-234 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:270-276 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:321-327 \u2014 all 5 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 \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:228\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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1264d42c3b6bf6c8ab05bb5805d2dd43956c71c75b20d140f15ecc66959e6ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2618-2624 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2810-2816 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2840-2846 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2869-2875 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2618\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2618}}}],"partialFingerprints":{"codehealthFindingId/v1":"2222a53b28d9b9cddf3c835a1617fb0f2439202ea6b8b2211152f3911fbc6efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:492-499 | broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java:78-85 | remoting/src/main/java/org/apache/rocketmq/remoting/metrics/RemotingMetricsManager.java:75-82 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:492\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"055493ceddf4f488ed85af23b18d5528478c5f539ee7dda983bdc565bfcfc19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:36-42 | proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:53-59 | proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:71-77 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:36\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:62\u0060 calls \u0060fromParts\u0060, \u0060getHost\u0060 and \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java:46\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb50b29ef01315ba415f07b07b45465647285aff882bda3ab5ab1b101021be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:245-251 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:414-420 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:68-74 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8ae73ca96f86781e54edf30d850291efe392f7b8af735968cad3785765be98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:736-743 | auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:774-781 \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 \u0060auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:736\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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf314c2bd2fd7c48038cc600a2131a7212f124820441aeb1c52cde3edebbde92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java:144-150 | auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java:183-189 \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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed154a502bcd868cad62ca4f95902b50d0ada63a081c10875cdd6e9f6d08be6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1999-2011 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:97-109 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1999\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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af157c1fcb3f06f45618b09edf1a4babe265f7fbbcb8d81e4ed513644ac8703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java:230-236 | broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java:281-287 \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":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcdabba20cf62c452ca39cfc92d5837ef667c305455d554126914284e6d635b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:164-170 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:179-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"be587f6af4e4a6784ce6af2472804c63d5fcb14bd080c4909a8d44903cde5d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:125-131 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:142-148 \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":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1583b5701adcfc5445fb9f83d21771c8a0bf420e2cf8f5fc1d6f40965e659a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:453-459 | broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:140-146 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:453\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":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3293133ed005702e274c4dda1bb7684179c0f5d9bd0d08b1cc482524c3d87cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:342-348 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:309-315 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:342\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":"broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"96401008c93a71146c30c0844379e9322b02ec197e11b44f57f0c848c3a7aca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:202-209 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:212-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f024f3763757482495d3a5b71233b0b96f3d30ca6240ee563b4dd9b487f881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1356-1363 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3442-3449 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ade935ad281e5981e79719b79e34c085b60011a916e5a850c784777fe0f37e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:857-863 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1871-1880 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:857\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dfd49a59eae03541fb969a98171111aac82e0181e961c983d6f37604e9dd9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1906-1912 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2461-2467 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9dd32447a667ea04e6d1b509c25470776f8e6a48efcf4e6a3a350b3129415b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java:315-321 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:514-520 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java:315\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e4095aa982964065f2d58b094c73a86ace720e7f763bb5fbe214ceb1df6ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:351-357 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:645-651 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:351\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36a39b248d91075f1156794c874eabc5593ae7d192ad4591257ed0b255f8099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:346-352 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1255-1261 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:344\u0060 calls \u0060setPropertiesString\u0060, \u0060messageProperties2String\u0060, \u0060getProperties\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1253\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9b777db33bfaf3a288c9073c80b8e3db4076ebd628768a63d0225ab7ca59f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/transaction/AbstractTransactionalMessageCheckListener.java:57-67 | broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java:230-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 \u0060broker/src/main/java/org/apache/rocketmq/broker/transaction/AbstractTransactionalMessageCheckListener.java:57\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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/AbstractTransactionalMessageCheckListener.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c018fd4396d1cd5454f14dd9e20bbec2193bfffbd754e4f326b3cfa746b9fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java:776-782 | client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java:396-402 \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 \u0060client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java:776\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":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a382d4c81ce9ca68e06bd021aee232635eade3e5906800e2543c13f86a37f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/MQPullConsumerScheduleService.java:65-71 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:226-232 \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 \u0060client/src/main/java/org/apache/rocketmq/client/consumer/MQPullConsumerScheduleService.java:65\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":"client/src/main/java/org/apache/rocketmq/client/consumer/MQPullConsumerScheduleService.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2db718939365b825a8969cd9285e937501de216dec6bbc67898fb6359c1c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1178-1184 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1299-1305 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1178\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bca3d27afe0c9a4f943084aa967fff4cdbb63c4862f68310ff404fd8733cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:212-218 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:186-192 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:212\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0cde00357696cdf7b78f65d6335058d44ab4192dabef4d0b79df2b3cf80da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:352-358 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:365-371 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d97487e624930e6820a82547b9b5e5ae897c6e1351e6d0c68b9946a7aedffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullAPIWrapper.java:225-231 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:409-415 \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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullAPIWrapper.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bee58766f1bb497446c468b581e563c85a0d431fb0b564b49888bdaa9c1050f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageOpenTracingHookImpl.java:61-67 | client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionOpenTracingHookImpl.java:53-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageOpenTracingHookImpl.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cc5a81de193ecd17a372f706fee6b84628c0ef5696c19bdf46c4f18ef093c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionOpenTracingHookImpl.java:52-58 | client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageOpenTracingHookImpl.java:52-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionOpenTracingHookImpl.java:52\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageOpenTracingHookImpl.java:58\u0060 calls \u0060inject\u0060, \u0060context\u0060, \u0060TextMapAdapter\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionOpenTracingHookImpl.java:59\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionOpenTracingHookImpl.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"095f601ce48e4226cad4a0c60dd586ba40e32f7f96ff872b271882360ab4b87f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/MixAll.java:376-382 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java:437-443 \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 \u0060common/src/main/java/org/apache/rocketmq/common/MixAll.java:376\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":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62934071e8adc4ad122d87b2db92d030d03bfe1a8dc836a6424a15be2dd35bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): container/src/main/java/org/apache/rocketmq/container/BrokerContainer.java:297-303 | container/src/main/java/org/apache/rocketmq/container/BrokerContainer.java:328-334 \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":"container/src/main/java/org/apache/rocketmq/container/BrokerContainer.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"81968b749fca0b05e43e248f775c60679941cfdb08d03b24f842decca3cada12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:625-631 | controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:634-640 \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 \u0060controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:625\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":"controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"0516002684de96dce11d66b25b2ee193cff91e80b148d1326adf731130df53d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PushConsumerImpl.java:54-60 | openmessaging/src/main/java/io/openmessaging/rocketmq/producer/AbstractOMSProducer.java:51-57 \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 \u0060openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PushConsumerImpl.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":"openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PushConsumerImpl.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1becd273304cdc7d15006b558e07e123b6c465f93e8ac36b0bf319c8add5ee32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): openmessaging/src/main/java/io/openmessaging/rocketmq/utils/BeanUtils.java:144-150 | openmessaging/src/main/java/io/openmessaging/rocketmq/utils/BeanUtils.java:168-174 \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 \u0060openmessaging/src/main/java/io/openmessaging/rocketmq/utils/BeanUtils.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":"openmessaging/src/main/java/io/openmessaging/rocketmq/utils/BeanUtils.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"308fa38269166828c8f71ce0a0e57df9d0f9fe1fb3643f027b65bdda6075f79c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1751-1757 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1861-1867 \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 \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1751\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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1751}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e57768892d29879bb63f5f424b7d70402247e20857431818f8b94a4f50f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:123-129 | store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:140-146 \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 \u0060store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:123\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":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"15be40d4eba9ea14d39e1e0e006a61e1855690d918c26513fdb6b3a38e2e25df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java:118-124 | store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java:207-213 \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 \u0060store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java:118\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":"store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d07c521cb30806106052906b2e2495253fe57503f881643c5c5a6254d47e7a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:976-982 | store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:1005-1011 \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 \u0060store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:976\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":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"6723f9c1959d663737e29d457ba6ab1f8ec5a3b9410efcb2b5e93f3e53979dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:787-792 | store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:802-808 \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 \u0060store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:787\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":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6e5c907b1d86c421aefe719473999fc063be35eac5cd9038cb111c5e457b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:491-497 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:502-508 \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 \u0060store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:491\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"72369c774f2a1eb619e2dbce98984f20fc661f07e61b06bc7daf348b6c7dd56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 31): proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:191-196 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:73-79 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:53-58 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/DeleteExpiredCommitLogSubCommand.java:46-51 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:45-50 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:46-51 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:48-53 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java:57-62 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:59-65 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:45-50 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:48-53 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:51-56 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:62-68 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:93-99 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:57-62 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportPopRecordCommand.java:46-52 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java:50-55 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:82-88 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:128-134 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:75-83 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:204-210 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:167-173 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:183-189 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:47-53 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:68-74 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:72-78 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:53-58 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:69-75 \u2014 there are 31 copies across 28 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 31 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportPopRecordCommand.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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:71\u0060 calls \u0060addOption\u0060, \u0060Option\u0060 and \u0060proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:191\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b64760357d283d2d081c144541eae9da7ba52f47ceed13f0e2acdcc1af17ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2123-2128 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2618-2623 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2810-2815 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2840-2845 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2869-2874 \u2014 all 5 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2123\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e77648a8ff91894b33d9ccfb8f9aeba43ec62591706b4231c95ef30d31584de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2598-2603 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2618-2623 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2810-2815 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2840-2845 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2869-2874 \u2014 all 5 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2598\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"affea73ceaa82ba3ca19f6a047396bafbe301a2098c347a378bb8df694516bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:78-83 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:89-94 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:239-244 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:260-265 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"520d42a971d7d74dca2c78c0d170ad64fc005f6a5d8efbff00260c99a2e3a93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1444-1449 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2460-2465 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2487-2492 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2790-2795 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1444\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7302d4a4813e09313b3d5a429ba68f8d1bef9db3504a2efa07c1c31cd5acf39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:107-112 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:81-86 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:98-103 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:79\u0060 calls \u0060setAutoCommit\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:105\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d420e3dc1d68f47a1bb0db5ea48dcba032ba220b6cb12a40eb8bfb372f374c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:50-55 | client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:118-123 | client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:138-143 \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":"client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a009debb833908db88511d96afecdf36c67744555995cb884255ca3ed5e2bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): filter/src/main/java/org/apache/rocketmq/filter/util/BitsArray.java:94-99 | filter/src/main/java/org/apache/rocketmq/filter/util/BitsArray.java:116-121 | filter/src/main/java/org/apache/rocketmq/filter/util/BitsArray.java:135-140 \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 \u0060filter/src/main/java/org/apache/rocketmq/filter/util/BitsArray.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":"filter/src/main/java/org/apache/rocketmq/filter/util/BitsArray.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbce783d1d37d89ee491f5e12d86c5ae0f78d5cb079f9ceba64b0b1ae6a4eb45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:115-120 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:207-212 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:274-279 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:115\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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"662ad677e34582893c7103e591aa880867012bd6e0ca376549e2375d6b65a8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:467-472 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:489-494 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:500-505 \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":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"788d3589c5c0f938ad9806634fbe4997f325f806328d58af029dd327e04e2ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java:128-133 | auth/src/main/java/org/apache/rocketmq/auth/authorization/provider/LocalAuthorizationMetadataProvider.java:135-140 \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 \u0060auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java:128\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":"auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aeb9c04b7328f7aff7ece41413c9c44886a8a860743e5d489e1512b419dc40b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:384-389 | auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:398-403 \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 \u0060auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:384\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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"924c0f73abdd46a25bfbbe0f1f651568d4ecee8df51f8cd1350653e1210ed126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/migration/AuthMigrator.java:122-127 | auth/src/main/java/org/apache/rocketmq/auth/migration/AuthMigrator.java:140-145 \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":"auth/src/main/java/org/apache/rocketmq/auth/migration/AuthMigrator.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9288a6e335e670fdf6ea57cb6bb65625baa297cdc63c613be73bc22ebdd71b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:72-77 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:119-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb54119309f3b7d95d944d7391ee429378440f052530f9d76b5d3b88fa5a8a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:355-361 | broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:402-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 \u0060broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:355\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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a610b291681310bf7142156c53ee38887cb78946c5c2bcc74f987f517e8904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:76-81 | broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:126-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.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":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cad9f7f8c08225d9345638d1d43ede5e7c007a55663559dbc4924d136b24b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:687-693 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:159-164 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java:687\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcab2daf6e54f0d00b7e308f9095818c2058a2097435e993017ae3eb5960932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1007-1012 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1136-1141 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1007\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74c79f44e1b4b502a5d160ecfd5869f49e198a4275030169aa72c6326cb9ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1692-1697 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1730-1735 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"40562a08efc7089da2a32f91d6f44c8cf80fbc071b9e60425ea39a3fc3eb316c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1968-1979 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java:100-111 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1968\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb029aa52d1a3fd871f2833e15913e6b7454e7c64fa16ed92d69c0adad4af03c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java:324-330 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:939-945 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f84679d25dae9257841c7eef34941dcb9edfb507fba5a441aa6ff53b3d2ab03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:136-144 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:136\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea61734a2ab724ffae84a95b98bbc55de0cf0573ef5a2dee4ae1b3012c312495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:860-866 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:874-880 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1365ed301e933766d4d7abf17457a9631b88bf1c4cb6c39570bad9648f85594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:324-330 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:361-366 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:324\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b779108c3ca339e203319901529a6b08783970911cd2fc273d4231a04fae0b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:242-247 | broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java:130-135 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:242\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dbb1a46031ca039b98ca8afd6671ac7ce16f5a7c6d511823cfc278c96a526c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java:49-55 | client/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java:82-88 \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 \u0060client/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java:49\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d58b82682dacaa460933d28cb0a0fed64b94b42d8bed471b4bf2a15ba7e09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1203-1208 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:354-359 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1203\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e14f13378f88cbe53f8f917d778d51a7372717578998d6b70bd3f3c5b91a3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1315-1320 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:332-337 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1315\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95c3134a91132c07d45b0d9687093d08aa6ac98b10490442805e77417b54cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1575-1581 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1596-1602 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1575\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a8e8df6e5147783b2b1498710bf63d5b376533821d6d58c47a52a355b498aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:160-165 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:202-208 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:160\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf685969d23c96cc61ec619bf1901e4dc2c7cfe75b1c8ee4d156e5992f8315a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:431-438 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:551-558 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:431\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a7a7a4b5336034a0018aec310b7d7e0254dd0b6911c5e3202685a1030c5d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:197-204 | common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:316-323 \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":"common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"10da48e36df5ddc12abcc14ad40982abe0c0426aab2f431e2a86d9da9e1c0175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java:183-191 | controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/RaftBrokerHeartBeatManager.java:263-271 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java:183\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":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed782a55a0a43e7becbaea821c936a3f69cf91966ed7f8f4a84b06e015571c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java:304-310 | controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java:339-345 \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 \u0060controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java:304\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":"controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dff56d2e788e54ce2e68642ccfd5526bb51c1561e9e853480ee51b904650c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java:1657-1662 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java:1686-1691 \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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"83269668d6bee8b8f4530d97a4940956a1d558dc509454052e2b8f1e7dc2df16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java:149-155 | proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java:189-195 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java:149\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":"proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"569c5363c839bbf3810b85f1465dba781a179b098b9d5d9151aa34983faaefb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java:338-344 | remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java:352-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java:338\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c2743fc5c2d3f40cb4da8274b59dd7cdb34467d19a6d403502276e00a4ab6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/GetMessageResult.java:116-121 | store/src/main/java/org/apache/rocketmq/store/GetMessageResult.java:125-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/GetMessageResult.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4bab76987fdee78832089a04c35b029a4902352a393659f9ccf51415f438da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:644-649 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:684-689 \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 \u0060store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:644\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":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e2491e62ba7ed8d81354386a0755a81ca85ef5c5e0092b16803e370604a994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:721-729 | store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:764-769 \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 \u0060store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java:721\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":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"39005d2c85abcf3de4016683be8e018c13ec4526ff1b593d1f9978dacb518693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:76-80 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:87-91 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:123-127 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:131-135 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:237-241 \u2014 all 5 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":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0fbb3119cb60c998efc83fd8df28b27e3a58c3bf4cc1355b0252bfdbe558c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java:129-133 | broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:113-117 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:71-75 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:276-282 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 88 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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0ecd0d91be1f5d47f3263f72b37fab69473fddb1c66ef0e19deff235eae370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:140-144 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:148-152 | broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java:258-262 \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":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"743821118173ef4bbf0b37cf8324284596d1d8e940f84b0edd809de3f5c972e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:108-112 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:144-148 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:162-166 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:108\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":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"df76915b12c988f201e7c499d196bc504ec8e31d8838143725ef738387fb67e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3055-3059 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3327-3331 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3389-3393 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3055\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":3055}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1d7875cb96dba7978f3d91e6cbe428eb1d2871b8daad8bc36b403d281a6800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1052-1058 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1073-1079 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1094-1100 \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 \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1052\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1101\u0060 calls \u0060hasUnitFlag\u0060, \u0060values\u0060, \u0060iterator\u0060 and \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1080\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f817d1436ba2aa49ae811d4378816e153d4cfbb2881b473a84f9acd7ca29396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:737-741 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:828-832 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:197-201 \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 \u0060store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:737\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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d097254a32bf1e2ff0c4ae37ae6e800e788778bc9aea6b5b50e3a27ab579d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java:278-283 | store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java:349-354 | store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java:539-544 \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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/MessageRocksDBStorage.java"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0aebae9e9c7e468280904855949081823a4dde594b2d7aa70258092719380b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:306-310 | auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:316-320 \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 \u0060auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java:306\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":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0ebc282a1dd96696601d8aaf7478c1dea73cce9dec2794f331f8a3ac3b3c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java:135-140 | broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java:114-119 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java:135\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"10790002d9a4e2ae57100b1a2355593dc4de7fa82a50ad7c801245853f490621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:582-587 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:743-748 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:741\u0060 calls \u0060getForce\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:580\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac8f54b9d6ae6d3a3b132ebb16826a7d36d61b6499476a38ae7bd0fde52dc92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:522-531 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:545-554 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:522\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff19d263735dea28e03fad246e9d5059a24a9851a52c83490abe831006d58417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java:300-307 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:488-495 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java:300\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"674c2e4e974f10e611df2071156975330fa39350111bc0260511b65554fbe0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1162-1166 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:340-344 \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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1162\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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cdf4a2f2bb3e4b95b604a3637a2d6af4d988b40342edd18cdb8f2c0b373894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:342-346 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:256-260 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:788-791 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:342\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f0336403492e3c44bd64a060017ff57a17a271f34300abccaaa18ee4c0849c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:413-417 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:1410-1415 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:413\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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"88df3f33cbe499d44a5aecdbad35adaa814f3da536283cb72179a366a3542688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:1260-1264 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/ClientMetadata.java:70-75 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"850cf89fcd74125a187638f05e5b6e80235fb9a9664ede1486f347e43216a0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:809-814 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:846-851 \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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9951939bd4a636c2f499aae0b7faeb6a2e8b9bfa77b878c8d4294b697b0a988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionTraceHookImpl.java:57-63 | client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageTraceHookImpl.java:54-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060EndTransactionContext\u0060 in one and \u0060SendMessageContext\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageTraceHookImpl.java:52\u0060 calls \u0060setMqTraceContext\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionTraceHookImpl.java:55\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionTraceHookImpl.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21ec8b4e8d8bb6da4dd49ddd11b71e605c8aba04bd98462c48f6f458082b43b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/message/MessageQueue.java:69-75 | common/src/main/java/org/apache/rocketmq/common/message/MessageQueueForC.java:62-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageQueue.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e276af48f213469f3fc2ae2abffd2220dc3cbc5bc9d70463550eeceb6d67d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/impl/event/ListEventSerializer.java:56-60 | controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:611-615 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/event/ListEventSerializer.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2466e2ea166904fbd23a04d5cefaf4a41ca8b51c715e9f2eb982a5c8ed42d16f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/client/ClientActivity.java:417-422 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/client/ClientActivity.java:434-438 \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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/client/ClientActivity.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a9f9cdf652d9134fcbe7a4ea0be51d8622f43816d6862aea1d50d98cebcf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:494-499 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:522-527 \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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:494\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"806e5092e2b4d864190e9164a6f07b8bc16e1b678787e6f93f8332c0ad6c48ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1949-1953 | store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:189-193 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1949\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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"046102ef3bf0d772b7e67699439fdf3f8807a6ff8f9df8a4935dcd046ff809ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1399-1405 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1456-1460 \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 \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1399\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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a93992108ddb1b81edca4842f729fd3294e42c84ab74f50d0b2babf68d708b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1266-1270 | store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java:265-269 \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 \u0060store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1266\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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cad91b27e1c8686c308f05bd7e884f3dafe747923f8f6dbd3460655322ac74d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java:436-442 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java:470-474 \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. 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70faae9ddec51127fa289bb4fb9f95951cd120132e565640946bc7792a5ad43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreFetcherImpl.java:321-325 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreFetcherImpl.java:449-453 \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 \u0060tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreFetcherImpl.java:321\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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreFetcherImpl.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7f1ea3ac4b9495ad9019833ab3271703fdfbfa7284fc6c7c3dea4bc36ae8fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metadata/DefaultMetadataStore.java:60-64 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metadata/DefaultMetadataStore.java:298-302 \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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metadata/DefaultMetadataStore.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e52f1b330b7b86891496df69a41a6e17f03e6b70b2fe19f080c45691e74e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:323-342 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:743-762 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:323\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4951520ef143de17022ab5a79860c77f552a9a3dbda77c1819626c52e117512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/exception/AuthenticationException.java:23-33 | auth/src/main/java/org/apache/rocketmq/auth/authorization/exception/AuthorizationException.java:23-33 \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":"auth/src/main/java/org/apache/rocketmq/auth/authentication/exception/AuthenticationException.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a11d5d717ff377498f59c465d37acb98fe2ca8d963c1a487b29837a20105c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBLmqSubscriptionGroupManager.java:25-54 | broker/src/main/java/org/apache/rocketmq/broker/subscription/LmqSubscriptionGroupManager.java:25-54 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBLmqSubscriptionGroupManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/subscription/LmqSubscriptionGroupManager.java\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBLmqSubscriptionGroupManager.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cef89a0a748f73321acd0891f8138ce53cb02fa1dea854aa645e4ace353732f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBLmqTopicConfigManager.java:26-56 | broker/src/main/java/org/apache/rocketmq/broker/topic/LmqTopicConfigManager.java:25-55 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBLmqTopicConfigManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/topic/LmqTopicConfigManager.java\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBLmqTopicConfigManager.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"221ed6847ac505f6a2ecefae61b844ce5bafde14e5fbbc9edf2bf1e428b75ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/util/PositiveAtomicCounter.java:26-39 | common/src/main/java/org/apache/rocketmq/common/utils/PositiveAtomicCounter.java:26-39 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/util/PositiveAtomicCounter.java\u0060 and \u0060common/src/main/java/org/apache/rocketmq/common/utils/PositiveAtomicCounter.java\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"broker/src/main/java/org/apache/rocketmq/broker/util/PositiveAtomicCounter.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c61ae1b0b86af1c2b0f482ce50701abd4470717d0e9c626c9045005b998ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/AckMessageActivity.java:29-37 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ChangeInvisibleTimeActivity.java:29-37 \u2014 before extracting anything, compare \u0060proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/AckMessageActivity.java\u0060 and \u0060proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ChangeInvisibleTimeActivity.java\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/AckMessageActivity.java:29\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/AckMessageActivity.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fa038eeeb3522256de22f5f6956458d8f67c3fdb58a12cf2b9a3a1e87838fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/LanguageCode.java:56-73 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/SerializeType.java:28-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/LanguageCode.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad143e738466e871acd01bf97f81a5613f463dbb897319f04bfd69fc677cdcbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/stats/StatsSnapshot.java:1-57 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/BrokerStatsItem.java:1-47 \u2014 before extracting anything, compare \u0060common/src/main/java/org/apache/rocketmq/common/stats/StatsSnapshot.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/BrokerStatsItem.java\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/java/org/apache/rocketmq/common/stats/StatsSnapshot.java:1\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":"common/src/main/java/org/apache/rocketmq/common/stats/StatsSnapshot.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b6c0dac998e7476c9fd3a20ca6ef4ef64f97708e0bdad87d1091161d6c52d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/LockBatchRequestBody.java:1-72 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/UnlockBatchRequestBody.java:1-72 \u2014 before extracting anything, compare \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/LockBatchRequestBody.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/UnlockBatchRequestBody.java\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/LockBatchRequestBody.java:1\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/LockBatchRequestBody.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4decd06b2744b321b2b370ffe3f27e836f78d4df3188aceea37b0d5d2187e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ChangeInvisibleTimeResponseHeader.java:1-60 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopLiteMessageResponseHeader.java:1-86 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopMessageResponseHeader.java:1-101 \u2014 before extracting anything, compare \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ChangeInvisibleTimeResponseHeader.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopLiteMessageResponseHeader.java\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ChangeInvisibleTimeResponseHeader.java:1\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ChangeInvisibleTimeResponseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6939a5be642dbaeec28279b946ddcf1d1048e74553c38a50564368e9cf59ff75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExchangeHAInfoRequestHeader.java:1-66 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExchangeHAInfoResponseHeader.java:1-61 \u2014 before extracting anything, compare \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExchangeHAInfoRequestHeader.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExchangeHAInfoResponseHeader.java\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExchangeHAInfoRequestHeader.java:1\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExchangeHAInfoRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3482b23a6c350c5d9c90ae6ced187df9ab1212d5931d6c19012ca09e84df1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/GetEarliestMsgStoretimeRequestHeader.java:1-62 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumeQueueRequestHeader.java:1-82 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ResetOffsetRequestHeader.java:1-101 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/GetEarliestMsgStoretimeRequestHeader.java:1\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/GetEarliestMsgStoretimeRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82512bb0b7bce9d414c9877274e61c5e0eb96e2cb05093bd40a53171e361ec53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PollingInfoRequestHeader.java:1-69 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/StatisticsMessagesRequestHeader.java:1-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PollingInfoRequestHeader.java:1\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PollingInfoRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bde1ff92888831d3f858c32b365cbfe0887812737a0ad0ed8833eb56eddeb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (86 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopLiteMessageResponseHeader.java:1-86 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopMessageResponseHeader.java:1-101 \u2014 before extracting anything, compare \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopLiteMessageResponseHeader.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopMessageResponseHeader.java\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopLiteMessageResponseHeader.java:1\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopLiteMessageResponseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04132ea956933fd3d171cd7c57394f5983acb2ee979f3b597a72c00f3c5e578e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumeTimeSpanRequestHeader.java:1-56 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ResetOffsetRequestHeader.java:1-101 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/UpdateGroupForbiddenRequestHeader.java:1-70 \u2014 before extracting anything, compare \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumeTimeSpanRequestHeader.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ResetOffsetRequestHeader.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumeTimeSpanRequestHeader.java:1\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumeTimeSpanRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5ebd3f64195d14e719b406cdfaea903c253244f715575b193054a86bbf2afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ResetOffsetRequestHeader.java:1-101 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ViewMessageRequestHeader.java:1-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ResetOffsetRequestHeader.java:1\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ResetOffsetRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81070d35f1529fd621105e5b4d724e1ee124a2b8d198149d3dad423a393a7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/register/ApplyBrokerIdResponseHeader.java:29-65 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/register/GetNextBrokerIdRequestHeader.java:36-72 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/register/ApplyBrokerIdResponseHeader.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c61fa474b5deab0924b5f74b7febf99034b72a0b77bb9bb3e5a0ae98fac0cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/DeleteKVConfigRequestHeader.java:1-53 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/GetKVConfigRequestHeader.java:1-53 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/PutKVConfigRequestHeader.java:1-63 \u2014 before extracting anything, compare \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/DeleteKVConfigRequestHeader.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/GetKVConfigRequestHeader.java\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/DeleteKVConfigRequestHeader.java:1\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/DeleteKVConfigRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad3e6d2ca12e01f6b7958ec6692dc5a246bca953d837afde0b62ec23cb0343f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/QueryDataVersionRequestHeader.java:1-76 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/RegisterBrokerRequestHeader.java:1-129 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/UnRegisterBrokerRequestHeader.java:1-78 \u2014 before extracting anything, compare \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/QueryDataVersionRequestHeader.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/RegisterBrokerRequestHeader.java\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/QueryDataVersionRequestHeader.java:1\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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/QueryDataVersionRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c24cadf0438e28d288b6158f125d6d46a7e63370a5eadd18c6dbe283513686a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcRequest.java:24-40 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcResponse.java:27-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcRequest.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8595d50d5777b6cb7d8d4a92d26f18272f03fd0f85702e60571325e708baabfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/exception/ConsumeQueueException.java:20-38 | store/src/main/java/org/apache/rocketmq/store/exception/StoreException.java:20-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/exception/ConsumeQueueException.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4339359ace5de7611b748fdec44b6a7df1e7d5a3ebc8f6682b71798830dc53c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/context/AuthenticationContext.java:62-70 | auth/src/main/java/org/apache/rocketmq/auth/authorization/context/AuthorizationContext.java:46-54 \u2014 before extracting anything, compare \u0060auth/src/main/java/org/apache/rocketmq/auth/authentication/context/AuthenticationContext.java\u0060 and \u0060auth/src/main/java/org/apache/rocketmq/auth/authorization/context/AuthorizationContext.java\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/context/AuthenticationContext.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e7d4803babb61574c9edc78858f5da1484c163cb0861b425362d7897d1945f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/manager/AuthenticationMetadataManagerImpl.java:48-55 | auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java:54-61 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060auth/src/main/java/org/apache/rocketmq/auth/authentication/manager/AuthenticationMetadataManagerImpl.java:44\u0060 calls \u0060initUser\u0060 and \u0060auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java:50\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/manager/AuthenticationMetadataManagerImpl.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd43bfdb249e1f2c4267d7f8e2f9125eee5c46c9925a119b62f7b8c731dd59d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java:145-152 | auth/src/main/java/org/apache/rocketmq/auth/authorization/provider/LocalAuthorizationMetadataProvider.java:173-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":"auth/src/main/java/org/apache/rocketmq/auth/authentication/provider/LocalAuthenticationMetadataProvider.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded83cd3205d7228289ecc58200a64f89422c1cf38d2b6960ebd7d3ba96a0bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java:301-309 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java:389-397 \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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"58042eaa870c5e1e24b14b8c53d6a7a5b60f65ed88126fe52eea30621463ac6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:242-249 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:244-251 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:199-206 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba11db9301863772484fd4f17ce3571ea3bafc168043cfa52b73e4112a4d9b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:254-261 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:209-216 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 122 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d4874ff0fc2e1b65d17899a58dc6c340fcb3e558b6bf713f91ad8f3493067d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConfigStorage.java:138-149 | common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:135-141 \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":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConfigStorage.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"66255fc87f7a31d18b9bb609346ac5a5e76d5b3b408115bdd40f6ac68e5a2ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1219-1229 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:291-301 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3d0c57d227f79ec3e3757d97690a90e07cd6aef02ef2d8a92444f275bb91d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:126-133 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:3157-3164 \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":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c749747ff551764083d0d848c2649fbd93ebefd59ae55466d771fff73d2d2bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicRouteInfoManager.java:181-188 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:457-464 \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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicRouteInfoManager.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0219e8ec7f3e5da4bb275f0f142cac204345a5bbfe6bec4a610aeb015ec0b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:96-101 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:77-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b466595911c56ee683674f77836dfd1385f719e1bdb9bc27265f0555880f1b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:202-208 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:174-180 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"13db007bd5fd30b2e40c212e8be882cef7eb54b8ecfe14fe50d7859cd88e225b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/exception/MQClientException.java:33-38 | common/src/main/java/org/apache/rocketmq/common/AbortProcessException.java:45-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":"client/src/main/java/org/apache/rocketmq/client/exception/MQClientException.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd4f3c4397b766746f55988e64f15eeeaecfd6a1f22143e264e4242fedf8db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:313-320 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:227-234 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e319f5ac00be9914082a182f908d29271217fdf4e47d1d3b4d35024fada5450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:364-370 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:277-283 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"852ed839b2a4a0e84fc39b1579f05a7554bef04fd28f4c367e1c14a9529089e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:57-65 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:57-65 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:57\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060messageListener\u0060 to \u0060MessageListenerConcurrently\u0060 in one and \u0060MessageListenerOrderly\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62772396d59d41967c085e93066256acde19092e07486e73f865fb322ee15cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:1164-1171 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:423-430 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6d185bcdbbe2b06c3ff8be575c065aa95c5803f6a26a5f7730bb3e69bf02c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:1174-1183 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:433-442 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbe524825fb6862ca0b15b8fd4c6ce8b38196b157fb31950fe647d3abd6518e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:106-113 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:676-683 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:483-490 \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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60bcf15dd8a51ca794af45204c8212f5ae971063c6cc147568ea0b16e0691ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java:79-87 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePushImpl.java:155-163 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePushImpl.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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. 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccaaee545c7cedded9b959d207ff876afe9db302ec36d2b52fc82181bc5e331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): controller/src/main/java/org/apache/rocketmq/controller/impl/task/BrokerCloseChannelRequest.java:40-44 | controller/src/main/java/org/apache/rocketmq/controller/impl/task/BrokerCloseChannelRequest.java:50-54 | controller/src/main/java/org/apache/rocketmq/controller/impl/task/GetBrokerLiveInfoRequest.java:39-43 | controller/src/main/java/org/apache/rocketmq/controller/impl/task/GetBrokerLiveInfoRequest.java:49-53 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/task/BrokerCloseChannelRequest.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"366cfb165b990be2cc9d5faa0f520df81f137cc2e6e5ab2cf0c63f2de64bca34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): filter/src/main/java/org/apache/rocketmq/filter/expression/BinaryExpression.java:60-67 | filter/src/main/java/org/apache/rocketmq/filter/expression/ConstantExpression.java:106-113 | filter/src/main/java/org/apache/rocketmq/filter/expression/UnaryExpression.java:264-271 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, 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":"filter/src/main/java/org/apache/rocketmq/filter/expression/BinaryExpression.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"84862a7960f3cf26e40f98bf32eebde8031d37b26031b44ad3fc73824bf14fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/auth/ProxyAuthenticationMetadataProvider.java:33-38 | proxy/src/main/java/org/apache/rocketmq/proxy/auth/ProxyAuthorizationMetadataProvider.java:35-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/auth/ProxyAuthenticationMetadataProvider.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4c0ddae12c8e34ed1473c42b61cbfbfd4c1dffb970d7f5743ffb6c0cce792d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:877-885 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:364-372 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"a836df1a3f74d657cef399e3c5cc24602dd855373e5aa77d29dfad73c1093bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:953-959 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:341-347 \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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0d55691590dd1e2168a0801abcac4d98d367aec1154e4f60ea8861cb8f5841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:962-966 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:350-354 \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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2f7c00d03b7d691ac5c51766d5455d604b8139fab81640465cc559a38ca0b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:969-973 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:357-361 \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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a30deb74dddfd744a89f253b859e9afb54c60a978c9138674a4eb27e1dff307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:1010-1015 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:961-966 \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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cd20a1267d646c4774c41d43b435cfd4c1cc9291093a06c37e442106907a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:1018-1024 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:969-975 \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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1ad167f6cf42985789d643f91efca53e06f335bda40b90f98000b1d918ac6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:204-209 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:297-302 \u2014 before extracting anything, compare \u0060store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e7576465a150913be33e12d52387a9ad24087486943ffadf3adac8ead82a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:460-465 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:440-445 \u2014 before extracting anything, compare \u0060store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69cc988559e72eb0e1b73d7d1c2ce145ef699eee51e25d09235c03cc021aade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/metrics/DefaultStoreMetricsManager.java:252-259 | store/src/main/java/org/apache/rocketmq/store/metrics/RocksDBStoreMetricsManager.java:161-168 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, 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":"store/src/main/java/org/apache/rocketmq/store/metrics/DefaultStoreMetricsManager.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb48fef09c4a8005a17b4101d9d65778488c6658c0bf9ceb2a9cfc443a9b8b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:870-876 | store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java:620-626 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b4a8ab43a2fbf9784bfc9eb6598f167ad00141f2724df5fcfff37895d755f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): auth/src/main/java/org/apache/rocketmq/auth/authentication/enums/SubjectType.java:35-42 | auth/src/main/java/org/apache/rocketmq/auth/authentication/enums/UserType.java:38-45 | auth/src/main/java/org/apache/rocketmq/auth/authorization/enums/PolicyType.java:37-44 | common/src/main/java/org/apache/rocketmq/common/action/Action.java:53-60 | common/src/main/java/org/apache/rocketmq/common/resource/ResourceType.java:45-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 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":"auth/src/main/java/org/apache/rocketmq/auth/authentication/enums/SubjectType.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5a6db4fe59e2be5c3d235480a6e562f0eac578a777bfb45d6bf27bc0c92b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/model/User.java:47-53 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/UserInfo.java:29-35 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060userType\u0060 to \u0060UserType\u0060 in one and \u0060String\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/model/User.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb54d50277cb4b9f044c154586ce5d7edeb7d68acfd2d154cb92d10cf339e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): auth/src/main/java/org/apache/rocketmq/auth/authentication/strategy/StatefulAuthenticationStrategy.java:35-41 | auth/src/main/java/org/apache/rocketmq/auth/authorization/strategy/StatefulAuthorizationStrategy.java:35-41 \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":"auth/src/main/java/org/apache/rocketmq/auth/authentication/strategy/StatefulAuthenticationStrategy.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbff97f1e67cb0c827f607a063ada5f4a8ccbe737f95ed5e92f0039e1f47b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java:397-405 | broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java:324-332 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java:324\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060ConsumerGroupEvent\u0060 in one and \u0060ProducerGroupEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f66888e408fc9875131fc54dc6d59b22d0da1b08ab003d5515cd8a721aaf2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java:336-343 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:405-412 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:299-306 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9e50030e43aada901913fa7448750d031d964a203d22fbf0881e5d4074eb0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:191-199 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:155-163 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 122 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. 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":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"349806a72727c651f8f4482862cf79b576cfe4ff2e149f959e5c5b9fd737c265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java:202-208 | broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java:132-138 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 122 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef76481e8f5db39d2295b8622ef011418227fc02f11d6980b4bd0fb76b605b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/pagecache/ManyMessageTransfer.java:42-49 | broker/src/main/java/org/apache/rocketmq/broker/pagecache/QueryMessageTransfer.java:42-49 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/pagecache/ManyMessageTransfer.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/pagecache/QueryMessageTransfer.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. 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":"broker/src/main/java/org/apache/rocketmq/broker/pagecache/ManyMessageTransfer.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54b729919d106e1486690a801d4d7e99a19f3bda65e16a73d6a918d5a117dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:260-266 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:60-66 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8203c67efbb30ef77e7367415683e93a26c5c47caefb7839b48022ae2654221c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:405-412 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:635-642 \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":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a0189d4baf5e4d70986cfaf297529d80157a895e1a0ed83c12c4c3b4c7675d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:80-87 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java:127-134 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ad3ddd613fd28dc3bf67f35bd78a4272241d520836e19ee8ff5e170096ab4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java:96-101 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java:140-145 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caee7678b462181a1bea50967186713ae677f31e890066d4c4f91c5378b4831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:307-316 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:294-303 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c7fc8cbe14bed8d588b74a86b37bce502793758f6e6571fe239e345aed30eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:89-96 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:80-87 \u2014 before extracting anything, compare \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 133 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"163f6891675c0a38d63ef7033701041ecfdd2ac3bc6565914459e4f161291a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:176-186 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:188-198 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:166-176 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:178-188 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a948894fba65578613ce7d7c4bf0f20ce6f7c9461a299be64625f39ef876a7fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java:49-58 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePullImpl.java:44-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb033d631dc9f5cd568bf57cb31eb7b8632715ee6c1a964f3dd96ad8d30609d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java:61-65 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePullImpl.java:56-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3e7a459bcf6182d8bca33ebccc12d715589fc1d7ec919626304bb571ad5f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/entity/ClientGroup.java:37-44 | common/src/main/java/org/apache/rocketmq/common/entity/TopicGroup.java:37-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, 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":"common/src/main/java/org/apache/rocketmq/common/entity/ClientGroup.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e4f83c654bb3d306047678e50f5cff73502bec90c143757ecf96314eac6e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1485-1497 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:826-838 \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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e8283c801214751553f5ad728cbd9b803cf211bbb47e0394cffeebf9933aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:210-218 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:163-170 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6400900b496d53d7cbf0a68be1b49c424cad5172db5d550e2d51f9c57d4d7b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1175-1179 | broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1180-1184 \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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"26777f5c2a46ae925fd536d61cb176f6d626fa425a74fe563f97bce201d07d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1287-1292 | broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1294-1299 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1281\u0060 calls \u0060registerProcessor\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1292\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdcd6d4708c5b95e1dbe32d4354b1b4e45957b5dc6a9f04c11b0ef407c3ab94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java:217-221 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:3178-3182 \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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"100590b659d0ed664bf40ef03e7e8eb40eb8bcd83f1d46ac382f2699d8b79f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:125-132 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:254-261 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:125\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":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e869a5b8096765d08f224db8c235c5c80a918cf92e4d980e6c9ecf451914a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:313-318 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:609-614 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1cdea9dea8826de24d34904fa209ced389f034ad53496869fd134415d4933b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1151-1155 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:321-325 \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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d686d7e8df077e4304c42ba78de43cb79633326fdc9d46757c5163134bfa75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java:123-127 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java:168-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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java:123\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java:128\u0060 calls \u0060contains\u0060, \u0060getKey\u0060, \u0060getValue\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java:173\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa4aa68fae69a33ba2480e12f4555430e44bcfed6d1d2cf26892c3076dbc517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:170-175 | client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:218-223 | client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:235-240 \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":"client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02d794c28e160a58b226a3ea9ca3706fc9c384eae1cdea675aac1ed0d00100d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java:77-81 | controller/src/main/java/org/apache/rocketmq/controller/impl/manager/RaftReplicasInfoManager.java:115-119 \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 \u0060controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java:77\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":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b42fa5cd905994c891c723023487e57934d7f54a4eda4bdf2331d7823e5273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java:115-120 | controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/RaftBrokerHeartBeatManager.java:109-114 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0e7cf5eb2f04280c719a8ae6b536ad3af5cfa5a11ff1d79754bb030b2f8de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:547-551 | filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:561-565 \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 \u0060filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:547\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:545\u0060 calls \u0060valueOf\u0060, \u0060shortValue\u0060 and \u0060filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java:560\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc696129bd5d8549e8b8ac7a96571704bca7dcf2503c369e44545ca291b468f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/AckMessageActivity.java:188-195 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/producer/SendMessageActivity.java:379-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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/AckMessageActivity.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6487435ed102bcbab8b4efd63dfb8436bd2bc050711b49ed9b0df06d26e90e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:776-781 | store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java:338-343 \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 \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:776\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":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"8374d749008eae5087b9a3cdf141c73a19868f7278e8681b54f1ff5e74a23cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:970-974 | store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:999-1003 \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 \u0060store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:970\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":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6258d695bd69e86f28a75e39ff750def5df8525ed69008603aa247fd6177ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1786-1791 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1822-1827 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fc26ba79ad7700777769300ef1251168f107eb4c8060aabdbde73b68b0d645"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 18 shared lines): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:48-81 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:45-70 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:48-81 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:55-86 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:49-94 \u2014 These 5 members are variants of one another: a block of 18 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd48fa05e0e65c6a2468f68ff1b5267b0e794bc9d7e64b2f5a0b433f59c49ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:119-204 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:124-208 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb722cc6b877b8982e77e01d77af14d511e2127b3262cc1eb5e4376fc896bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:70-118 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java:68-117 \u2014 These two members are variants of one another: 36 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"133ec7376d8113115876be040aecb477263422b60c773b00bf2b60868d79bf22"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:65-112 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java:65-125 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:85-144 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:74-114 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:70-112 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:66-101 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:85-145 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateUserSubCommand.java:79-119 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:73-166 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa16c1a2df0be8f392768eaf9fbcee4bd5831e3735634913bdcef95ada5a091"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): tools/src/main/java/org/apache/rocketmq/tools/command/container/AddBrokerSubCommand.java:54-69 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteClientInfoSubCommand.java:65-101 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:72-165 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteTopicInfoSubCommand.java:66-123 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:63-99 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/AllocateMQSubCommand.java:61-94 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:85-114 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:91-118 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/container/AddBrokerSubCommand.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bed8b0b82ac85f548f3efa31a4df1e5b583bd6743c6e8ec633d406b6b856c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:60-92 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java:64-101 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:67-102 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:64-114 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:77-134 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:114-228 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:98-202 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0502a0528c714ad2283b68e96683d35ff3f4322b26df74f42effacdbc7abb41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:324-354 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:497-562 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1100-1130 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1152-1180 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"9730143154a86f9147fbc9b430e0f8e23a89743f516dfdac3ef464f9216a292f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:66-101 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:70-112 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java:70-113 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListUserSubCommand.java:71-115 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba42461d88313aa5eeff8e0171b85c19328e0a6d45383292c722312d07a5edad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:70-112 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java:70-113 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListAclSubCommand.java:75-118 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListUserSubCommand.java:71-115 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2761be4ba6b699cc4e71b95217feb3bda684bcc436fd242da0cd7f91f7b3b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1351-1434 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1438-1531 \u2014 These two members are one piece of code written twice and then edited apart: 84 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"053d1953686352c0adda2e97764b70c3a61e42383ac761bf371a95d53e443ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:75-153 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerSubCommand.java:67-137 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63ac465ae81525409d950680ce8b9d38293f42a2ec4561d3fd1a7e57cd06b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:160-224 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:111-186 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee936d0635c3a711e8ab30bbf1d4c3dbb61e52309471e3a958bdb90708f14f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:60-164 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:92-127 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c046c781f8aadd06ff7ae564c42299bb5c07445134efecf26ed7751d4975703"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java:55-86 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/GetNamesrvConfigCommand.java:52-83 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7136239b027cf0980c9b653a2231db9765939543eb30bb88cc357eb36ab550f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:69-99 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerConfigCommand.java:65-119 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetColdDataFlowCtrInfoSubCommand.java:70-95 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f361b35db3d55b539d9b74d8ab12f27412079f2e3faabed5d871659406f1356"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:62-95 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateNamesrvConfigCommand.java:57-90 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6fd367c5fe58e9476e30f0eb54a1c37717ef1e8c3ba1e40ebb6946c90fde9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushConsumer.java:56-89 | example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java:55-88 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushConsumer.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"61503385e03e18e56a97d5c689643eda25c17d0686dfca08bad2ce296ad39e9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:324-354 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1149-1182 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a578d3ef29ed88af99e2b54dbacdfa9340c1d2f6119733d948f76ac89220c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:321-356 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1097-1132 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1152-1180 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"695f2157ce74f90943bfa6321afb08b734078d86b7f80f74926e3a0b31d1a2a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1534-1558 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1561-1589 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"098342a02e7d32c513f72bb22e53ea0ca8a2140139852aaecabd638293f28025"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java:62-90 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:68-96 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java:65-93 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b810232ec754bca165b6cd8d1d6bb1fe1b9ca3c0b85dbe5a29c9161710c55747"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): example/src/main/java/org/apache/rocketmq/example/simple/LitePullConsumerAssign.java:30-52 | example/src/main/java/org/apache/rocketmq/example/simple/LitePullConsumerAssignWithSubExpression.java:31-59 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/simple/LitePullConsumerAssign.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8640129e4b40274e015500cc7696dc67d2bde0013ccffb22f7c4d12cf6fa1291"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:114-133 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListAclSubCommand.java:120-136 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ecef9e3f3e37f7462d8a1b3081644ac4dd609a971a3f661486cdcebc3079ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): example/src/main/java/org/apache/rocketmq/example/namespace/PullConsumerWithNamespace.java:36-73 | example/src/main/java/org/apache/rocketmq/example/simple/AclClient.java:103-138 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/namespace/PullConsumerWithNamespace.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7074481939980c3776080747a1a6d14692d90491fe11ed3e07549c947bcb24b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanExpiredCQSubCommand.java:54-77 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanUnusedTopicCommand.java:54-77 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/DeleteExpiredCommitLogSubCommand.java:61-87 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanExpiredCQSubCommand.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"997ce9d1b3103f24a5f4f95cd193f9f4ea6bf3fe90ef895a5d0859f23831d64c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:54-81 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:55-86 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbc067d1acc320e4704521ca4c0e59937371f48cb8658698825b14175d9173d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerStatusSubCommand.java:66-95 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java:49-79 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/WipeWritePermSubCommand.java:49-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerStatusSubCommand.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d3509ac2ec8c506586d0aa1a10f40abc3a77699075a4a4f1c447bf6b1d97df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminUtils.java:210-237 | tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminUtils.java:240-264 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminUtils.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ebf938f2795c96b29108b868f02501dbb82e5943da62611a852f9c799cf5b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:604-623 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:642-660 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb954339dcb0e31869086e9359674c3d16e68cb66d2f158dfb87b470e3653efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:55-78 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/DeleteTopicSubCommand.java:79-99 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ab5fe5b4635784dcc10bc085b43fbc757dd9473f4e0af2fe3eac4a17e8bd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/CommandUtil.java:91-114 | tools/src/main/java/org/apache/rocketmq/tools/command/CommandUtil.java:118-135 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/CommandUtil.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21b96d611d226142bd9431334d40ba2e30c0cf6c75e2263a6a7e53b24b087c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1625-1639 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicListSubCommand.java:121-136 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"99086a9a56dee68eaf35f408b15bd801afdf45efe84fb1f76ef2285ede7ad962"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): example/src/main/java/org/apache/rocketmq/example/rpc/AsyncRequestProducer.java:31-62 | example/src/main/java/org/apache/rocketmq/example/rpc/RequestProducer.java:26-51 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/rpc/AsyncRequestProducer.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7501e4fba075fab01d53e7b68e9be54cd636008efc06b8b291f3319c82ac0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java:93-105 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:99-113 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aab88e158fbcbfb848e2bca186e3b148c3b56380d6f9ddea5687aab86e90ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterProducer.java:27-47 | example/src/main/java/org/apache/rocketmq/example/filter/TagFilterProducer.java:26-43 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterProducer.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ec41ea2bf9f7cae04de8201592ae2f84b57c0c6cc1c416a2090dc952c96a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1325-1333 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1339-1347 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1797-1805 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"65161711bad42a16fbe5b9aacc55a8e763d628ba8ec270745a347ff329a5e13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:50-66 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java:50-64 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bf905ee2f3ab8dfbf8dd6b63d64048bb867b187f92ca4ca17e094b6e19440e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): example/src/main/java/org/apache/rocketmq/example/lmq/LMQProducer.java:40-61 | example/src/main/java/org/apache/rocketmq/example/simple/AclClient.java:59-80 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/lmq/LMQProducer.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf78ff4505a37aed1a7549a8d9ed2d54fd6fbf251603b5695e630982df096764"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): example/src/main/java/org/apache/rocketmq/example/namespace/ProducerWithNamespace.java:34-51 | example/src/main/java/org/apache/rocketmq/example/quickstart/Producer.java:39-124 | example/src/main/java/org/apache/rocketmq/example/simple/Producer.java:32-51 | example/src/main/java/org/apache/rocketmq/example/tracemessage/TraceProducer.java:35-60 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/namespace/ProducerWithNamespace.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"407f04b817cae661380643c8077d4b9c68112140ec05053920456dff9fd49645"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java:90-102 | example/src/main/java/org/apache/rocketmq/example/simple/PopConsumer.java:54-65 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b33e453d17819da0bb7bde77b7f7439285ddffc6f56608c6cfabeb968ce5dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageProducer.java:30-51 | example/src/main/java/org/apache/rocketmq/example/schedule/TimerMessageProducer.java:32-57 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageProducer.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f4d78405bd542a76342d120f59a0f05bf15554b046bbae4b2dd8f790a582db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterConsumer.java:30-51 | example/src/main/java/org/apache/rocketmq/example/filter/TagFilterConsumer.java:29-48 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterConsumer.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"881ba0f067e07a71dbfe271a8f89276d2cac5c6c72659f3a7d34e00889dc103d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): example/src/main/java/org/apache/rocketmq/example/broadcast/PushConsumer.java:34-54 | example/src/main/java/org/apache/rocketmq/example/quickstart/Consumer.java:34-79 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/broadcast/PushConsumer.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"800bc7e0a49fc62818bd9c99041e155d931c6c086620537ceab8ef1ee6d7437a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): example/src/main/java/org/apache/rocketmq/example/simple/AclClient.java:82-101 | example/src/main/java/org/apache/rocketmq/example/simple/PopConsumer.java:36-53 | example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java:32-53 | example/src/main/java/org/apache/rocketmq/example/tracemessage/OpenTracingPushConsumer.java:37-56 | example/src/main/java/org/apache/rocketmq/example/tracemessage/TracePushConsumer.java:32-48 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/simple/AclClient.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5053ba736499a3dbafbaceab5ba59aa065a8923cd3569d148b0d336ff334d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageConsumer.java:30-52 | example/src/main/java/org/apache/rocketmq/example/schedule/TimerMessageConsumer.java:32-54 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageConsumer.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf69afc62cfbd1556cc90189d03447e81d65c0c2fed4f7bb2625b0fe1c87c4b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1186-1202 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1224-1240 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1263-1279 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a182f2d3477ac12316cf728758f1a375a76da19ec7d66c3de0c5027337a2e0e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1002-1012 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1307-1320 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b232e9a2de068106aba3e08e6600bd3272216ed25aadbe9c4e9619e97e1e036"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:294-307 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:311-325 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f4e97854876769512498638ac4437c30030fcab9999d98699919ce58c53ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:757-765 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1903-1911 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"41439ea413088729e85f6035cc4ea8f488650be298963c18296cab7513e8f877"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:579-587 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:591-599 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15f8f83ac2a0cda45b28a03eed31751d414c4ff733b4d4c7edd25b8d5fca7bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1051-1061 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1065-1075 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1136-1146 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1593-1603 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b08257f0bdba517d28d880386995a6e2bd79fe5c8438c24dc1198c7d85d37e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerStatusSubCommand.java:51-63 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerConfigCommand.java:53-61 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerStatusSubCommand.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"87275d530e74452340b9da03b0504062a74b9af0b157ff9d02014ff438a493c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:90-102 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:49-57 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8044a636d86f7414d6c8e8ed44e34666c774430d73e87823d9effc63d184e80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:38-41 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerSubCommand.java:38-41 | tools/src/main/java/org/apache/rocketmq/tools/command/producer/ProducerSubCommand.java:34-37 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"60364b7b43b26511fbb50951c60bfa43ca5f42f0d0047d0a33f8d21dda0a25b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201354 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:100-153 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerSubCommand.java:84-137 | tools/src/main/java/org/apache/rocketmq/tools/monitor/DefaultMonitorListener.java:79-81 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerSubCommand.java\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:100\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a217a66b6847a733a8f23e1c5a0bfb796423a3e73be5b035e8d658bfeb041d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:88-110 | example/src/main/java/org/apache/rocketmq/example/operation/Producer.java:86-108 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/operation/Producer.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 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 \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:88\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"73693515a81e14163e2f63ee0022766542c2d83ebbb857b0ff6e746f87a21dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java:71-90 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:77-96 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java:74-93 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:100\u0060 calls \u0060getOptionValue\u0060, \u0060trim\u0060, \u0060split\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java:94\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80f3ed7ebf2fae7ceb366bde0f72ad96208e20c20c2a27e92b30423dcb7921b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:65-84 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateNamesrvConfigCommand.java:60-79 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateNamesrvConfigCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:65\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":"tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8fa4e71aa307765ea026b5735b14e71faf8c2deacb2e7c7fd72a1371fbad64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:49-67 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:88-106 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 107 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:71\u0060 calls \u0060commandName\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:107\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87bdd93592886ee137eb836d881a9284d3d3493a7643aca75bf0a4b3a04a232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java:63-79 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/WipeWritePermSubCommand.java:65-82 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/WipeWritePermSubCommand.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java:63\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"666e155134b16a02517bf6f2bfc1829982797abf22aadf48ab9988baaba8eaa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201317 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:83-86 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerConfigCommand.java:66-82 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetColdDataFlowCtrInfoSubCommand.java:71-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:83\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetColdDataFlowCtrInfoSubCommand.java:81\u0060 calls \u0060start\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:86\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"913a1464348cf737355e23bee457708687ed274a798c5a74803c4d00432fecb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:152-168 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:156-172 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 158 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:150\u0060 calls \u0060refreshClusterInfo\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:154\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83e2086d9f5f51e4710d4adf74bf2c61406e0407bf15c0252fd2d997bf25cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:87-118 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:87-118 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 163 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:87\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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bb5bd7b7e5bdd64fb27dc0eec18e2133ecfabaa824952d692f62f1e6ff3fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): example/src/main/java/org/apache/rocketmq/example/simple/LitePullConsumerAssign.java:38-52 | example/src/main/java/org/apache/rocketmq/example/simple/LitePullConsumerAssignWithSubExpression.java:45-59 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/simple/LitePullConsumerAssign.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/simple/LitePullConsumerAssignWithSubExpression.java\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060example/src/main/java/org/apache/rocketmq/example/simple/LitePullConsumerAssign.java:38\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"example/src/main/java/org/apache/rocketmq/example/simple/LitePullConsumerAssign.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bd662a0b6f330d3f0db55c690226867241fc039b28b5b580c8f43320628009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java:56-70 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/GetNamesrvConfigCommand.java:53-67 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/GetNamesrvConfigCommand.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java:56\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":"tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c6270f6f49454a42fec1d16a9237a9fe14baf88dad57beaab60e74fbc90586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java:197-212 | tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java:300-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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java:197\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":"tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"570c5079e1ba2aa841e1e66317ba32bee9df0b8cf86a282f0de241a23abc3bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:80-92 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:106-119 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:90-102 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:80\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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f315a5c459183ccb78ffcdff844023457628cd4060b7027835b7dd5f121dd1f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:343-356 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1119-1132 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:343\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":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cda9d1f3418ec823e17d6f8181df2025f7b968ebf22271a5ca010b15989590"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1456-1469 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1487-1500 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1456\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":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a92ec3a8076f1a6793aaad3c56cae870f8ff0c94f6c4dc1f7967d15fe67f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:42-55 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:56-68 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:53\u0060 calls \u0060comparingLong\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:39\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4860ac9a2e053606c7de1594af5da7ec3f15697b8207e67d11b09197afa9bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:181-194 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:138-151 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 100 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"90de30963203d829331c8b192379e5423c8c0d1b54c41bd06c166a2084bc0c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:151-164 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:114-127 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 89 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:151\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0362acf835c412ae6fa739e7d8e227b0cefafa25bd741ec730f8f89f3b1cc4a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushConsumer.java:69-81 | example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java:71-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushConsumer.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"84087c6fc8502120452277401a1800651c0e24e4798e73e04bd9a6cfdf50323b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1411-1430 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1502-1521 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1411\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1498\u0060 calls \u0060countDown\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1407\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d390f80563cc915432d75a378908d6fd1a48d0fd792238f31c364516d4a65d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:100-112 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListAclSubCommand.java:106-118 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListAclSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:100\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a76b8d8ca3094d53bff8df84a7c9cb55a0a8acdbf173709b4a5869d4affcf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java:101-113 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListUserSubCommand.java:103-115 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListUserSubCommand.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java:101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95da1a0063bf97cec8e0e0bb806b54d1f8e8e571bb4e8b4c2c24cddb22596a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:71-82 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java:69-81 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:71\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":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"483e472609ad016ab0ca85c0b8b4f593085d40e23fd69d160cdf26a3c9e2ce63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:86-97 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java:86-97 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListAclSubCommand.java:92-103 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListUserSubCommand.java:87-98 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:86\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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"accf2c768228f1c2915da5dd36c11a3eb12c821d6938bb850bf03fd615477c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 3): example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterConsumer.java:41-51 | example/src/main/java/org/apache/rocketmq/example/filter/TagFilterConsumer.java:37-48 | example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java:45-53 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterConsumer.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/filter/TagFilterConsumer.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterConsumer.java:41\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterConsumer.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c838913ad454e8dbc9473bb7f6a310a59b9f56c367ea4a3ca5a51bac1279f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): example/src/main/java/org/apache/rocketmq/example/tracemessage/OpenTracingProducer.java:66-77 | example/src/main/java/org/apache/rocketmq/example/tracemessage/OpenTracingPushConsumer.java:59-70 | example/src/main/java/org/apache/rocketmq/example/tracemessage/OpenTracingTransactionProducer.java:85-96 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/tracemessage/OpenTracingProducer.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef49230af834e9db3d6af0eb15d7116cdaa00bf01dd58688f7200692b447617f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:218-228 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java:96-107 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:192-202 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:218\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d793cf140b19f0981d68657e5520a49993acdbce4259a5ed8be9cbc974088131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageConsumer.java:32-43 | example/src/main/java/org/apache/rocketmq/example/schedule/TimerMessageConsumer.java:34-45 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageConsumer.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/schedule/TimerMessageConsumer.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageConsumer.java:32\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":"example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageConsumer.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3f7fcd9b62a2ddf27cd1d573faeb98b4608e91d46777cd8eb90333aa0c4125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:93-104 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java:92-103 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:93\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":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"21165d3df39af76ab8eaa4356161adfbbe344ba2ea205be836f192067a2067d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:107-118 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java:106-117 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:107\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3470e44f8fbde8333dd3abc272b3ba4ef86c4ee3f797624a3f31457de8c066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:55-66 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:56-67 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 158 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c044b219b3a8920c536e2288b65ac8306d72a63cf846a877defead13a802bf3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:88-99 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:93-103 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 158 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:100\u0060 calls \u0060checkAndBuildMappingItems\u0060, \u0060getMappingDetailFromConfig\u0060, \u0060getBrokerConfigMap\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:104\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c9952f2cb1ec4ffe932086f35c99c1f4b33b51fb321323c7a1e93f2f55c54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:120-131 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:125-136 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 158 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbea41df555ea5c5cd14e650d3d23081d2344777d0e16cf6489b91adfd109f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:133-143 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:103-113 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:101-111 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:90-100 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:134-144 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateUserSubCommand.java:108-118 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 114 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:133\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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"378ed13f4680596c3bc83651820b508a68fb024fa2b05f30cf1321829ecc96a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterConsumer.java:39-49 | example/src/main/java/org/apache/rocketmq/example/filter/TagFilterConsumer.java:35-45 | example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushConsumer.java:61-69 | example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java:43-51 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterConsumer.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/filter/TagFilterConsumer.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java:42\u0060 calls \u0060setConsumeTimestamp\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushConsumer.java:60\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterConsumer.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a9fa9a7d06ebfd2857bc803c67b0c81a0b58894b42ae9a27db25c6e22758b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java:60-70 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:74-84 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/GetNamesrvConfigCommand.java:57-67 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateNamesrvConfigCommand.java:69-79 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/GetNamesrvConfigCommand.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da5ba7210aef63bfe814e9892e8dc8a2cf7bea74f5043ea75a6212be94ffeae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java:62-71 | example/src/main/java/org/apache/rocketmq/example/simple/PopConsumer.java:41-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java:59\u0060 calls \u0060setNamesrvAddr\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/simple/PopConsumer.java:38\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"25be8c25696cfba60c610101993b8f3e77f70e17d362369c152409767ffa7c58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java:50-58 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/WipeWritePermSubCommand.java:50-60 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/WipeWritePermSubCommand.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java:50\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":"tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea6df321f7e67bee31521475bddf8b6170d71db41524735f7a1098d18972f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:168-178 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:120-130 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 91 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:168\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe572cb744d0fcea2dbed14c6a5085d657a2a2481c76cf7c59e29d458b28cccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 16): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:49-58 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:46-55 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:46-55 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:46-55 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:51-60 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java:50-59 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListAclSubCommand.java:51-60 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListUserSubCommand.java:51-60 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:49-58 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateUserSubCommand.java:46-55 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerStatusSubCommand.java:52-60 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java:47-55 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetBrokerLiteInfoSubCommand.java:46-55 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java:52-57 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:50-59 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 114 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:58\u0060 calls \u0060setRequired\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:63\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f970841d48f8ee4e25c630e1fa02e2fc34f79b3aa8ab4ff507625ddc13ad7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:55-64 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:52-61 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:52-61 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:55-64 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:63-72 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:64-73 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 114 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b06561dad0ff958ae722353b917819f493973b53ad6854fc0fb2c0d160cff19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:123-131 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:92-101 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:91-99 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:80-88 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:123-132 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 114 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:123\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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0e09bd7a86bde9b0bd6a4300c86cbf8559c57fac04317c95472f1fa804551c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:68-77 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:72-80 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java:72-80 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListUserSubCommand.java:73-81 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:68\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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7546eb9d57d0ade86371d393d4619fa2fa7f39aa0b9f9ca3387ea6957147da29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageProducer.java:32-41 | example/src/main/java/org/apache/rocketmq/example/schedule/TimerMessageProducer.java:34-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageProducer.java:32\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":"example/src/main/java/org/apache/rocketmq/example/schedule/ScheduledMessageProducer.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc5f297fb30e9e6caf5f6597ad599c866789115752471be5695121a056e1d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/CommandUtil.java:92-101 | tools/src/main/java/org/apache/rocketmq/tools/command/CommandUtil.java:119-125 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/CommandUtil.java:92\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":"tools/src/main/java/org/apache/rocketmq/tools/command/CommandUtil.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2c4d94b70d09efe279fd21a997840485768f65e0f9503986a9ee18a7620341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:74-83 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:70-78 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 103 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:74\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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ef983c1c02c4b06e1dff77dcd33914818c06c0ff173847cf3de03f390c453f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/connection/ProducerConnectionSubCommand.java:59-68 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:78-86 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/connection/ProducerConnectionSubCommand.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":"tools/src/main/java/org/apache/rocketmq/tools/command/connection/ProducerConnectionSubCommand.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"20186b9a7dd7440afca8ea372cee7d1af81f23ec1db1ae1ff0f42230eb2594a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:199-207 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:161-170 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 123 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:199\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":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"92798270aed435464f19d853159d13cb1588095135a55cd10348d1657880e895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java:260-270 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/CheckRocksdbCqWriteProgressCommand.java:80-90 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java:260\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":"tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa3f534946c4843768b597850c40235c15945dfe03a8c3cf823c1560c67891e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:140-149 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:145-154 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 158 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:140\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:150\u0060 calls \u0060refreshClusterInfo\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:155\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48cfc0c2508fcadcba7070bd30910ae4c61e0eea650b9b05b039c9d0b8419ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 20): tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:73-79 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:59-65 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:62-68 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:93-99 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:82-88 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:128-134 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:75-83 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:204-210 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:167-173 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:183-189 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:47-53 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:68-74 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:72-78 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:69-75 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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. 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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e375e92eda6e31732d942a4eb938e6a52fea87dd9fc871806789f2b952756f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 11): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:54-62 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:51-59 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:51-59 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:51-59 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:54-62 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateUserSubCommand.java:51-59 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java:51-59 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:55-63 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:62-70 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:63-71 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java:54-61 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 114 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:61\u0060 calls \u0060Option\u0060, \u0060setRequired\u0060, \u0060addOption\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:61\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"197c3128f82b3841c81eef43a3a6e477efe7d9631fd48bbc5618a6d4153e63e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:103-112 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java:116-125 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:135-144 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:105-114 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:103-112 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:92-101 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:136-145 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateUserSubCommand.java:110-119 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:158-166 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 66 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:103\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fe3d045d76239e191f119c1bf6675461e6bd2779263e9ec7e4393faf000355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:70-78 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:68-74 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:63-71 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateNamesrvConfigCommand.java:58-66 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 103 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a615222f1c51464b9da3fb111d4256e06d830896d9b04f58c356cea51165b585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushConsumer.java:60-68 | example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java:61-68 | example/src/main/java/org/apache/rocketmq/example/simple/PopConsumer.java:40-47 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java:70\u0060 calls \u0060setClientRebalance\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushConsumer.java:69\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushConsumer.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fe03f6822241dda027970220d1bb2fa3550e31a70580e6a099e27a3f2b8c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:112-120 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:80-88 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:112-120 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 93 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:112\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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1657249ef6ebad9f6294dd97e98a1ca1214dccc70cd8da3fe18925f0ceb8bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/connection/ProducerConnectionSubCommand.java:57-66 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerProgressSubCommand.java:103-111 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:76-85 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/connection/ProducerConnectionSubCommand.java:57\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":"tools/src/main/java/org/apache/rocketmq/tools/command/connection/ProducerConnectionSubCommand.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38534301fe24b8981dd798e71b42f9bc9b6b7b8416ae06d06db51a1d6c20713"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterProducer.java:29-37 | example/src/main/java/org/apache/rocketmq/example/filter/TagFilterProducer.java:28-35 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterProducer.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/filter/TagFilterProducer.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterProducer.java:29\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":"example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterProducer.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c4cff1e396ee7b29e323d73b5867e587aebb54889fdd0cdfc7bed2a34b20d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): example/src/main/java/org/apache/rocketmq/example/tracemessage/OpenTracingPushConsumer.java:46-54 | example/src/main/java/org/apache/rocketmq/example/tracemessage/TracePushConsumer.java:38-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/tracemessage/OpenTracingPushConsumer.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eb253f7bac15033ae0c0143d4df2ff88820b826eca39389b598f5e550602d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:329-337 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1157-1165 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:329\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":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c2c3c3642a129cd77458c94341646914e9cb15c5478dafb442e943756615e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1386-1394 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1396-1404 \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":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d95b9e051201ec1cacd1484be4e5bfe468fb788d1a0addff61bd8b07721d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminUtils.java:221-229 | tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminUtils.java:248-256 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminUtils.java:221\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":"tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminUtils.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dce294ad4b17dde4a46b853ee3f4df3c1e4fe006b4939d4b9ecfd7dd73a7d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:68-76 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java:68-76 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 66 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:68\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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3477314db2de1bccd98626544a899b7f84e6260db0877ee1b7cc319862110bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:76-84 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateUserSubCommand.java:81-89 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateUserSubCommand.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 66 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.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":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2731d6cf99dba2d0f9ec7c7bc9548a06a6c4be1178562056fcd9b0b7f1fee26e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:61-68 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/DeleteTopicSubCommand.java:80-88 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:61\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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a21cc73951d81adcbe0d16e379a54bd161f0447407924372025bea782c73303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java:79-84 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:83-91 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java:79\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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccf458d01a5d673d452aea8285a79e483d9714969955b22e23b1a325d14e1d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java:78-86 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/GetNamesrvConfigCommand.java:75-83 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/GetNamesrvConfigCommand.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java:78\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abd43942b9fd3f0fcc1643f9f0fde40743e6de12ba2fcc4d2b3b9653a1af730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportConfigsCommand.java:65-73 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetricsCommand.java:81-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportConfigsCommand.java:65\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":"tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportConfigsCommand.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e82372f3e73d3745e389f6df6ecf0d0356a80acaa37370c6e36191d3f01bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportConfigsCommand.java:101-108 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetricsCommand.java:138-146 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportConfigsCommand.java:101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportConfigsCommand.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd20ceea829c8ebbbce7e9f233a2076a391492844e134b46947cdf9c279af6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:99-107 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:98-106 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 84 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c04929aca273815a05049f8ee08c4d199432f5e74ff89da6a79aa567a380c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 27): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:79-86 | example/src/main/java/org/apache/rocketmq/example/operation/Producer.java:73-80 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:61-68 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:58-65 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:61-68 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:56-63 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/ReElectMasterSubCommand.java:46-53 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:46-53 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteClientInfoSubCommand.java:46-53 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:53-60 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:44-51 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:117-124 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:197-204 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:41-48 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/CloneGroupOffsetCommand.java:47-54 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/GetConsumerStatusCommand.java:45-52 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:83-90 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/CheckRocksdbCqWriteProgressCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:61-68 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:70-77 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/operation/Producer.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:87\u0060 calls \u0060setRequired\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/queue/CheckRocksdbCqWriteProgressCommand.java:57\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc8c70e0b73441a5847eab9500335389d2953cb734a618b0300024f63b1bc98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 27): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:83-90 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:69-76 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:70-77 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SendMsgStatusCommand.java:58-65 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:56-63 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:59-66 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:47-54 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:57-64 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:48-55 | tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:79-86 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:125-132 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:72-79 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:201-208 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:54-61 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:61-68 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:164-171 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:44-51 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:54-61 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:91-98 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:54-61 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:69-76 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:69-76 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java:45-52 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:74-81 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:66-73 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:53\u0060 calls \u0060setRequired\u0060, \u0060addOption\u0060, \u0060Option\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:69\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"99927c3b8af1af6505fb2187cd24230bad02e25214e0760017b590c7b645dc8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 25): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:80-87 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:66-73 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:59-66 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:70-77 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:61-68 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:56-63 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:52-59 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:54-61 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:45-52 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:122-129 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:198-205 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:51-58 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:58-65 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:51-58 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/CloneGroupOffsetCommand.java:52-59 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/GetConsumerStatusCommand.java:46-53 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:54-61 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:88-95 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:51-58 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:66-73 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:71-78 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:63-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 25 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 25 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/CloneGroupOffsetCommand.java:62\u0060 calls \u0060addOption\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:60\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"10646b9c06c4efe64479cbad92bdfc3364f0aec26a7271866bdfa6f1d24ca747"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 18): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:76-83 | example/src/main/java/org/apache/rocketmq/example/operation/Producer.java:70-77 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:62-69 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:62-69 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:55-62 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:53-60 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:53-60 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/ReElectMasterSubCommand.java:47-54 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:47-54 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteClientInfoSubCommand.java:47-54 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:118-125 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:42-49 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/CloneGroupOffsetCommand.java:48-55 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:84-91 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:62-69 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:58-65 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/operation/Producer.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5a141517f053966c0865ec1dbf62fdf8ce67e56be33ef856bfb3521aac9d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 13): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:84-91 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:70-77 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:54-61 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:46-53 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:51-58 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:46-53 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:52-59 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:48-55 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:169-176 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java:46-53 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:54-61 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6761355c5323165dfbeb8e91f8daf8c431dfd11b9c518ab195f5465a1a9394f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 13): tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:57-66 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:55-64 | tools/src/main/java/org/apache/rocketmq/tools/command/connection/ProducerConnectionSubCommand.java:45-53 | tools/src/main/java/org/apache/rocketmq/tools/command/container/AddBrokerSubCommand.java:42-50 | tools/src/main/java/org/apache/rocketmq/tools/command/container/RemoveBrokerSubCommand.java:42-50 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/ReElectMasterSubCommand.java:53-62 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:49-58 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/DeleteKvConfigCommand.java:41-48 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:44-52 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateNamesrvConfigCommand.java:45-53 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/AllocateMQSubCommand.java:50-58 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/DeleteTopicSubCommand.java:68-76 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:60-69 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 103 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:57\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:47\u0060 calls \u0060addOption\u0060, \u0060Option\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/connection/ProducerConnectionSubCommand.java:45\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfec6ceeb2038653b597296300e094a5291670ff9a07de80c7d7d924885f090c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:52-61 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java:52-61 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:61-70 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:57-66 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:72-81 | tools/src/main/java/org/apache/rocketmq/tools/command/connection/ConsumerConnectionSubCommand.java:48-56 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:52-61 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:63-72 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportConfigsCommand.java:52-60 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetricsCommand.java:67-75 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/GetConsumerStatusCommand.java:48-57 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicStatusSubCommand.java:51-58 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 66 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:52\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:50\u0060 calls \u0060addOption\u0060, \u0060Option\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/connection/ConsumerConnectionSubCommand.java:48\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2e27d5665e0ee05fcdb8131ac7af816e6780933d63ddd1004932dbf1c59bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:75-82 | example/src/main/java/org/apache/rocketmq/example/operation/Producer.java:69-76 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:54-61 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:52-59 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:52-59 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:55-62 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:51-58 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:57-64 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:62-69 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/operation/Producer.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2be6aea8d90a8cd966886a410c991446803277ac11747f0a745b13de67810d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 8): tools/src/main/java/org/apache/rocketmq/tools/command/container/AddBrokerSubCommand.java:55-61 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteClientInfoSubCommand.java:66-73 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:73-80 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteTopicInfoSubCommand.java:67-73 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:64-71 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/AllocateMQSubCommand.java:62-68 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:87-94 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:92-98 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteClientInfoSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/container/AddBrokerSubCommand.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteClientInfoSubCommand.java:74\u0060 calls \u0060getOptionValue\u0060, \u0060trim\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteTopicInfoSubCommand.java:74\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/container/AddBrokerSubCommand.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed8f126a7ba6047a087871acc51d356337d0e22ef6da1bc1881e71c17af295c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example/src/main/java/org/apache/rocketmq/example/simple/AclClient.java:87-94 | example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java:40-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example/src/main/java/org/apache/rocketmq/example/simple/AclClient.java:87\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060example/src/main/java/org/apache/rocketmq/example/simple/AclClient.java:95\u0060 calls \u0060printBody\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java:48\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/simple/AclClient.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a28514194ecffe8a0d7b2c954a301f771ad88b7cae7c4c389b2b741a23ed092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:989-996 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1754-1761 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:989\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":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4124a9fe095263fb761fd2e36c5ead6c9a4475bf84ea6bfe03d77b881bd5811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanExpiredCQSubCommand.java:55-62 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanUnusedTopicCommand.java:55-62 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanExpiredCQSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanUnusedTopicCommand.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanExpiredCQSubCommand.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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanExpiredCQSubCommand.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4d1a26559fd10236b83c0297927e1c645ab03d856d0a17fa19b1e6cc753a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:88-95 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateNamesrvConfigCommand.java:83-90 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateNamesrvConfigCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:88\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ad460183da3dbba9495b166a57fd390cdcdb971623b081a40b94f016e8abcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:257-264 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:283-290 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4be000300e74726169e601318f40558d3090796b77e04b48c6eedb1ce11167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 27): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:82-88 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:68-74 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:61-67 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:72-78 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:63-69 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:58-64 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:54-60 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:56-62 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:47-53 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:124-130 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:200-206 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/CloneGroupOffsetCommand.java:54-60 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/GetConsumerStatusCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:56-62 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:90-96 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:68-74 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:68-74 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:73-79 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:65-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 27 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 27 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:76\u0060 calls \u0060Option\u0060, \u0060setRequired\u0060, \u0060addOption\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:60\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7aa6597657da864cf6b29cc32b1ac24b5fbe6b3cd6caa540891dd28c641b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 21): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/ReElectMasterSubCommand.java:45-51 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:45-51 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteClientInfoSubCommand.java:45-51 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteTopicInfoSubCommand.java:50-56 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:43-49 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:116-122 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:196-202 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:40-46 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/CloneGroupOffsetCommand.java:46-52 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/GetConsumerStatusCommand.java:44-50 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:82-88 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/CheckRocksdbCqWriteProgressCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:60-66 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 66 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/controller/ReElectMasterSubCommand.java:54\u0060 calls \u0060setRequired\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/queue/CheckRocksdbCqWriteProgressCommand.java:57\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd8c30f6bef088a96f723a5aaf67df12c253d362a04a6ff388bfb5d29eac199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 20): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:78-84 | example/src/main/java/org/apache/rocketmq/example/operation/Producer.java:72-78 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:55-61 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:55-61 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/ReElectMasterSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteClientInfoSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:120-126 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:44-50 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/CloneGroupOffsetCommand.java:50-56 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:86-92 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:64-70 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:69-75 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:60-66 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/operation/Producer.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:65\u0060 calls \u0060Option\u0060, \u0060setRequired\u0060, \u0060addOption\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:65\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ad72e8c780b2271eb38e16ed45153ef6119d54363f932ffaa64f0cb6f3d1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 16): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:52-60 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:49-57 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:49-57 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:49-57 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:54-62 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java:53-61 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListAclSubCommand.java:54-62 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListUserSubCommand.java:54-62 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:52-60 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateUserSubCommand.java:49-57 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java:49-57 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:53-61 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:60-68 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:61-69 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:53-61 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 114 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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:58\u0060 calls \u0060setRequired\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:63\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1669e242b5a06aed1a2a1c333b19d699e7593b9529d86b349b19e0d3990a198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 14): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:86-92 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:72-78 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:56-62 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:51-57 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:51-57 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:54-60 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:50-56 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:171-177 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:56-62 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:61-67 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:61\u0060 calls \u0060Option\u0060, \u0060setRequired\u0060, \u0060addOption\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:80\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"779623621323d14591894e77f4a818159827a5041380be6ca0671325561aad6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:71-77 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java:80-86 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:81-87 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:106-115 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:201-210 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a2f70bf3fce56950960a7c060e081c4c8ec71437c607301937854bdd44f247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:332-338 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:522-528 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1109-1115 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1160-1166 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:332\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":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"194287562995a54fe8490a2e2e2053e82a25cde830c02095a155be255f566fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): example/src/main/java/org/apache/rocketmq/example/broadcast/PushConsumer.java:47-54 | example/src/main/java/org/apache/rocketmq/example/tracemessage/OpenTracingPushConsumer.java:50-56 | example/src/main/java/org/apache/rocketmq/example/tracemessage/TracePushConsumer.java:42-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 \u0060example/src/main/java/org/apache/rocketmq/example/broadcast/PushConsumer.java:47\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"example/src/main/java/org/apache/rocketmq/example/broadcast/PushConsumer.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"751a4e38e4b087b87da5a36dce6308ad0c62e48f0b0dd2e32c0d0d2d6b8e0019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1457-1463 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1480-1486 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1488-1494 \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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c57c3511187de16c7f122ee093495c3763eab701c1f0b63b7cda03d26e7bc26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java:63-69 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:69-75 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java:66-72 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcb7377d70322527750e824d1605f6d37e4fab98ec2c8c3217d75690c793891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:397-403 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:498-504 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:406\u0060 calls \u0060isEmpty\u0060, \u0060isLmq\u0060, \u0060equals\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:505\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a825c256dae0fc6ca072cfa82af44a9b0b4fce699671595102a1d4ecf1b586d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:794-800 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:946-952 \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":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"334adfdbd80569c77e876fd2c6eff8c3a397258954fe4a477767412766be4fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:86-92 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:163-172 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:86\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":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b57feb2e256a16f028f370bdc1400456b6a82f3d6e756900cb041f9f4525c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 28): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:78-84 | example/src/main/java/org/apache/rocketmq/example/operation/Producer.java:72-78 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:49-54 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java:49-54 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:55-61 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/ReElectMasterSubCommand.java:46-51 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/UpdateControllerConfigSubCommand.java:46-51 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteClientInfoSubCommand.java:46-51 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:53-58 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteTopicInfoSubCommand.java:51-56 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:44-49 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:117-122 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:197-202 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:50-55 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:49-54 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:50-55 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:41-46 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/CloneGroupOffsetCommand.java:47-52 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/GetConsumerStatusCommand.java:45-50 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:49-54 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:83-88 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:50-55 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/CheckRocksdbCqWriteProgressCommand.java:49-54 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:61-66 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:69-75 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/operation/Producer.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:76\u0060 calls \u0060addOption\u0060, \u0060Option\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java:49\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4de1f725af601e87e39282320332e921eec2ed6ebb0b34ca99462752b0c8093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 28): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:82-88 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:68-74 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:70-75 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SendMsgStatusCommand.java:58-63 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:56-61 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:58-64 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:47-52 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:49-54 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:56-62 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/TriggerLiteDispatchSubCommand.java:47-53 | tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java:49-54 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:79-84 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:124-130 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:72-77 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:200-206 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:60-66 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:164-169 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:44-49 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:56-62 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:90-96 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:68-74 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:68-74 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java:45-50 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:73-79 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:65-71 \u2014 before extracting anything, compare \u0060example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:54\u0060 calls \u0060addOption\u0060, \u0060Option\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java:70\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8cddd7717c8927d2f7b24a5b9f5f49c85c1688b80a641c9c58822a13fe267f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:71-76 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java:80-85 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:81-86 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java:84-92 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:106-114 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:201-209 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:163-172 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b000ba92cea43a18d19f0998de244cdfa44b6ac21b76d95642f928a5c2c86c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1364-1369 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1456-1461 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1487-1492 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1364\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1462\u0060 calls \u0060countDown\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1370\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f8a5088b8b7e7ec428d54d5770006e170f6bb23cda5d750e24ec831045785d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:607-612 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:644-649 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:607\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":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e69fd61c53497f62615c2a6d60f8ab900bbae8fa1c80552e2e24d084d08cdcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 17): tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteAclSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:54-60 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetUserSubCommand.java:53-59 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListAclSubCommand.java:54-60 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/ListUserSubCommand.java:54-60 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateAclSubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateUserSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java:53-58 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetBrokerLiteInfoSubCommand.java:49-55 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:59-66 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:60-67 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java:53-57 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:53-59 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 114 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/DeleteUserSubCommand.java:58\u0060 calls \u0060setRequired\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/auth/GetAclSubCommand.java:63\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateAclSubCommand.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faf4073b25d040cf7c1f939982c11a50e2c12cb7540c75fe538615afbd4646e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:80-85 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:57-64 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:90-94 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:108-112 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:77\u0060 calls \u0060DefaultMQPullConsumer\u0060, \u0060setInstanceName\u0060, \u0060toString\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:56\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bee24082b99b2dd833b0e930acf8f258dafe1842610688d738948c6ce979f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:56-62 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:89-93 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:107-111 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:70-74 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java:56\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:112\u0060 calls \u0060getOptionValue\u0060, \u0060trim\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:75\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e675c24d4004636dd18f967cd6da9f2b1a90b2bb8e54a45e08776ec4f3229f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:758-762 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1904-1908 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:758\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":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"092efbbad6803eb586fa5321cef40e93948bdde7564536d7d80bf1d7a177de29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1327-1333 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1341-1347 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1327\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5288fc2cc0e922f6b402c82e7565d28da4e76ab953b391b4e9c23490bfa47b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:135-141 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java:152-158 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb73958dac9e558b8afc324e5d90d26df3bd16760fff091d1e797b82446d3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java:194-200 | tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java:127-133 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b616570142e4b66ff6d36392f1379b5051e1caefef7b4a3c5cffaddabb3f8414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/GetConsumerConfigSubCommand.java:50-55 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerConfigSubCommand.java:45-51 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerMetaDataSubCommand.java:41-46 | tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetParentTopicInfoSubCommand.java:44-50 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java:41-46 | tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/WipeWritePermSubCommand.java:41-46 | tools/src/main/java/org/apache/rocketmq/tools/command/producer/ProducerSubCommand.java:50-56 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicClusterSubCommand.java:41-46 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/WipeWritePermSubCommand.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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. 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":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/GetConsumerConfigSubCommand.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e09cd17d8609672221adddc8d40793b889dbfc5498f275866a77a6d635b6dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:43-53 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:38-47 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 100 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. 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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a81608fa82fc488f50d9fb5bd687b7b4de0ed540c74bcb5867707a680b36a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java:93-97 | example/src/main/java/org/apache/rocketmq/example/simple/PopConsumer.java:57-61 \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 \u0060example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java:92\u0060 calls \u0060setNamesrvAddr\u0060 and \u0060example/src/main/java/org/apache/rocketmq/example/simple/PopConsumer.java:55\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/lmq/LMQPushPopConsumer.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"656435dc2a41f46bf808b4f47ebc91aa4e84ee84fec6ca44b858244cbf82e2ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/monitor/MonitorService.java:215-219 | tools/src/main/java/org/apache/rocketmq/tools/monitor/MonitorService.java:273-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 \u0060tools/src/main/java/org/apache/rocketmq/tools/monitor/MonitorService.java:215\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":"tools/src/main/java/org/apache/rocketmq/tools/monitor/MonitorService.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14663cbb107e744eae60919607b8fc440d6262d60193e8381039e6595be435d"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project rocketmq-proxy: rocketmq-proxy has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db7422abd98106398eb369c33a873c4ad64dffc1dab9370865319fd21ca5b376"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: rocketmq-remoting: rocketmq-remoting: abstractness 0.07, instability 0.20, distance 0.73 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8f9b0ef9b60df810d1895736440f554aec78f00202ba66aafca99e347a07da07"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ConfigStorage (LCOM4 7): ConfigStorage\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConfigStorage.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b33dc4e4e0a771cc3836942ce9fa9a767adeeaa41d8d28e9d1c3c4cd4c1ddc6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProduceAccumulator (LCOM4 6): ProduceAccumulator\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b493b5eef6e3ef4df23939fed2e40a181f649d74f1a7e2093fe599dd0b747bb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ClusterMetadataService (LCOM4 5): ClusterMetadataService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/ClusterMetadataService.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c851d0aa407563ad0148913979531fc3e5545b7897ae78d2ea952f75716d2ec"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RemotingChannel (LCOM4 4): RemotingChannel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f581c8c7b2bce87ccae4b31eafb6e50f6e9fe445cc05fa5fae6b9d8fd99910"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TopicRouteService (LCOM4 4): TopicRouteService\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/TopicRouteService.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d963298b4a8e7829c7168438dca864fab9594a19ecdf7c9697da66ebbb72836a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: evaluate1: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authentication/AuthenticationEvaluatorTest.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"854403f88354d11444f3699def3404edde5b628a9458fe229dd7445cb892a51f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: evaluate4: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authentication/AuthenticationEvaluatorTest.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"347476dc21e9775f49a8b6a0dde221d3a696422089f7b1b677e82cd2cf01ffaa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: evaluate5: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authentication/AuthenticationEvaluatorTest.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af4dc14e659a34981fe5fc3cefe97b61573e4fe468e3f8d3f37aad2e072cb50"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAllowDoesNotThrow: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authorization/chain/AclAuthorizationHandlerTest.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1ea275568f9d1f0750c6eac39a9821d01cab2904909a7c47bbeae33a2f6778"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLiteralAllowBeatsPrefixedDeny: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authorization/chain/AclAuthorizationHandlerTest.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e07099471cbb017440d6544ea0b5257cb3154ea0826399ccd55c63da60dd445"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPrefixedPatternAllowBeatsAnyPatternDeny: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authorization/chain/AclAuthorizationHandlerTest.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58a5b89620bbd5492ecc85883eb220a0560093d33919e65924de5a2d5a8a3dd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTopicTypeAllowBeatsAnyTypeDeny: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authorization/chain/AclAuthorizationHandlerTest.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"422f7a4e6478ba2e5dbad913d4939eec061a6e6e201271ca30efcc472d203b27"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: evaluate1: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authorization/AuthorizationEvaluatorTest.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a405c51df236c5820b3e0823a1b5b0a53478eb1bd71a65073f91db52888b6c48"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: evaluate2: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authorization/AuthorizationEvaluatorTest.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d38c590cf70dbba056e64f589cad3ac251fa890321334a26dc3bc18cf3fb5a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: evaluate6: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authorization/AuthorizationEvaluatorTest.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5568b1879a190c1b00afada685908ad3ed486021fc08f80fe3e05f273b2089"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: evaluate7: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/test/java/org/apache/rocketmq/auth/authorization/AuthorizationEvaluatorTest.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"32033d5c07af02afd679ef4b0baf8ff73f88f9eb1259d931cf329f4f4772d162"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNotifyUnsubscribeLite_ChannelNull: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/lite/LiteSubscriptionRegistryImplTest.java"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ee7b60f1a260d0a86caf3373549da3f83e43ad475b16c14f3269a6c965855b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemoveCompleteSubscription_NullSubscription: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/lite/LiteSubscriptionRegistryImplTest.java"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a265b1be42ae7246fd8afee3a5986d68e622b71b311ec92a0c1b62cb3db1e1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetOffset_NullOption: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/lite/LiteSubscriptionRegistryImplTest.java"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b070c0360727e40a6fb2892bd9c82e5fe7f3b035f192ad3cfa6b6789f0e1ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBroadcastOffsetExpire: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/offset/BroadcastOffsetManagerTest.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d1b81186b0939f3d23b87a24e35263c62125aea998334f5be7a68f8f59b8bf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ManyMessageTransferBuilderTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/pagecache/ManyMessageTransferTest.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f096e1b074e4448bc4131401862e9da33df91f6c273cf33d7e4ebfdf76bceab"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ManyMessageTransferCloseTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/pagecache/ManyMessageTransferTest.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f740f5ac7a794cd1d34daf74802b41ffafa9e7e67c9dfbabb35923c1ab41dcda"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: OneMessageTransferTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/pagecache/OneMessageTransferTest.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7827fc0a0eaba958bd904e35682a049ddbacb02113b695393241fe0965b057b1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: consumerOffsetTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/pop/PopConsumerCacheTest.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c66d519ce7bf4f16b6efc711241610f9a501692cde87ec6599707542b2a40a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ackAsyncTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/pop/PopConsumerServiceTest.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"9555a442a2ea68151d0f9fb40f31ee8893c257873419044333bfe454a27f2d0c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: popAsyncTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/pop/PopConsumerServiceTest.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff90fc1875ac6465bf992e7429a8ec9a282048a08b406e95a6bac7f31c8a1db"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_heartbeat_costTime: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/processor/ClientManageProcessorTest.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b682a2e9bc18f148f2e8352d4ed908946f7051793cdd99ba9b6985d4e98970ef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: sendCheckMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/transaction/queue/DefaultTransactionalMessageCheckListenerTest.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee4ff54a28db4a3dc58041272c0f941d04860dc1508762dcc75e2dd61b1e8e2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResolveDiscardMsg: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/transaction/queue/DefaultTransactionalMessageCheckListenerTest.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5403b61c65ad6f59085ec3b1265d9a7f7f0a3751ffb96959901623be81327d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResolveHalfMsg: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/transaction/queue/DefaultTransactionalMessageCheckListenerTest.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5d71278a6d01e655e478f3637bf4b89dd1dbd8bf98317cc3317238f44a167a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: updateConsumeOffset: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridgeTest.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b581341aae6509537f62b5c080923970c9e74aaeb9aa41af90793114bf5934"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDoesNotWarnIfDLedgerCommitLogDisabled: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/BrokerStartupTest.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"289481ec824e18ee1e36da1258961c39cba5f72f6ed6900813a2bc4649d4665f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: calSignatureExceptionTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/acl/common/AclSignerTest.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8950dcf6e0cff05247a815f28c9f6204661dee4de65230060458f2d206440099"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: updateContentTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/acl/common/SessionCredentialsTest.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"06223899b49e567f829b5c12664658ddb70ccf3e8aaeb954791df0edd1a9577c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConsumerIdIllegalArgument: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMessageQueueConsitentHashTest.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6f2ed9463cc0b02b21f0d2da8d580972aaeafe682457920d9ced7de783398f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCurrentCIDIllegalArgument: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMessageQueueConsitentHashTest.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e976508531d8a038656f43558549d96db726f32a483fcb3bfc149467e66c98"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMessageQueueIllegalArgument: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMessageQueueConsitentHashTest.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fca335ba04a95fa8dfe11212ba69ad3ab1e8c7fc1f0a4ce3970591518d4869"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: checkConfigTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cbfcfc858d3efc16d3a08d051b620a19b1094edadb61b03cc47778bdaa59ad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopMessageWithException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"902172a9aad0f088777275a691876ffe0f163e34e35940e948756e6701fb2fba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopMessageWithFound: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0545a1bc4e1d873182db45b48f055be1cd72dc2d75579c5180ecbb5c141248c9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopMessageWithIsPause: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae407d2092cac378a07b53ac6419a52905102918691386e1c74f9256b8635a3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopMessageWithNoNewMsg: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e85559a71093ba6d69c380c6a655546fc93e8edf165c5c8d8046f0288e2bc2f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopMessageWithPollingFull: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5858e86e00386d8b7f745391f76a9c34e745310e4549b628c5819dc007cee99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopMessageWithStateNotOk: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"981d0889adf3d5c7191f8bca9742052f4f9e8ce5753004017653ea8edcb1c62a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopMessageWithWaiAckMsgCountFlowControl: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"745e124ff5828184cca5160afb80ab51062b0ae5b08ca32ee8140ea66a883e70"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPullMessageWithException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"799eac4397908f7c5b4f00e80778d9b15d7427c02b6db3491eda83384c398f39"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPullMessageWithIsPause: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"030b3766f301c8bf91049a8cee6598449eed0113852ad107ff277a76f0e82c92"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPullMessageWithMaxSpanFlowControl: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b653e6ffc179490967313249f827e86f74f288fedde212ab4e3d99009ee76962"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPullMessageWithMsgCountFlowControl: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a934edc172c78c39fb09940130d024cbeb4dbf52693287df4fe294a6062ddc76"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPullMessageWithMsgSizeFlowControl: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"915ebaaa95fe250235a0bc843ffd36df98281e74e2f4407a84f6ad8b79958b60"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPullMessageWithNoMatchedMsg: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51312564f217a6394ed547c6a40f07151526feb5435985f40cd12b8f9715a45"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPullMessageWithNotLocked: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0a540935db53d0f6437d8c6d823e103a0450d8c189ba1d791942c89d29af47"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPullMessageWithOffsetIllegal: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d47abd5fda1d9ab7f4c8c5b8eb6548700a72123c2333614ad0d3c0315a9548"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPullMessageWithStateNotOk: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"099d74dd3226dda42382fef6e7707ccac312aaf7107e9eeac0ede79a8c2279ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPullMessageWithSubscriptionDataIsNull: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fef05649ac517badb3fa431dc3d15c518415f53a937aca4bf50b0f6f8d12db"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateTopic: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQAdminImplTest.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6834233a8dce1f42be20d6bad7d6f245a3e815106c39ca8bbdb2e003940bf44"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAddBroker: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a65fc4adcc4a8586d440a9eb6b5ec1c5a8f830c765b7cc035b180a59ba11bb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBatchAckMessageAsync: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd5783907728b2de7ad2a3f7529d820be59036a2b8e57de67543e994aaa6ca2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCheckClientInBroker: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ad0b0aa5c99bfd3b56ff010a0b04df905044fb29246dd1777721ef35795ceb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCleanControllerBrokerData: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"177d07de78b2387c43bccbd0e4f807c5a37cc7bb9834930cb05f68cacd985473"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCloneGroupOffset: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ec68dc48d24037335956ab18db22c425fe2ad8e2797ab93b5463a1a36253a7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConsumerSendMessageBack: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bbc92e8e495c3b2416f6bebeb5b5e4ac40502476942b4fdfe655b79a4079c4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateAcl: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8e2633b06dc3cddb3ed2e5af21ab8e55167ac591119762beb91029f765149a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateStaticTopic: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f36fd19408835414af00ea3b90efd84c6baa3a45e43bea95dba3c85d96c073"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateSubscriptionGroup_Success: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b60bdb1c22ba262041133427097750315868fa969a367888af0bd79a0d446be"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateTopicList_Success: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"000290633ae56b4c339884e87d4d56d6a4e9fe24a6e72f118e1dd6e7798c5562"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateTopic_Success: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c32f8b1203b22cb72d346018dac7c477c645012f506e249ea32f3710feccfd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateUser: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"add4bb36e4e3695bb89644fb5d391bd7e2538963ed17c2c43dce75680ad1aa2f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteAcl: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f2c32221215fa1b78534c9aeb7c296bff496cc940312f987d3642e058e031f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteKVConfigValue: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa04e9a0f3f9e42842ac68ceccf5a7c9e66c5d34434936619735c12ede451bc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteSubscriptionGroup: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83e32971fa53af9c6e5368c3c8fe2d3ebd35fd2141c05b91999c33c862ddc72"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteSubscriptionGroupList: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"7951a5337444561cfa954d2c39d5ad7afbd16c924007ffdf1428c31d37193f94"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteSubscriptionGroupListFail: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f7a0ce925ed3a3c69af7124925d3830bd4dfd5e4637af615481248002cf40"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteSubscriptionGroupListNullResponse: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a6594d6d071f200c8da99d9cb2093b9cec7461df01bdbdbffa7fabca3da96e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteTopicInBroker: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"09db125bf885bee9497a87f28e07dc1ea117ebf39387db139768b37a11915b0c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteTopicInBrokerList: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebae73f20a7f6ef6565dfc64e049e3d0e89ab9db8f1b4a3e1cccd72e36d3285"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteTopicInBrokerListFail: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7263af538567aa2dd8dbdb888603bd59d302efa1ea6517465a7f9891c042b4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteTopicInBrokerListNullResponse: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"524591fe823bd19553b33f02202983f4f17dfc24546786951efa5819729cddd6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteTopicInNameServer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd844f4088caac87f4e3f0e4d292df9c4c1ec8779267ce29b483afaf3593c7b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteUser: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eff101e1f66c840063539f540e9950154ad59f81567e2889e8916e038930d7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEndTransactionOneway: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bab491caae8d819eda4bf00ad22a1a0e972e11ba2d752fc9d30ff5c44828a76"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPutKVConfigValue: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4841db690b67f5397c23bbd71f3c7d910425ac7d3b0499381e4f34232a71bc57"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testQueryMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b24971fd75f4e3ae9c89a51534ee6f2daae3df98b1fb59a869759265d89a04f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemoveBroker: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b1dca55a09a4ae5a4ce5e8d599893b928b4ba719893ef199b32ecfe2c82d25"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemoveColdDataFlowCtrGroupConfig: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c95a3e69a5d60a1928ad89ed17b33e4af76d43493e69981ad54359888ce243c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetMasterFlushOffset: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd74e4b3934d322082931bcf92695dcb619feb1de698d8d00ac311c87105e0af"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSetMessageRequestMode_Success: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"32de753e8d33620d77add3421d58c9d012421ccdd92e026934abb5061a43079e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnlockBatchMQ: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4642283adef30685425068c426de9dc7a79350759e8cc9270ce9f35684aed629"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnregisterClient: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6a030e83ad5a8ee675b90b708ce76db17e4bafb6c55c9012776f3b979349ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateAcl: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3a692b6a6db1f669206809173a0f6193311960846c50da40c9984eccbe613b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateBrokerConfig: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be77dad890ed94187242399d99d12966ffcd61626cc27de6243dfc67508ab29"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateColdDataFlowCtrGroupConfig: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e14a62976027605481cb6f7984c90e5a0b271e44ad5e4c62b8d2529983088b7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateConsumerOffset: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aa1ca371b8875ae9e3ed237a0c1bb6827574d7384998e49e9ec1d70295a814"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateConsumerOffsetOneway: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"743e660d6205f630f645e486c55de77ace183d5452554ab65c832a1577243fa7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateControllerConfig: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"772a258050ad99694cff7a7594bb8c3e259aab0fe3f6d0035ffdd45e79395bf3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateNameServerConfig: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c324054a0a0da41e3ba72577de1fc1b559d21cd8ac4c9cbd71a0f094285c512"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateUser: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/MQClientAPIImplTest.java"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a6d9a08e301e6a20cb20413c85e44b90d8662795d3073792d9a6953774e830"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCheckTransactionState: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/selector/DefaultMQProducerImplTest.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c493cbf5aa5199a15ac8cda88baf1566551385d076127e5f2be6debd5a8d2911"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateTopic: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/selector/DefaultMQProducerImplTest.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2d156133ec979a752d21f1181359d88b717743d25d7a22ef79d70e7b1f0898"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecuteCheckForbiddenHook: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/selector/DefaultMQProducerImplTest.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5135236dda1a7d9e141794606a917c6f30af2a7f2541dc8f194b06737591f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInitTopicRoute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/selector/DefaultMQProducerImplTest.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e67617692fe5799b4ec362beb453e3635d5a9a473f798534eaf2f27b54cf33a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRegisterCheckForbiddenHook: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/selector/DefaultMQProducerImplTest.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c832d94ed973b37f8b8ac64c4009b8a97e1d19a787da17a04a793bbde9e636cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRequest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/selector/DefaultMQProducerImplTest.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b36620ddae9dc116617375f04998dd9621cd49cff7c9bb097f80358ea5b973"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRequestMQClientExceptionByVoid: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/selector/DefaultMQProducerImplTest.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7971bb59b26999859ecfa9ae84b05735498a70a3ce7300575be1b24dba2803"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendOneway: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/selector/DefaultMQProducerImplTest.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6c595381466cde06ecbe538bd8011578c1fd840295bcb037ec1f21ea56dc81"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendOnewayByQueue: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/selector/DefaultMQProducerImplTest.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1f062405da230bbcdfd564e420b57c21e94cc3dd455b4b17078d63da3a89b1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendOnewayByQueueSelector: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/selector/DefaultMQProducerImplTest.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4dc6b8cbf3589dede128045ba4713b769a5d032a20977d7e0eceaca8e647de"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: assertSendOneway: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/DefaultMQProducerTest.java"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c6863e2120456d7bebf5490625c79d4c5d1cc2f56c1cb123cf08db98561061"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRequestMessage_RequestTimeoutException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/producer/DefaultMQProducerTest.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c462a7d27d26c619a240a042879c98233ff4297d0b7766303491fd80bab98120"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendMessageSync_WithTrace_NoBrokerSet_Exception: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/trace/DefaultMQProducerWithTraceTest.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"44495bedb098d4eee699577e982fdcd60116206353738b8074ed3ef0c17b8085"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendMessageSync_WithTrace_Success: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/trace/DefaultMQProducerWithTraceTest.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"730163f68b7bdb62b1914f81cbf47fcc737dd562ee2fb699ad5da456231d912c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendMessageInTransaction_DelayMsg_ThrowsException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/trace/TransactionMQProducerWithTraceTest.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e845b52a7df6509fe876806300494db532ce87c4b6c4b97bc75fe0550a6ac829"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendMessageInTransaction_NoListener_ThrowsException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/trace/TransactionMQProducerWithTraceTest.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17ebf7cb23d9a2d51fdeac2a43248c9298142f01d40fa081f29aabc960ffd1f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCheckTopic_Success: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/ValidatorsTest.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34dc4ae2719eae836c1df1e4d51eb48cf494c23f405b954e8fa7895bb379553"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: parseToMap_DuplicateKey_ThrowsRuntimeException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/attribute/AttributeParserTest.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c700ec642efec34d658b66c5ac7de5567aba4018f9fc2d720783a9c6a9e00957"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: parseToMap_InvalidAddAttributeFormat_ThrowsRuntimeException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/attribute/AttributeParserTest.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c618c8c35c3b48042c47a1bca14b9fadce87a76abb548d58ae8158bd0d739bd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: parseToMap_InvalidDeleteAttributeFormat_ThrowsRuntimeException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/attribute/AttributeParserTest.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0176af8fd45356e7d623e1f704238043f4f39531a9721d1b4db1fa8be63b2d8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: alterCurrentAttributes_AttemptToUpdateUnchangeableAttribute_ShouldThrowException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/attribute/AttributeUtilTest.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"775451c2b9ceb13c9d680d9bdae82341da81f30d8434d1d05f2cb19587905f1b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: alterCurrentAttributes_CreateMode_AddNonAddableAttribute_ShouldThrowException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/attribute/AttributeUtilTest.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4ee68ddd44e20ecde21c7e0df04c27acf97166c6c474b4bd1b30b1968a7024"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: alterCurrentAttributes_UnsupportedKey_ShouldThrowException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/attribute/AttributeUtilTest.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85c2480228bd2d75f9066c0afaa635dbed4fc6ada0940f1f5003bd1c21bd623"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: alterCurrentAttributes_UpdateMode_DeleteNonExistentAttribute_ShouldThrowException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/attribute/AttributeUtilTest.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae5ba0b9cb25cdf04be85b0c2e4810ad7d1ea08137102bbced63134723fe1a1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: alterCurrentAttributes_UpdateMode_WrongFormatKey_ShouldThrowException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/attribute/AttributeUtilTest.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5410cb4508c0221470b7e12a9ddd611afe2af8c0ebeed9e0814a2ebd97a92c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValueOf_InvalidName: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/attribute/CQTypeTest.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3d862c53037b0a2c5e43e7a9e23b0436b627dd0c2817b46c8cc32a38022269"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompressionUnsupportedType: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/compression/CompressionTest.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd1c2f0e6bae549ae398d660851d9f90e28b718eb576c398664890d22dac989"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompressWithIOException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/compression/Lz4CompressorTest.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a6aba0c459766f082374b948c2b2ce502f3d499080ef14bf0b53fb5512d876"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDecompressWithIOException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/compression/Lz4CompressorTest.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6325de4191a676de9fa211f307e899bc5be3b0a57c49337cffc67f28fa2edaaa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompressionFailureWithInvalidData: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/compression/ZlibCompressorTest.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"958dbfced37eab88c890f44382a03e83862ee6db14cf26f528313b7b0d5f9a36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDecompressionFailureWithInvalidData: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/compression/ZlibCompressorTest.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f3b5adf17693309131d0513cd961372e25d70fdd8c6cc2b79fd3bde8e97b19"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompressWithInvalidData: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/compression/ZstdCompressorTest.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad5ea3049b62604775a0063e230ad588b4710b64e3557f092419d0929f6f1a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDecompressWithInvalidData: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/compression/ZstdCompressorTest.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"de63aa611701a87ffe6f422227db571d2d6780c546489e73165a5feb566abe08"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetDBLogDir: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/config/ConfigHelperTest.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0fa2086e6a7fd99da6c08176b52b9773d0780d27a8bf6f9aa52c58f3a02587"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDecodeWithInvalidString: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/consumer/ReceiptHandleTest.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5d7856449f922250af844b53356c60b8c237cb0a878d7058b95f46ed298b22"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMalformedJson: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/fastjson/GenericMapSuperclassDeserializerTest.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3713ed5d5b156894f0e5341af96d4d6859e0ab1748ba3af3ed97965e95b6cc0d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: putUserEmptyNamePropertyWithException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/message/MessageTest.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9200c7c7ee9c554e05efd7d2142440d995cc745d12d02a3e84ee3e026e02770"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: putUserEmptyValuePropertyWithException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/message/MessageTest.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c120a0eb7ea7ccb6037428a932852f87e5b0db6ac519bbc31c9b01527a754e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: putUserNullNamePropertyWithException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/message/MessageTest.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bfea00f015266924f854b1971a6ea0049f1236bd209a93bd60fe5012133cf8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: putUserNullValuePropertyWithException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/message/MessageTest.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c348367058369ee5b252f3b56031e66f0e996cd763b0d76f4dd8fd7c5004b0c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: putUserPropertyWithRuntimeException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/message/MessageTest.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc6e4fc072d51b188e6d1c8089a2644fa42181015a4091a720102b953bccee4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompressionFlagNotMatch: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/sysflag/CompressionFlagTest.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"53db641ea661f65a2c95d19a69f1b7e3c2cff0c5c1d2317b7f6227b96f727df7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetDeletePolicyShouldThrowWhenAttributeValueInvalid: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/utils/CleanupPolicyUtilsTest.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d678ea4620f00bf3a9364cc8d756aeb0923f304c7cacedf5386b7cc52a9201"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: getBrokerConfig_NullConfiguration_ThrowsException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/BrokerConfigSingletonTest.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0092ad5b562311b953215bf49770f0cc7946cedf65788638ef699a8d4cd4676f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGenerate_Delay: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/MessageBatchTest.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da1f6f01b92060d4ce709ec6c8176e72ee7c787e90057d4e5058948650b2108"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGenerate_DiffTopic: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/MessageBatchTest.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f13b63c5eada6d969e8b883cdf65d70b0bfa2c9da24038da6a23e6a789c9a09"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGenerate_DiffWaitOK: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/MessageBatchTest.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"915f53302550a555c2b7ba290af98c9e54d5304044ded4b18a7a3f6ccf512174"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGenerate_EmptyMessages: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/MessageBatchTest.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4e8e650a1ef43e3395b106bf2f701d536184e9a73c9ecdcf7cd47ae3b6c1e0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGenerate_NullMessages: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/MessageBatchTest.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ea465a9a5059801162929864698802267555970090a83f5459c02652149180"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGenerate_OK: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/MessageBatchTest.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadb5e397a8483bdebbf3bf2ccde0880faf26fc47a02ed0d298e548fce3d7a5e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGenerate_Retry: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/MessageBatchTest.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f0bc5bb48746b47f1cbf88d79d932960d47be85168a7cd4d21b45b64734caf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCleanBuffer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/test/java/org/apache/rocketmq/common/UtilAllTest.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"47611b861e214edf5c7f502e281681d7060d9c1321c16af7812dbb1f13bdf97a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMasterOnlineConnTimeout: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/src/test/java/org/apache/rocketmq/container/BrokerPreOnlineServiceTest.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c878ddb6bdbbf360e610d3d7c85aa7611fafcfab80835395311633d9f23b2f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMasterOnlineNormal: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/src/test/java/org/apache/rocketmq/container/BrokerPreOnlineServiceTest.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83e22c0dbedba2ea48b7135e82d9f4894c35c6fa1a4e1ac98a86e950ffda4cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSlaveOnlineNormal: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/src/test/java/org/apache/rocketmq/container/BrokerPreOnlineServiceTest.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb87502fce8910754a102a8c6084d52976a6dc4036bc566c6676e2e29d18bcd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCheckUninitialized: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/test/java/org/apache/rocketmq/filter/util/BitsArrayTest.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f530189978f6f29955bd2261792b92698c4986536de4fc1a906cdc88ad56f56"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateWithBitLengthLessThanBytes: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/test/java/org/apache/rocketmq/filter/util/BitsArrayTest.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c1d2ae9d8e42632ef838ae0f97a1e38d48d50763081670c8ab406d20910c94"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateWithEmptyBytes: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/test/java/org/apache/rocketmq/filter/util/BitsArrayTest.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ed7e157480a36f19cfd8d17a8a525a756fd0b6413295a6b6db0847ce99bd60"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateWithNullBytes: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/test/java/org/apache/rocketmq/filter/util/BitsArrayTest.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9c3f9279cecfe28ca97e1e1597f3621772b16325eea11b648d735eb94bf527"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateWithNullBytesAndBitLength: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/test/java/org/apache/rocketmq/filter/util/BitsArrayTest.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f6eb22c7eb024a7782b4dcab1613826240869ceb3254b93329393065fa7bb8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreateWithZeroBitLength: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/test/java/org/apache/rocketmq/filter/util/BitsArrayTest.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdff42d9352a3a75b8201a62258c4928b9acf8c343e45957557da92e4052887"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetBitOutOfRange: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/test/java/org/apache/rocketmq/filter/util/BitsArrayTest.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ebf8569f45db224d7c2435c9213a267ced488041c0abdd602a8e239a4b8a73"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSetBitNegative: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/test/java/org/apache/rocketmq/filter/util/BitsArrayTest.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a3022b8bb7662ec3c16bc7f98c5f35b356eae51bbe62cbe4f4689340164a8f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSetBitOutOfRange: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/test/java/org/apache/rocketmq/filter/util/BitsArrayTest.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacc324fb7fa38b378701ba1f93b0b68b93e1c0938e04c0d7a3bd0fb807e7dee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDoAfterResponseWithNoResponse: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/test/java/org/apache/rocketmq/namesrv/route/ZoneRouteRPCHookTest.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87d1eace4a77dd1c416605dd74d7ab7009487a1ffb3fd40b157ac6c5d786d1f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDoAfterResponseWithNoZoneMode: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/test/java/org/apache/rocketmq/namesrv/route/ZoneRouteRPCHookTest.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a140e707061eaa57d54e3aa4059e7701f5390e2e45264224de9c66d44de8f1eb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDoAfterResponseWithNoZoneName: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/test/java/org/apache/rocketmq/namesrv/route/ZoneRouteRPCHookTest.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc12525551ec80056b01e6d29a614ecbc99acde0fb5c2bedea0793458d227fa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOnChannelClose: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/test/java/org/apache/rocketmq/namesrv/routeinfo/BrokerHousekeepingServiceTest.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"02652b18d16120112e8980a81120306dc97dfa9f2e2f32ecdaa90627da477278"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOnChannelException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/test/java/org/apache/rocketmq/namesrv/routeinfo/BrokerHousekeepingServiceTest.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5744a37c34f1e2331c97c50a08e9a3d34fa718ca7f0dd8b8e105f0b9c29bfc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOnChannelIdle: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/test/java/org/apache/rocketmq/namesrv/routeinfo/BrokerHousekeepingServiceTest.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c779791b1ff786e40c757d3b60af0fc33b5cbc67ed9825ff9609257eea74d77"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: scanNotActiveBroker: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/test/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManagerNewTest.java"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cf059a9da54b131a8db40eacdf58ad52c9120a257db878408570990ccd6ff4"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): itWorks: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/test/java/org/apache/rocketmq/namesrv/NameServerInstanceTest.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be623e69d2cf260aef7a00ad60e3071be285ff127bc9129f1b221710fab32ba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValidateLiteTopic_Valid: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcValidatorTest.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af28f1b5609830e265387e2cdb8c38e8e62f1feefd4879929fe6923aacf4eb0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBuildErrorMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/grpc/v2/producer/SendMessageActivityTest.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b171949db660961a35232a6741c777c65ce5ec0bb6e36931ba1fb9e00fbdfbee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: handleHAProxyTLV: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiatorTest.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d320357f13a71cb728d4f9dff06ee525d6c11c0f5c152c30958abb6bfc4330e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoadSslContextWithEncryptedKey: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiatorTest.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9088afdf33ecf0853fe956763fafbb901c9d45741eced122d082c7369dc0967a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoadSslContextWithUnencryptedKey: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiatorTest.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c495f833909c2a082d8feb82ae3efa1acd1581fa49f4bc47f4c904267b31415"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoadSslContextWithWrongPassword: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/grpc/ProxyAndTlsProtocolNegotiatorTest.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2657daab5691957f8be4350e4ff45cfe8078e0470250950b8dfd350ffa83af66"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: configPipeline: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/remoting/protocol/http2proxy/Http2ProtocolProxyHandlerTest.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a44744276e7a52404d8e189a4fcc871fc2c43460ffb2b90fa00ed242b4301dd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRenewWithInvalidHandle: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/service/receipt/DefaultReceiptHandleManagerTest.java"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb466641d2ed1f7ce959a3986f0af3bc0f048a23d03d8f6cd9386eecad1a2894"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEvaluatePenalty_NullMessageQueue: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/service/route/MessageQueuePenalizerTest.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb50462a3fb4aacbeed52288034f538ad2417764ee776155c86329a7d3e2d3c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCleanExpire: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/service/transaction/TransactionDataManagerTest.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bbc0cc22572c31411ae620aa78281cd8a577d7c739568a43bc72d2a8764cfc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: handleHAProxyTLV: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/test/java/org/apache/rocketmq/remoting/netty/NettyRemotingServerTest.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8611df4131f3c786fc56a435870ea0cfc54ab100f50c50f550a7193e54d2e63"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBuildSQLWithNullSubString: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/test/java/org/apache/rocketmq/remoting/protocol/filter/FilterAPITest.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2eab40896d348c72728fda9c2f4cdb0a1581cf080d80ff8adb7f5082f5e1b4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTargetBrokersComplete: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/test/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtilsTest.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d9eedd2ef306de084e07f49bfad80418117a1bf7e9b23c2751bfec28ce8f06"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInvokeOneway: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/test/java/org/apache/rocketmq/remoting/RemotingServerTest.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8dd32dc1d9eb8f8b83959c029afcf6448b206acc6a91828ce2772895565f0d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: clientRejectsUntrustedServerCert: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/test/java/org/apache/rocketmq/remoting/TlsTest.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd549f1bfa6cdc9e5ffe47ba778958116d055102f6915f024d408e2c0f2619ea"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: disabledServerRejectsSSLClient: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/test/java/org/apache/rocketmq/remoting/TlsTest.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"920efb33b00fa2b002e034fb3ef71cf4a112ec866bcc1bc9790b6a10c033a07e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: noClientAuthFailure: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/test/java/org/apache/rocketmq/remoting/TlsTest.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0fb3ba6e647b63b51f747fc4774a0a9e20df99b95dcdda2f6e51d3878435e6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: serverRejectsUntrustedClientCert: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/test/java/org/apache/rocketmq/remoting/TlsTest.java"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a8954bfb40c80533a3461db5dff7618bd72f064aa3d9a2986ed9b029f45ef8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: getPush2SlaveMaxOffset: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/ha/HAServerTest.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd68bc01f3d94a40da87059fcb6113ea43023b14660aad5445a41d3ff31c647"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConnectionList_MultipleHAClient: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/ha/HAServerTest.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"da781af3bd9c4537edf4136cb61bbf5f419eb802f7e07539c39c72f9510fa50d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConnectionList_OneHAClient: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/ha/HAServerTest.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e7aeb51659a7097f1d07bd50bd72317a52d1a0c88435fd2107ddfd264b8ebe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCheck: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/kv/CompactionLogTest.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa21acdcd92a036b790ff23256266be0ddb6fe07fb132ebcebf077de1db1500"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCheckWithException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/kv/CompactionLogTest.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa2edeb19028fb2f749c00f213bdc4efe8708d8cee5658960ff7123147c9383"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CombineConsumeQueueStore_EmptyLoadingCQTypes_ThrowsException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStoreTest.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c99860de7426e61db0db012a34d773393441b00af3ae905a60171fa012ab135"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CombineConsumeQueueStore_LoadingCQTypesNotContainsRocksdb_ThrowsException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStoreTest.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3ce44ca193521081ea71d060bd7ce7660b6f91cdbca9fe0d8eea17ce151425"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CombineConsumeQueueStore_assignOffsetStoreIsRocksdb_ThrowsException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStoreTest.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"65522208582372b983273d0722dfa3b3968e03b532be23a9ed05ce70b7fd8eb2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CombineConsumeQueueStore_selectiveDoubleWrite_assignOffsetStoreIsRocksdb_ThrowsException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStoreTest.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"597a6f7d338e8cd98fab36a1d779ad0bad39408c121f50e57e3560beb3ffb9a6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CombineConsumeQueueStore_selectiveDoubleWrite_readStoreIsRocksdb_ThrowsException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStoreTest.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b13fde5e2daff4c685f7327fde30073c4a9ff3697aeae37bbd7ddb641a8ef5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRecoveryFixedTTL: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/timer/TimerWheelTest.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df4987d8d6ab0391d32c71c27ce9f2329af9178705f31a2eaafb7416d024eca"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: findPutMessageEntireTimePXTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/StoreStatsServiceTest.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03c1e9e94be73c53723d3a79c170a26591b31b0d0f5d7f2e5f670a60b39d0eb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: getSinglePutMessageTopicSizeTotal: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/StoreStatsServiceTest.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61b064b62258d8481a1f792a0622f30669e1c029e1bda3059652c408c32c472"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: getSinglePutMessageTopicTimesTotal: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/StoreStatsServiceTest.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2051043165a66e897f51ffeaf2856f1cbe841d994744c0d59166fc84ca2410a8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPopOrderly: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/consumer/pop/PopOrderlyIT.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70aa38727ad105c3a8ca8a068ed7b4a43e5a7f056dd07797736d8c6120fe1f0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSelectorThrowsException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/async/AsyncSendExceptionIT.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9980d63c1ea1c1cf1adb1c2be925845d117cd4a851104271641a52b79a6f242"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendCallBackNull: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/async/AsyncSendExceptionIT.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11fb6ea1c5b9bcd6507839246903d6b776626b6f8ef908627d308b30e2fbca1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendMQNull: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/async/AsyncSendExceptionIT.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a157b03be23d799ef3bd813d546f3960b45963c2aa617605c623457572c30ee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendSelectorNull: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/async/AsyncSendExceptionIT.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"016385052da515717eb1dcf4637dec7683dfc61631bb0274ee50d0fca1d1798b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSend20kChinaPropMsg: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/exception/msg/ChinaPropIT.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a1d64676ff02a60cf15d927f4f596516772289422555cc5863460b3b1ec0c6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSend128kMsg: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/exception/msg/MessageExceptionIT.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a245f636ea0156ce8d7f87c3dfdb095237f45cb9c8b53cd23f3f3e4d5a4ddb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSynSendBlankTopicMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/exception/msg/MessageExceptionIT.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61be149154a4f83b7f1312d2184307c868fad141eb1695b5d1bc98e15e89f33"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSynSendNullBodyMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/exception/msg/MessageExceptionIT.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f1de970ec62e8259f0cfa1729b2b0f657524f198ba6d2d7b928512e432d463"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSynSendNullMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/exception/msg/MessageExceptionIT.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4914d94c15eb9a98a85506313a7c5c789123ceb4087dd705bdc64fad4197357a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSynSendNullTopicMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/exception/msg/MessageExceptionIT.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed6bae14b88c4d10315d50cd5f3445c6f7bbec6a65247a92b9db08cb93f4b22"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSynSendOutOfSizeBodyMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/exception/msg/MessageExceptionIT.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6498c0ce4b576f584a7bc3d85acb8dcd38edcd5f4e262050d9861e807d6fc2c8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSynSendZeroSizeBodyMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/exception/msg/MessageExceptionIT.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e632c8d7e1298a4071d63781e85716d211bdeab3747173ad451d9afa6ea6fbd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSelectorThrowsException: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/oneway/OneWaySendExceptionIT.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3404545463d02d1b3304d91a4ca1b01a431a39a2dcc8836633f9e366224f17a0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendMQNull: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/oneway/OneWaySendExceptionIT.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ca0065627d5e531eeb02bd50d7f1fecda65aec3a0ba28303edc1d36476fb11"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendSelectorNull: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/oneway/OneWaySendExceptionIT.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5494a1722d695f890329d1350cf2ba8bede463080c7b1c5ee0c66ccc4c986344"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testQueryMsgWithSameHash1: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/producer/querymsg/QueryMsgByKeyIT.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"912c97c57296d497e4bc5deead68e23818788bddc933e7c03ef2af5b70b8acd1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetMetadataReverse_consumerOffset: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/GetMetadataReverseIT.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"887d48f04046c16a874fc9f7569116528d9250db6f0a5bcd06319553307360c6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetMetadataReverse_delayOffset: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/GetMetadataReverseIT.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1332f79a7a6793899d1bbab38d18e74370ed77843138ae2e0e2559e58b9a5f8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGetMetadataReverse_timerCheckPoint: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/GetMetadataReverseIT.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4ea37b80c14b35eced1b9349d93fc5a295971993451c72a16f0e44cbd90f7e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLocalActing_notAckSlave: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/PopSlaveActingMasterIT.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c88ffdb3f1f65b4308e5ccbb75aa4cb06fccfe4685798dd7ef655d4f7c1bff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemoteActing_notAckSlave_getFromLocal: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/PopSlaveActingMasterIT.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec65f5f2073d63794f15035d16c9929d010e8a16bb4ba25ae81351e139e6ae95"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemoteActing_notAckSlave_getFromRemote: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/PopSlaveActingMasterIT.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"1128c6a1e9b0651429c3cb973372d6cd804da0e2db5a36be648dc9b9e9ce14ad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: consumeMessageFromSlave_PushConsumer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/PushMultipleReplicasIT.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4bfa99daf25c55cfc4555b8a52ed53b413900ef91a89351565ee198bfeeb16"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLocalActing_delayMsg: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/ScheduleSlaveActingMasterIT.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea4d7b6dd50d6f2f6e1273d4b80e0fa56c1ea62cb1fa005bc5bd302da7df359"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLocalActing_timerMsg: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/ScheduleSlaveActingMasterIT.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1aebfa86a4df18e4c8a199dcafd8d74c31c8e69677eaa9a70d98a628e47c31"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemoteActing_delayMsg: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/ScheduleSlaveActingMasterIT.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2112b7a559fb5dc68fa12f8bb8ddebbcbf0c10df2a04b7fb81738f363902e117"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemoteActing_timerMsg: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/ScheduleSlaveActingMasterIT.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"529066ff90138f52c6a9b49f4fd2437022a22a445d3bdac3b9f7245acecbec10"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: consumeTransactionMsgLocalEscape: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/TransactionMessageIT.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"acde5f79d32f69a7eba9d51b5118bb1ac5cbd9f7bbc4747b945b245bb77745a1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConsumeOrderly: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/ClusterGrpcIT.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b08ec8d48e061d1d34d692935e125f97d5cf87b1d210192ad77c6ac8156df55"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testQueryAssignment: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/ClusterGrpcIT.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0b7766cdc8dde71c68b34c9c49d0a06e30b60f90e9c93d319466ebbc00ee35"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testQueryFifoAssignment: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/ClusterGrpcIT.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0d6fda4256562378d7ba256c89f4c18a371ef2b8f8aa3e2c1fda6466ce3628"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerSendAndRecallDelayMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/ClusterGrpcIT.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"03da20ff12602364ee03430ae9a6689ee9341d45302b63dd00ba9e6b413d3c8b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerSendAndRecv: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/ClusterGrpcIT.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7b3ca19506d07db7ff6a6e6f4199a7ec12f27c606d6e9e82f3b528cf48ea46"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerSendAndRecvBigMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/ClusterGrpcIT.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"73633ad1ad87798866780ce76153e2b70d19b78ffa8b4293d6ad5019dbe6143e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerSendAndRecvPriorityMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/ClusterGrpcIT.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a630eca7517db3902a77430fdd7a978e5cf7c4d5dba0d2efe0de496b4298413"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerToDLQ: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/ClusterGrpcIT.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b508ef141a4091f16d5f15231c261db23382ff454ab6190838c1e00f4004c9a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConsumeOrderly: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/LocalGrpcIT.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9532fd9fd59d3a831bbbc029ca385f6c3671a084c05a434e9a3fbb0225f0063c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testQueryAssignment: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/LocalGrpcIT.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"995425df5feca0b444eab251e0336aedda6f61d172039a09885bb2b4f6848aec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testQueryFifoAssignment: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/LocalGrpcIT.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a42d118d1c64bbefcf2e1d38157292dfa9bbf76a36bad17a4d3898b7e28001"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerSendAndRecallDelayMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/LocalGrpcIT.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e376cf28a593757cb16a91e50def27f6496e07de9ae4b615c98bc20333544f2d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerSendAndRecv: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/LocalGrpcIT.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fffd7fe842ebf765f800e8230629151a72dade2e13a3cd68bac655b45a22bac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerSendAndRecvBigMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/LocalGrpcIT.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f1cdfd3a2a497fff010dd85b4adfae1fb38f4734467c3b7ec3df42be9c9d3b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerSendAndRecvPriorityMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/LocalGrpcIT.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1933b224a28f33f2989d3f146aab2da6d36f4318cbf13e558c7e5888db2353"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerToDLQ: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/LocalGrpcIT.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"295aba2b41b66fd722335625547ee8d391423fd7bf6788f2daa32c798fbcb6b1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEncodeOffsetHeader: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/offset/OffsetResetIT.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e37c8f182d27da1bc205e5d88676bb5ae071e25eed7a6218c6e21d250d7f4c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendAndRecv: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/recall/SendAndRecallDelayMessageIT.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"af36daea3b5303cc7105f5b0899570fa5820596aa9f29276feb197afc7bf91ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: recoverFileSizeTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/test/java/org/apache/rocketmq/tieredstore/file/FlatAppendFileTest.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"550057a664041cde8392e0b3ca675ab4a3944fad4c538af7ed1b7f559fbd467e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: getMetricsView: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/test/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManagerTest.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5e57b9578d87d3b976f148353d71f8a0dad2f99ed0a1504cc147d3e6b80df0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: init: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/test/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManagerTest.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e132f6cf140a0d2ae20102ad0e056dbca63310fa42f8431632178af79aabaa5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: newAttributesBuilder: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/test/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManagerTest.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df4cfe39a06d92ca0ba970c2f93572a083ddf72644931eddaf8bb6c68445b31"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMetrics: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/test/java/org/apache/rocketmq/tieredstore/TieredMessageStoreTest.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"826c01100231dd02565c4a4f326addb7ea6c00996d2864a6ac96b06e144eb2ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommandTest.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d086900b5c1eacdcc9d069304503c3bdb12f2bb31a15d2b927f1f50c33c75a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/broker/BrokerStatusSubCommandTest.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d5a87826924844ed8d35acefa3d4d5123bd0e78ea32c7d9917adbf55e3878f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/broker/CleanExpiredCQSubCommandTest.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7593b45380390f38af7695d31a65c0bc855d5983c2d1e2df7bd277b1c3a98638"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/broker/CleanUnusedTopicCommandTest.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc00021b8a3b309ec158b5f3f928c9db56fe62b2e3464514b5eeb932781c24e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/broker/GetBrokerConfigCommandTest.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"debb4872d383e37b46280e5b74495559448acd7ba37dababe97f4ee8680a81df"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/broker/SendMsgStatusCommandTest.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"127762d6277192384e7de49f6677309b4346f9cac77261103b5296ca48862bed"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommandTest.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63fe5c5ae03fd86e0926b6d8b27206b5989bf0f2e5cf786d0b405aa35abfa23"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/connection/ConsumerConnectionSubCommandTest.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"653ca5066e05b9056fbaac627f26ed3509074035c5e35b6bd40d2749266c231c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/connection/ProducerConnectionSubCommandTest.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f044733d2bddc6b65cd96040221a08f65de8fd1f655e345e9e6d004fff898f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommandTest.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed07b56b94004d1147e03cd446f5d87b90cdcbbf977837f889380c7edb2c1e2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/consumer/GetConsumerConfigSubCommandTest.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"579c321ee5a3d1ab99d8ad7e2781095c6080c7fd5fb82894321cd5ee4c2bac79"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPrint: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/lite/GetBrokerLiteInfoSubCommandTest.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ae963e44848a958a335dd8bcb9373aa757499a33465d295b917027c842efbf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPrint: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/lite/GetLiteClientInfoSubCommandTest.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9116aa891e147952a27b52c6326cc4096ea385f367dfccdc9c0e802bd8cd17"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommandTest.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6de3eb988947cf769037b4f8d25c319bc886b556ae277ceb724e45c670de925"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecuteConsumeActively: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommandTest.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33b0e3d5e1660dbe827fe1fdc5817d686a1fde7ac576b1554bde220279711c9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecuteConsumePassively: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommandTest.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4cdb2f8be7fc4e4f4aff534339c4ff0a38ae2215fe00f6b3a7e9638b521626"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecuteWithConsumerGroupAndClientId: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommandTest.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff68ce921d24c3a55632f6a560cd70cf98296169c35b5b67de7bf408e10cbbf4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommandTest.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"32063b753ec8a65bf96c07ea065050ae36fbe17c8dc841d671aa52da69ebecbe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommandTest.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"016b83d942679a5df9c24aadc4a598df50e5e06d377beeb3f8c898b4541ca564"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/namesrv/GetNamesrvConfigCommandTest.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba3efe5ae79561b44da93011a58ff6e986ddced3cad9defa39971993c8063c0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommandTest.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3299e6fb476573d0f331666f514bafbbeb7255c4b71b0fcfa60b3ff11c9bd256"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/namesrv/WipeWritePermSubCommandTest.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"703053b439ca2469c9ae6849885d73fc525c6aa17e993884c2a05482e76ad323"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/offset/GetConsumerStatusCommandTest.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fddf5e6e3844eca228e9415aa92cad8e960c748907f985f1b39a6f79042081"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommandTest.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"18134ff0318e6ddce717469eb13c07807363aa2d17e9a3372ebbebf6b71529a0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecute: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/producer/ProducerSubCommandTest.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df8f5475ab3827ff6b5467afa432d5dffc375de2c330b6d9d41653a6ff2e423"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBeginRound: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/monitor/DefaultMonitorListenerTest.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c2a77d6366eb1c1169bba5e668920a7431fa55b192414d8dc06ca286abd996"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReportConsumerRunningInfo: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/monitor/DefaultMonitorListenerTest.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57c56941c86b9184152708443e57b06c07f95fbbd022377440c9aa53428fbd7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReportDeleteMsgsEvent: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/monitor/DefaultMonitorListenerTest.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2745ea32c06a64438912f14dafad4e603f9a466414f031e60721c275221f55"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReportFailedMsgs: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/monitor/DefaultMonitorListenerTest.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"53edc17ffb0aeb87b622cb6d063907a4cc3e232e264bf582ec898f1d98e66aa1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReportUndoneMsgs: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/monitor/DefaultMonitorListenerTest.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"108c0b0e8e85c7182cd383e4d318571e1ceccebd9fa45bc4c43947a9848574e3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDoMonitorWork: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/monitor/MonitorServiceTest.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eb480455835c80fb25ba28d4f8cd0757278a97bc7e6822123292c87a450f72"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReportConsumerRunningInfo: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/monitor/MonitorServiceTest.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dd3b23dd43184740b16ab0c49c9ec1fe8a9397dd402d8b1a0a6e99090f31fe"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: broker/src/test/java/org/apache/rocketmq/broker/controller/ReplicasManagerTest.java: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Flaky: AutoSwitchHAService.init() with mocked MessageStore causes NPE on shutdown\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/controller/ReplicasManagerTest.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc37652288772e41e7420709ede7aba94452906e215e7bfc9878ac1ec4d8fa6d"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: beforeClass: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Flaky: DLedger integration test, extremely slow and environment-sensitive\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/dledger/DLedgerCommitlogTest.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54404299b2a7f040544849fef269e5d168d9cca643bce029d45934ed2216f5e"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: multiDirsStorageTest: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Flaky: DLedger multi-path integration test, extremely slow and environment-sensitive\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/dledger/DLedgerMultiPathTest.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8c627a94edc2f34a0a59fa0ec3b077a35e63dac8f8febfb544b4fd08ea3212"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: store/src/test/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHATest.java: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Flaky: HA port binding and timeout issues across platforms\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHATest.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5263742d96b2d6cb523a6a1bb0de0b444b9fa1f2b1a22a8c98faea3dbd739990"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_priority_consume_use_separate_retry_queue_with_queue_expansion: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022flaky due to over-idealistic assumptions in CI/CD, temporarily disabled\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/consumer/pop/PopPriorityIT.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d54c3aa84fc22444d1840cabb21eb77be0dfa9f47c81b6d67abc1fec165715"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-core: \u0060org.openjdk.jmh:jmh-core\u0060 1.19 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"01583a0c194289959e71817aaeaf053fd4437f5c0bc5d638a8da404c8765d84b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-generator-annprocess: \u0060org.openjdk.jmh:jmh-generator-annprocess\u0060 1.19 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dc4b012c5d7cfe91687089c2615f4cd0eb108c448d567beaf217196ad6a929e8"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-core: \u0060org.openjdk.jmh:jmh-core\u0060 1.36 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"40b79a3824ada120359fa7cd25fc035991725adbe8c481c4de5d285583f15531"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-generator-annprocess: \u0060org.openjdk.jmh:jmh-generator-annprocess\u0060 1.36 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e18ed19589cb9bf5f9538c990f1e7daaa29009d54f295247b0e5a668168fc14a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java: auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 108 in DefaultAuthorizationContextBuilder.build at line 193. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, 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. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:16:28 \u002B08:00\u0027 --until=\u00272026-11-10 16:16:28 \u002B08:00\u0027 --full-history --no-merges -- auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authorization/builder/DefaultAuthorizationContextBuilder.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d826a4374885402fa2cd4f3d874e94a43842374617a15422b5e2695ddb97810"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 9 significant file(s) lose their only recent owner: tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreDispatcherImpl.java, tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/FileSegment.java, tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/PosixFileSegment.java, broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerRocksdbStore.java, tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/FlatFileStore.java, store/src/main/java/org/apache/rocketmq/store/rocksdb/CqCompactionFilterJni.java, tieredstore/src/main/java/org/apache/rocketmq/tieredstore/MessageStoreExecutor.java, tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/FlatCommitLogFile.java (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6a7c19a9331ba4f0ce8a9351711523d41fcac800bbb73c929d9f0efb5188583f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 7 significant file(s) lose their only recent owner: remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RocketMQSerializable.java, common/src/main/java/org/apache/rocketmq/common/message/MessageClientIDSetter.java, client/src/main/java/org/apache/rocketmq/client/producer/RequestFutureHolder.java, common/src/main/java/org/apache/rocketmq/common/message/MessageVersion.java, broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetricsFlushService.java, remoting/src/main/java/org/apache/rocketmq/remoting/metrics/RemotingMetricsConstant.java, remoting/src/main/java/org/apache/rocketmq/remoting/protocol/FastCodesHeader.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a8f20aa0850c1e8265428769f09ca9485fc747df4ecee1546e26bac5fe1a28ae"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 7 significant file(s) lose their only recent owner: proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java, tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java, proxy/src/main/java/org/apache/rocketmq/proxy/config/Configuration.java, tools/src/main/java/org/apache/rocketmq/tools/monitor/DefaultMonitorListener.java, common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java, proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/InvocationChannel.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0fabf973ffbaf44d0309f60f20591af0f8f89b5b4d9bca69f93cf239608e8974"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 5 significant file(s) lose their only recent owner: broker/src/main/java/org/apache/rocketmq/broker/lite/LiteEventDispatcher.java, broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java, proxy/src/main/java/org/apache/rocketmq/proxy/processor/ClientProcessor.java, tools/src/main/java/org/apache/rocketmq/tools/command/lite/GetLiteGroupInfoSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"42f96ef6c76b199e58eb2c42390d9c0d8cabe7384df1213f5a77d5c2d3a931f5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 3 significant file(s) lose their only recent owner: controller/src/main/java/org/apache/rocketmq/controller/impl/manager/RaftReplicasInfoManager.java, common/src/main/java/org/apache/rocketmq/common/message/MessageQueue.java, controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/BrokerIdentityInfo.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"14f8c5f566b16e1554865f824ed0ca91970325fb0bdfa700a15d30e3fbc9fd9a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 3 significant file(s) lose their only recent owner: common/src/main/java/org/apache/rocketmq/common/utils/CheckpointFile.java, tools/src/main/java/org/apache/rocketmq/tools/command/auth/UpdateUserSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/auth/CreateUserSubCommand.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0890ca74849d3566ea3a81ee2f1575af2f6a4111e66a18c9e1d93bb32db8f9f1"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 22 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 (62 single-owned of 842 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 842 of the 1493 production source files in this repository met that bar). They are anonymized user #7 (2 file(s)), anonymized user #8 (2 file(s)), anonymized user #9 (2 file(s)), anonymized user #10 (2 file(s)), anonymized user #11 (2 file(s)), anonymized user #12 (2 file(s)) (\u002B16 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerProgressSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java, store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java, store/src/main/java/org/apache/rocketmq/store/timer/TimerWheel.java, broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopInflightMessageCounter.java, proxy/src/main/java/org/apache/rocketmq/proxy/service/transaction/ClusterTransactionService.java, proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java (\u002B20 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle exception here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3076c6d159816eff105661a6fe4e59c8c97115226684c1aaa97b7fd462f94300"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle exception \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"206430f3c5188a3532fb1b9ea53e50742939cc271d7e53ae3f1f73da387cf603"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We need to acquire the actual listening port after the peer has started. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/dledger/DLedgerProduceAndConsumeIT.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a306f7390697b6f57f6e83ca1ff1144836bc424aa50176d8fce2423f4eff40f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Discuss if we need to load more commit-log mapped files into memory. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d86e175f2f5be6931851659b62fd269754a2bdce22979663d8f57c212b5417"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: warn and notify me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75935e1314675eb887d02000d033ced99f7def39a6e8d57bbd104ee0cde3465"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: warn and notify me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb41d57e196dd95a1a5fe9ed6b21095b1a057bb2968bd8aa58f70ea9630fb217"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: warn and notify me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8efa836a8eb0fbdb07f422eb4321a9fa7fb926b355adc17b7b4471dd4440664"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: warn and notify me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25de016833ef60f01079ed5c5368f17ed983722187eab7642489ba64a05d0bd"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: warn and notify me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae80c045f0cdafacf4bb10266af6c800f09b929c6b8a96461e3ad524e17ee04"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: warn and notify me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7b12fd58c88310e5ce84fc369a0b3ab5abfc66a2de7ad66fe975e81b5084a9"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: warn and notify me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8818d085582b25107975906d014cb2e8600de152d7c84191c68a0e91290d5de"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: warn and notify me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cf7c83cb3a758b9dde1c414e1742eb6747ff12e036e2ba286cadb1cc1f42fd"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: warn and notify me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5468a61a7c883f2d85ccd6374d42fb479900c5ecda5dc8dff3e0ffbddafcc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: when min commitLog offset is 0 and restart store, min offset of cq may be set to 0 incorrectly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c40dcb04d45817a058716627840f04c256f10dfdb934e9df31b18375da71efd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check if the delete msg is in the same slot with \u0022the msg to be deleted\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffce2780448d19f28f1f10fd4d08bfcee0ac13eb9af0edccdaf216a21dedd6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ugly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aedb4763df39c28971b349261df9d6f9c5eb2dc4e07d83e0852242f0f6117d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe the topic has been deleted. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e28fbccea7bfe034c2a542955d6f6c5a1031a6444239acd38394dd64f75da8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We must ensure every HAConnection represents a different slave \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"de51b3c3fb6e64a67185a0c193199e3f9c244ba5613adbcbde9c32f2f018c620"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // Fixme: why sleep is useful here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"398f335371edada6a7ef4c64e973f4e7216068c824174dd63c681d6d85b284d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO process partial failures of batch message \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c5e980721827292c43af62aa4448a62cf93e681a92239f226ba59a08e48054"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we have to make a copy here as WriteBatch lacks ByteBuffer API here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5503be2d81b7149ce8ad027aabf45a72aacf2b8e678ac568328147b8c16500e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we have to make a copy here as WriteBatch lacks ByteBuffer API here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3696f6fd4e0e305789b7b3abfb18006af6916f496b613255f4c5c69f7bcc02"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 8 of 16 project(s) overshoot their size bounds, lowering Project Cohesion to 0.5/10. The most over is \u0060broker\u0060 (40617 LoC, 186 module-visible types across 34 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","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":"c944f16efa9dc933cdd60eeb0499773fb8658339fef716bac59e5e65b128ef45"},"properties":{"commitSha":"af1936d93ad9adab9527e19ceb5c89bb3a907e49"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"d703c843a2a643d0dfc6304a13d225cc282448ead8b83e9666b30059d05d1464"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"da17e4a0721fe6223e64602f7331280253cf2c3c5dc79ce9801247e28724a5a0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ee5da1591ac181c11cc7c593d394f87c079ff4b142aae2300154d6b4c2217cdb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b438ebe3c41d5a2d3a6159912134ad1849611617ffaf4cef1154c319f7f089e8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"7eeb0a6675af19eefef01f350aabcbe796c1bf10e30c01c0ec3cec3b552abc54"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"86a052f283549a40ff68e2f09a4f33c13ef9d90f3f779573c4ddd8ca8f33b49b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e790e29f89fa95a7741319a5672f0f2a58086172f7cc3d833bb82165cd5824cf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a6c2f90b00d58cb76e93ddebff35447663eff5d7aa5557fcafe21ef92aee111a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"832a3705d1ab6138c7aa58b79f7100b8a8201aa72a1062085541fb7e79b10d9f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"55e5087c243f60570523575d7dcad8a4952a3293b305d7ad6cc024731ff34d49"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b53edd3ffe456b3414ec4b73ab23cd56cbd460b29f570e5a953862fea809eaa3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"94d80e3bbf242654519eae47dace0e0f2e3586736a7bc513855554f990029f44"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"694bf1cbf18bf5fc3c15c3b68f8ff8473070c08ce5d5e7d6125e1c71d584ade4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"7ccd22ecab8481a58072f0233cf10bdf1f2c6a5d3e88c3f1152a451ef1aaba8d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"50604546a6f1272714e0261eafcfa0b9537ac455a7ead3fa7915157e0ec4e25e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"73dd182669fdc467bb1564214dd19dd1ee3f9d4ee8d6a83a2d950ad294818de9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ee4b5a34b6ee35d3d0b4388a0599e44bcc1e2131fb3a63abd5b312209a46b4a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"22e8f30059ae25180a9cc204b5bacbf7424dbcd284a77f611e26e8ef0cd2e3e5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"74c827bdd75a0e84d826d6d750f8f573c522cc1fe4479ff6ec22e10c5df7b5a0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ef1fb83701701327b8d20aebde8d439eef6d114c59a2e77abdc587b8f0f52650"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f76d2459febce002ddc76913075a0ef683f155f32b6f219cf0facc0bbbecf607"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"12aa4514b36c9957cb5af06a50d0a771913bc5213351845e0f98072f79dc8f5e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"31fd8e4ac8da1d39dcfae1a0fe4dd767f48d93bc45431b999c247148ff10a27c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"379aab33280075522182b7687c7e1113c0381a51340588937f834de7e393ed3d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1b1bdf9c013bc3ea01e52970a8b243999a61df5650a9611814bf7b4d7b68e1ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0ad0a1cee0dea77c0140eb67977645c9981a8d3dd61cddd96b72b12ee4a021b2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"87a04d6abf215deca0dfc73c6ad1f45059550589abed856df3fb4c3da5d47ee6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f52680979617db9c9aa9be38b815402d7ca3923fa17f104935e5f5224af3acb2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0685c80c1b7cf34ae16d0b74bd9e6b7d330184129bdbfeedf2facd008ef0ff69"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"d9ab5ad9015d5cd66a98a03695eb0755d0e42410e9918a9b5b385ec9d632faee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"9fc0d6bf2f656e8e345c8d0d323f9af2a7e3614fb8ad3085299252a68c5a81cd"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"62170e708826e33a71abe1fa2b799d5f0b321e0f0cf10cb993a7254e3f0bea3e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"443d2970cf6fbb9d16d4ca3076106fc82064727aecb4bf0eaa4f90e84fb10144"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0543ed207c78553998d959922e1982b70c7cd06cc52c22eec53249e17530dfc3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"4eee610474898397f875d2d55fb0164f9c5462ca4065ec4a277728d50e41e416"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5cda540684e59805f0dcbb056175599cdd8c0b1aa2f6dea40ab70f59fe29f4b9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f1f5ff5b7bffa823e118146e2350764066d794de4a0fcbb94407326c2b6638c9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"672db1ba5312272273ae51bc74c75a38800fcedd403d860bacc4007ec2697564"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"659126207eb0d0d17125ac14ebc227dd152833ec196b4a0913d3968f07004ba5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b85f6fb87250852ceb17510e92c543e4f552b820fa1487736313aa66b1e97caa"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5a0683f6efab4bdbb89d68eb20783d606fd3455aa728faf5a633e6f87d38eb69"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"13c28c39e0e80d333b0296e588c2a33e47ba74b772a0afa8bcaec5c2ee5dfe1b"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e8f20aefa68a20d17f0b4ead9e71d0621445676a882ef5128e362dd603a1d38f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3e4fd9d03b3c75923b83ef8f4f21f80b9eda7749151695f8893d992481d45d96"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"49dbb4207504cd5d0098f2ed08dd4cbf9f959309f0feb245bf48306fb3a3c9d0"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"96c15b266b815d705259455dabb74036250f97dc839ba7a714b63fd81a5da3f7"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1738a6236dd9a609279b2198e4a3b6d794013c4ad992ce2d8139a992680adc19"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"4d39706a1a05d6c57b9d3454c96d30f8a168cf9f41cad2d43182435cd69c151d"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"de5419da17a4c8eda89ce19628d2a544d78ca49d531bc0c37552b2fa3ff1ce32"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"cb1359055e8757adf9efbd65b4e3ab8b9fecc9268b594f7fbce3912efc49f9f1"},"properties":{"dependency":{"package":"io.netty:netty-handler","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"afc5d81b8b09321467f6af10c106da02ded9f03a5aaa88c5360b81257060b14b"},"properties":{"dependency":{"package":"org.assertj:assertj-core","version":"3.22.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"70edcf093975d918d9fb2398b356e7a08bd751b0eaedd940abac76d6598aa83f"},"properties":{"dependency":{"package":"io.netty:netty-handler-ssl-ocsp","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3b1b9c4187b02f1b3e8948d5ae816ef25e312cfa89a023e7bc30099dd5633af1"},"properties":{"dependency":{"package":"io.netty:netty-transport-sctp","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5c9eddf0b94690c4752f66c167227c55c14c2e800276c2e6e67ec36c17159990"},"properties":{"dependency":{"package":"io.netty:netty-codec-redis","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"8adaf7215ae2bac8c96d99f29d1f0659096be817271d80f6916b4c34fb0745f3"},"properties":{"dependency":{"package":"io.netty:netty-codec-xml","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"c04d0cef98339e000129caf46162b548a654f52ec5a9d4d5be64d73563ef1446"},"properties":{"dependency":{"package":"io.netty:netty-codec","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b57b96b7d5d5c7d5a345401d66cd1687f38a013aa94a0b9ce471c27829f7f3ea"},"properties":{"dependency":{"package":"io.netty:netty-codec-http","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"8f796966e03f27a1c07d570583b9c5e6c38620fbae8774444efd360ed366de51"},"properties":{"dependency":{"package":"io.netty:netty-resolver-dns","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"c8da83b6c9e15fc1d90f0a94b01978c20af9ab3b0c7481739b574bda50310770"},"properties":{"dependency":{"package":"com.fasterxml.jackson.core:jackson-core","version":"2.18.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f7d75a93b5d5938568a45f49c8a6d19919ce9e865f6f41b194761b0787ea8d33"},"properties":{"dependency":{"package":"io.netty:netty-codec-http2","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5f1cb8e65f6ffa1eb9801afd471a2a7ad8c491d890f7010fdce3953d8aea66f3"},"properties":{"dependency":{"package":"io.netty:netty-codec-haproxy","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b5ca8895f0eaaa90e6f7726309862fac2c3be2edf4f1c35cf60347cdc875d6c3"},"properties":{"dependency":{"package":"io.netty:netty-codec-dns","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"65d072faccbff3dc90b93a321bd467ca0374550768ce9a04bcf73754df687169"},"properties":{"dependency":{"package":"at.yawk.lz4:lz4-java","version":"1.10.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f43930c86d8acae973b447a82063f16797142ff56c70dd4f17c7833a32e19da9"},"properties":{"dependency":{"package":"io.grpc:grpc-netty-shaded","version":"1.53.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"689653658ad8e8e6ef98d47a79c466893d1dc21ba167de7d7f528b4f1ade9b25"},"properties":{"dependency":{"package":"io.netty:netty-codec-stomp","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"2a04a632237f528fade3acee66b7650a14321a2b11a807356504bf92b5e58b3b"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"32.0.1-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b570701bb477b6890c60ccc6ed8dc7f03e31e5cab95545c9f4d8f84b5b96477e"},"properties":{"dependency":{"package":"com.google.protobuf:protobuf-java","version":"3.24.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3924cfab578e9264d89a6c84d7676d3aec4482dbdcddd76e96ffb41525b7b76a"},"properties":{"dependency":{"package":"com.alipay.sofa:hessian","version":"3.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"8cd41f8be1ef90c98e997b6eee545fc84e0d2295d84deeae80386ef04f93cb59"},"properties":{"dependency":{"package":"io.grpc:grpc-protobuf","version":"1.53.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-1426","PYSEC-2026-1427"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"8561314721c09c9e400b563d8e0a07655c8f4cbd6be05a6617553e4c90bc688b"},"properties":{"dependency":{"package":"org.springframework:spring-core","version":"5.3.27","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"1d6a900f0e88d57ee2b23c26fae9405aca87d65ee959ad5beb186652950fecaf"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk18on","version":"1.83","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"270eaa3dc41e9866595a7378cacd5122b22b9a939d9049486e375f335dbb8917"},"properties":{"dependency":{"package":"io.opentelemetry:opentelemetry-api","version":"1.47.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"15579f7c5f04be2f7bc28b1f936b2fb61f000eb352c38bf88a38ec1b0574a446"},"properties":{"dependency":{"package":"io.netty:netty-codec-mqtt","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"e226ced32397515db988a24022ad17c3579c372da80b93cb66cc8c494ada43ea"},"properties":{"dependency":{"package":"io.netty:netty-transport-native-epoll","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"0462e967f9c183278848ae266e76c15614978abd243cb28c01cde4e7868da0ce"},"properties":{"dependency":{"package":"io.netty:netty-transport-native-kqueue","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"769799570517e16cfe3e5de03347946fa1c52e0b3d0723c3ba5394dd8b58dca9"},"properties":{"dependency":{"package":"commons-lang:commons-lang","version":"2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3882a95465a2cda002fe49046515fc8bec38c900376dac1998ec07d85ffcda08"},"properties":{"dependency":{"package":"io.netty:netty-handler-proxy","version":"4.1.130.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 480 of 864 significant files have no living knowledge, while the repository is still being changed at a low rate (71 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 480 separate risks. Counted over 864 of the 1493 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. 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":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce2062e7b3fdc350c0c93435d6456c07f6d1b4d4da8cd4c17bcac82a40b0687"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b1760f724ddb4235b7fe3f7b50e46efd1d13b229fe92a5a16a28bc6c2ec5a9"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07203b8f8e8998a6d77615c16a91212e1c9bc88dc19c71ba706cdc7f693d109c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0b588d32b888045a686edd5ec1e429b66ee26152ab8559d0a00b8766df0965"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e3f4b96fad62c98e63fbbc4c3ce0b543556f8cf32fe120df3e596058a2c2c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8120fb3fe3854034cfecd8c80b7739f51a928055d4e864edf3f1c0faa5f7d1e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d9e1a97520f8c348a1a0bfeda14c2580a41f2ad98899a4b3a62742b001298b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb83658d476eea8396051bfc7fe2388e4d345dd55707a583314b76d5d72c891"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminExt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb7f476a85eda021dc9308807848164bc8dec04710f71fa8519065abfa42177"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ab5579b787c4280b2f843eb0251df786c2a7872fad7774d9bcf5d86937659a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec12c45ea8102b68de3db0850a4a5ebb3b47e4e06252af09dd54ca75d753352"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b3742d1ba1eb82964d99f95a860fb8363bff217f5c0ffab539290820c27915"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3e39c4618941ca8f95c05d62b9b8c32172c27e4973411a7c2945b5743fdce6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"129e942bb63031758ba0b8a7c9ba067b3f567bec66be1fdd02f7a9ed6325ec72"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccd7a74f2df8d98accfdde3ea9603682b52da80f1c0523fff4d4aa869a08461"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a404c456e0d85c291264e1e359a7ec41b28578d73df740cdecf3c9f8dd5bf791"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/ClientConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73aa36965f57309a89a694f56e49442c68a8281a4605174ff95a0d812d0cdc7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueueExt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7537b97a7ba0caeb444bbb7c3b43cb993867c357954f1adefb106e826041e36d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89698e14a16ce7e771ddeb43c680978c63b3cae86ebcaba22dd347d6cee72b06"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPullConsumer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e6881956b0ff70ee8297c62eeb4a8d938b0cf89f4ef3f6436a25db2d664252"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec533a1e2a8ebb8c555b442fed8d14e2095ff0d5436ce49d9cba7aeb51280d5f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueTable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5139a8d3775bf4012c8c298290328432b76d040aae2464d1cea954cfbd447a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/ControllerManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8127575e9bf4a499a1e7fe7e7a04e270df3af8800c82a4e6366660441f7eec83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/processor/ControllerRequestProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0596c88d1c815c4c05b083cddba62bf4f5b49ea321ff43efb79d6fe842d9cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92434582605d0b62c70ba2ba986b204439ccb9845438c0db8c89c27caa03f934"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"add2f55ed147ad920ab7974cd2a8e47ddfc6cf29ef806b17d979c49b887825f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/JRaftControllerStateMachine.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"733446389484fe0c8b3b4084be04ed37732ab26f69a1b095e3681e9ade00e56b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/ConsumerManageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b7de41c326aedeae8ea1a21cd1d2c16e03fc237ff7804988af50ea66b32c77"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18380c4d87c2ccd8f38b0bff1b01df95193b8866bb29bd97a9747fc08fb6307"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab74bb59b3f9da1c2c3af1992708b4705e9315c785a314c8085ae6a652726d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/merge_rocketmq_pr.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65940493a43a9f4c17a679f7a1466637aedcfaee30ff0f7ef2300c9f79b0ab5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db95db3e0ca7bb55a7fe907f5c794dda5c5d3c6e7e108031d42ab5c11384ff51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/AsyncTraceDispatcher.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"837271a08935f512668252132097a7a430958df1299418db74a80e92d17c28de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d41e16a682d03c2cbfcc3abc82b80690e0557d0aec6597596b07df8a8fa218b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4c9a3acdbfb56049e6671cdff9406962e4459e8695637e074b419b7c5198b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9f78e717f94f4710637d6eeb048f05bed1acf3add56410cbe6fcf6c2e90e0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/QueryAssignmentProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cd25f56bb8d8853c3c30cb1cc7065deaa5546ae39f9721cd5abdb21805e6b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/receipt/DefaultReceiptHandleManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baab83496995801a937465f8ae688c26690d7891e7756178c78a1db2e7368dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a2f0cea65c596b6ecf360ca37e5c5af0ece34a991182901834a658e76c56d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/net/Broker2Client.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c45e6eb2c68cbf124d0c5e104738143aa0a85dd3ef163ad0d968b87397ca69"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae243b9378fa0bc35ecbffaa6e745e263a8527a3f58d1ab602875277a36966c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3e8d2a789a337275480876176de82d213048468b2b7f65c2fdf2900880174d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3053196c2e6956ecb8275a37a08c583080365172107f73fe9d453949a8f0b66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ProducerProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcce0ab927957101b9138d56508490b9f64090f87c23b1f039bcb9c74f102f17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a71af8637fcc6423f86ea33a86dd7204d1490f04f5fce42fe63e73ef377f92a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/RaftBrokerHeartBeatManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0501f42db1c4720d469cfc5aadd8c4a71f7e641796275f626b3aa3aa38050f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fe14a4d403e400ac348a840370b43afdabd894289db54ac7dc74b86f21524c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/JRaftController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2941032be28560b973c9e4c5368fde43a99717d3ff25100d29bf6f3bca98761"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcClientSettingsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a142cb0e36fce98276252b9f39d046b6871484026576e4ca36626ab990817e70"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad861df876032f4bb7ce64a3b957b1a65706e269ad13de4041751e47c6a15ba5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3189490161b60f3b63617bd0f5b0d1df426b9b7fe78ddb4281a2352635b02b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerWheel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab20d28d6f6fd9d4a31d4d3966ee692215342bd1ad0c30a1074ffab7f7a8ec4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/channel/GrpcClientChannel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e420211630bde5f10c89b03640dcb6fedc199571023750a65d69bae3adfee7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/monitor/MonitorService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3944a4dfe9c76f0dd0624845b3584415dfa30e1d7824c9002c491b087f5a9b42"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ConsumerRunningInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"080c06fb00f915184a3a8f4ce23808710bc38a9f69b0795d99758287360adbd0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePushImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e98b43848289d8184bdbaba15dbae8aa7fb0d53f6df3f35d7f9416ae5fc744c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/MessagingProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"562de6f3c7015e92f9bf8b71d4a83d6b972f7da12b03cbf4861ad5ce488d77ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetricsCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f536d65aaf7dc8cb304f5cf29a94711fd6b39b928427fd8c9f8520ed918bc2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/ClusterMessageService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc60912834e668425823b399cbf7a8396f2647e2a8d6d2fddb2f025b384ee22"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/util/PerfCounter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"648534b4e2a52831e16abbee902bfda9813e7e2debaac2010e1bd9cc72ad8de2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddba06a82169d802aa49b9fc4915fa41a0630065e866e81e7d388321faef953a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/TlsHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f39f3144892fc901eebc0ea1f3651245116f74051fa64ded3dadf01f188270"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d6076924a9b35ddc1d2ddac321c24148a9d0a8fb793fa2f9f3ff28d321d351"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96be1156c1577f97100f48c4428e7160d975834c337e6435d7a24b5d285530bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0238c84a765f3a0f60d427ebcc8b3d3cc9cfa72275a9ab1d07e6017552e2fe65"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/MappedFile.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"684a2b39ce107cd99ad2b9f0ff4b0954f1db805db0f884c1545b2a8c24d819a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/rebalance/RebalanceLockManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54deeb0acca7259fbd037e102ced5be28f858dde9ae5dd32e14cb96ee29df70e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ControllerConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"452fd6fa4309218a429c45f544ee394082b14d8cab0b984c16cc79d53d59976d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c915f50591fcbada8e8d58715802fc5a782760b879b276bd05b4764c1c57e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConfigStorage.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ecdb71c29cd85d205d5d9a991f797dd8a268bfffaecee420dd78352a9bad69"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/EpochFileCache.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02633a6909cc57e6a42639bb4c36b694c4fc1daac69b4a2c7699c84e3d184a9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicRouteInfoManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16509b8e5fa70f8818c3d1fd124311efa07f539acd23dbc0149f5fd6feccb1fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/AckMessageActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af60b2568d45f27a382a22a8fd08d5b544b40551f3a7842eda3f5d579430ade"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataCgCtrService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59795680ed8eee845637b1a02401f190553fca571bf77000303679661529abf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f72a0e0bd3054b7480291fd68f015ff89cee30cdf7c6585d8d6b16f31fc4f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"051a65793f6f83602761a3ef06f4d8c7abb4e320d662c8724840fe3c1dd6ffd1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a59002fb23e956f192838575321be1de9107766aec3b9e93f2d87ad5738d46b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultToleranceImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9798a2b12d43954e16725fa14ad6038fe432fc9ba8a6d31c77b00b05060cceca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbb58bbcb771b119bf18d7421aa0e695954b3cdba25027aa4a95cd6d95f455e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/kv/MessageFetcher.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d036896f68ffb89ff0eb2bb8669fc96d25de9274af6b7d7b261a59d1d8fdca12"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/RegisterBrokerBody.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa08922e2e11ff21f8f37b8eacb2cf0b43d255133ee90327ea95baabf50e469"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee33b277d6cf856e14bcf45613b13302ee8e613e37ac1a5632c972a507064fcb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ClientManagerActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35b43d7ebb9f9fee1c4dcfe1deb1b25b8c15e7e29204763ea0734a10e1576de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PullMessageRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5320ef17fbc596dc068106529c2b75eb3542e25fd4c553db5ea09ac665dfbaeb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMetrics.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3840e7576f0b1f35dd600f20465cf6dee9541794aa34ac5d1e22fccda3f4ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerGroupInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28ba9a4134bac9e542cf41736ccbb1d76d6080c3a383c51144922ddb74fe46b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6586ad3f5642c81847f9a65d20e2e13e93cbb13d042341deca00435514cec35c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageExt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0276ff0e12cd1beb3795ced4890a73c5feda16db8dfc05669c288ce99e2505"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/TopicConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c113231b664be5e129c7bd0194536f66ce938c2b82c76b5dadb11ce52c6cff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3159b3046024577fa57dcccef7470c625aeb8bc72ae27b8551fccafdb70a44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/LocalMessageCache.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c84ae4bf5758f60d9c68a745149d2b26188edfab7d6516c7402dd499c3696d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7c30ffb6a871469c2102aae36e7eefeee56951f44b991bbbf2229adc619883"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de3651cf0873bd9e730751fdcb066550949194d8029e10bab09c301eddd43d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/NetworkUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc38e8ceb75b3846a7f64c977ede5ee537694f7303b3a6c8d0f52160c71db58e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PullRequestHoldService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dec5f76bf4ad7dc6553ed50ce65d2990bab40480e82f4bdcb0464d1c57c4e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/route/TopicRouteData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d940f3f00b8724e03666f5cc5e9127db7c0f9095829f7163ffc476c886588721"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"658af648e5afe3c32170149a36d69fff82dcf9c53168389a5972682bb8ffe1b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/ProxyChannel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15d01566654f14e8dd781afe5298a8335bc2658176aafc2e438ef73102b846f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/DefaultGrpcMessagingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6aaccf91daf525eccb2c04091cc11c486e5f9b4da84a15e9f763cc51df4e3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/thread/ThreadPoolMonitor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f2d266d2f38a0fa9757f6abfc24c71c75d4d6e216639a5e4a7ba098bb46e72"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/ThreadUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb20eac2f45973d2c5abc3a728ccc2b4d6ba51b74bdbec519bea8c5150154f6a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f474516b02e422c0529ace5b105e15185875cfa789221384f3e8a201a8b08b21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/util/BloomFilter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbff4adcec30e49b7121aa4e601b46e4345ff54e4b96c5b1a98505b8390c0cf7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/expression/UnaryExpression.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1379258d141fda4ac54c768d4d66e9ef5cc28ffea65477f7b5816bd0202a5f40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/AbstractSystemMessageSyncer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee76064a1d7c60341c9f64e305770f92f496393c41f06488014aee4490759a8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/SendMessageRequestHeaderV2.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bbb684081734ede94a23fa8b2576c85f9a4d508e24158a1fe0dcebf875a4df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetrics.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0500eb131a187c53e49dcab47420d2737b47357760472c1e2d59cec4373282f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/MQPullConsumerScheduleService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6033800aaaca49459d561ae16352baa1b76f28147b58aefcd55d16e5ab70138"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/consumer/ReceiptHandle.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8013b0056a10627a7a11d3579258de7f86a6e14d32ca755e730f8ffc210881eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/CommandUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"629dcabeab65f0d5f15ef23ff0b6285b7d5fec1356142033d7e29998e0631ff5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cffdd2bffbc34403cd7a3e26dbc0f3d267728ecccd332e93fa3b6bc5e29fb0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/AbstractRemotingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e8439b8dca890d9a743e8bbc4b9f00542a84595e6564dfd98bd7be7c037397"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54271c33538418670aa0d65897af6e4feb9c3e96a9313349ec90f98dc2fdaaef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PushConsumerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17595edfcdba7c092b0dde02959c013c57c07717738e023d7930453385355d7e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9711854d6866a591c685bcc20fc82d2ddc63e3b51af2441273f06895f93fbf99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b87d9f014dd9ed91e528a4075cfa3ee81e5a5dc8b7dea2eaf00bac588c11439"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/utils/BeanUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"311680e8b08c705c7f30e3bacd0d7781ce857ad687bf3a5522993eedd409ada0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/mqtrace/SendMessageContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa9de95d612ea30d51b5548a8b2d0a576342aa57ba8c86c3c9697ab8b39eb1e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/MQPullConsumer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"871b71773dd9793b8dcaf5d1922f280129c32fcf6f088e7c9110a186677941e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df5ad17a57a123130619476aa78c813b7bea79ce694a76ae3bf656b147b3c17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/TopicConfigManagerV2.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"261f216578e18adab886e7b7e7595eacc62b00c1601d0653a940fcd55d265a60"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec044bf0e0c2a55aa1b9190afc63e5ff0b807165601bbdbb7c94ffb566312c6e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/Message.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b2b2b6cb01b9f4dc5197fcd978ec925dcbb99ad5ac2170e819e1644e4eb62f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyClientConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78dd94a2699cedc212e84c5a70bea98489ad8491e88c70b684aa3a9a0297ef8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7aed9b6e17b410c3a77132e438321ed3d301afb249cc95a0f405607efa6532"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/kvconfig/KVConfigManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea92a73fe1c1d314fbfb71b1bcf6a09d34874df186aed34ebca23c55e30db1d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c1cfd11fc6fe21d00bfb31c93cd846787c6287be8f6ff017853241f4e246c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/ClientMetadata.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf7dab450f0b2508303eb3e87cdf3484b0c6e70151f76497eb5879ba172a3a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96631db05a099e17d6a40e84ab1cceefd496e9d156751f716adff60f90e8479"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ae56c88da2d9c9cb66bce98f97c62ec1117883879604ed71e7bf85c6921bc6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/stream/CommitLogInputStream.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17ad2b4fc70ff75961b40f044b72a151d6271f5a28ac1bc868ff251772f4bcc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/logging/DefaultJoranConfiguratorExt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4de4ca89b21210f6db01f023651b3b8942babd028072753204e3e3ecd4c3dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5b3432c4329e81b2be40a496dc0f13630d7f919ec9bd8d204ce339395f9abb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/MQProducer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7023868951276b2be05957274d94e61f9aa84f95f9ad775a2630f66975d416e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/filter/impl/PolishExpr.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d145a6b2042bfd9273423ca87995bd2043e8eb323de1af7cdf11895950da53a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9d6efa334eced0e8ff8d35391979551d8927047a0800a7a5affa16098e273a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/NamespaceUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a46a57a58bfa0ac58b0fcfbf8e968e281acfe165836a73bb233a538065b359a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/CountDownLatch2.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dbbec3875e8aa966585be9c7beab8f59374f61e36a3496a0cdb06ba6773758"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9bef396431c65301f214703de0359fde95f9433ac4806df0d0bbc9df4a042e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyServerConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce85fce101a6d0e27c784dcf101f8f1c77211cdb5d2120a887ad1cecd52cbbde"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/latency/MQFaultStrategy.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"048c0110b26e4ec69234873e03cf6e4bd51cc7c9fe5636fc2b6a4b222fee47c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/utils/OMSUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f169e8ff9cb9fb21ecae47e79bde24acbfe03fd86a403ed2a0246c0fa972f1cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/config/ConfigHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8f9834877a87bf62656e9bcb2d61f98a136cac93299c85ab266573a5333670"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/TlsSystemConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2097d502a5f06c54b4157020a76df1d71812b1ffe0c50f725d795dc662a937"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/transaction/TransactionDataManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8596eaa9139fcdbd0915a60b7d3ca2087d7e3336bfe17d84599a896b709c181"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/producer/AbstractOMSProducer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac09689ec22d5fefb5954b81755614a2e6e376acab3aa8036176840ad06ab0c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"641c8cdbbbd33f1f8e604d1e753dbacca9f66121db98572274c92e19f5c88c1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dbca03c33c80d933ed6ed4fead449e2827bdd79bcb84964660e5ec41e966ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/MessageService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1406612f14cd135bf23c5bb5e5ade1bb509df2bf23fa60e4352556ac77fd73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/SendMessageRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18754cfc1461be7f2adcf17f110d97773624f1374ea7eb552df1c0852deecdb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d72e83e4eb1da85855684bfa969227bb9cfe811059d9af7c481ecec0832479"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/LogicQueueMappingItem.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa25f3e33fecda3bedaf39b5f0a263a74ac8b3bb4dffb26bb10748e11e38a5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/promise/DefaultPromise.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"426b48f567764fe689faeb620825e5e0daa6f0127f757be59bd308bf56ed8375"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/GetMessageResult.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc5c3bb8cb3dee174770653a2ea5ad8d44d3a720361921f3cb3d0df72e6d47d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"936f33f9ece586c0a9a1dbc57e6f7c6871e5b3bb08a69882f1b3604d401aeb61"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullMessageService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"897500da488144b55fc702d60db54813518bf34b3f9a0d3ace9b7c0ff680667f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueInterface.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae021d7d847b3a0af4157b9c952f3836667cb5d580c8a0bf8c097a19db92496"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/mqtrace/ConsumeMessageContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb61e96f408487ebf2542764faa1ae5adbedee93c70be3222e2e3925f5c6619"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cab31ca6a770571d58a1fe926a2bdead731d9108aaed873d9fbd2fb14b8d11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionMessageFilter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b6242fb5185d7f0e5eeceab781c0d2907958dd2078f1cb032ffcfcec6a55bc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ProxyTopicRouteData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5370409e79d01111da15c179cb649e59f2f60ee1f63e58af539768ed115dde"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"389840edb13b336be1d0ecc502bf8074772149b41bc6026cb96313cb22e7009a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc8e12ca1de99c2ac53a16f0749f2de0f6fb8bd26ce9877120b32b388fa2fc9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcValidator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5258e95512997b06736692279e93b6045ff05d04392124a045ddb7ec497cfa87"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/MqClientAdmin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a82941371f309b9e9059163a78901da75c7fff6c5425fbcd7bd4fd09a9801d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/GetConsumerConfigSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cefbc472045bb096a2fa5f5e0f141ce765575e23dab0fd77befff8cba548723"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataInRocksDBCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06ef7b5ce47c5b31af28e8a9c4486228d0b458ce8f311a685fab513768ce0be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/stream/FileSegmentInputStream.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"179dd767a615ca0964bc24fc2e617d11cfdf376a21750813c47314d914e3d0f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/stat/ConsumerStatsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fc34c063c271d3130971353ec49557f634f8f53361b7bec2ddd64c1cf7aac4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/protocol/http2proxy/Http2ProtocolProxyHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2763d25626c2669af4d856d78b1dce0b8462365bf8ea978b53e2fb46a5993360"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/ResponseFuture.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb515aa0768764fd3064e4cad9062b25727c0989e6d81ed647c376d813dbff66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e001e256df661967ff147a0ab71fd22f260233b330be9af8dddcf1bfe9bb0869"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/producer/ProducerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eaed1f36d0bc7a77b2d066e9e757fc5e2f8548865b7afdfa2c11b100b64347d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMachineRoomNearby.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"365f728414bccc04ab09adee1881a73171becf6749ab0ce95264a8dbe3fcb6fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc3ca7d398c36182e8240671bb2434171155cecd291806824265225b7fd478c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConfigHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bea4c1196c923f172cf9f7da43b938e8ee32e30be28cfda7f81c0517931172"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"689c167c3859415d67d05123b8faf235e50df27c117e782b6de2efc19e173081"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/route/BrokerData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db455777f2a0477d364abf8e351c23f980ab51929bb7167a98eb1cd4a1ea4bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/config/ClientConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ca2c5d64477b0cbf51c738817466e595c53f2d9dc0c0142747e65393b76b9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/common/MessageReceiptHandle.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f0f10ff29321d7099712d64bfef64589f5879b9264b152f9ec0fbffbfab497"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/heartbeat/SubscriptionData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8408562085a0ff45c7976083db6852c782950a904308d2f7d3bc6c16af93039"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetColdDataFlowCtrInfoSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47562cbc4fbf4347023f0bae140f324f8a74b5991af78329d5db46c15e98534"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerRocksDBRecord.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0d0bce8dc8a51436597b65923b70afa3dcea75a0272f15ce2fa3b62d412d4d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/event/ListEventSerializer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64fe2cc52e5272a6473a88d8302886fc7af95cffd9212207eaafde83061dc81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/pop/PopCheckPoint.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d96205e3abef7ee4b3cd30062fcdf6ef8f7ab090e72940465a7cf10ff6e9593"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86049d5a55858852ed7c5bd8827454284f1660760906127cb816048fd44da1d9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannelManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"440dfbacc3f050de9c347b1d39479d3f789e9b257247088cc4bcb3c0227eface"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/transaction/TransRocksDBRecord.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b89ab29be6a2403f6aed981c4296acd533c702bb7de82e615ba9ca511971238"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingDetail.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49abf6a2afcdc62ed7f1075766ad25003c12bbea57f2463741ef65f47fe46f7b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicListSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e9bcdcc860e38e2eab9a2db3d35801aab1624ae0cdfe8dee79365545d3ffb4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/channel/GrpcChannelManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cedd52b151c55a4df7811a73c314cf2fba23928269c7177a6c7a3e52514dd0b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportConfigsCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0b3a91b6c210c84f1addbe146027934fa16670b93edf335a7a5f10c45d35cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/client/ProxyClientRemotingProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6457b452e1aebe693eecee57927c3135f210b62e0337e87b33c6a6e57b30894d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c77588df971f71218b0b8f53abdccdd5e35a404f04c695bb9a0578d92fcc8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/TransactionMQProducer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c10a9716a04aa417133f27b72c311d40b5c7b33d28c561c46bf35b4c6497d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerConfigCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf76391dec929e8bb00a45da389f51d73e339e038af861d9e55ffc92f4d2226"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/MultiProtocolTlsHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec85165139f403e94cf10895286c47a2f7d805aec45d73e795b24ae82bf5c2a8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/ResponseBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eb59f290beeb7bb0a43df904c0121ddf40f9791d0fce008d19834c3f7ae713"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncerData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"042cecb221c35d6c944e0ac9df87732e608db1fd34a128d34ff7ad2ebcdb5d30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/TopicPublishInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40f62c37a142cf17531ea9e718116453ec0496f7c24b94bd050cda98c33b123"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd5d604e4b8670aebd5e6ec180112c860112c27ae7b16bac02d2a8718e98ef7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerLog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb2d26e94e92fc009520ee7adbb501ce9e29c10f710b511fffdb01c432bf0a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageTraceHookImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5eeb4c50d8728f3a3fd199ee97c958c9ceaf3ca0d18ebccf11bf2bb1eac8157"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MultiPathMappedFileQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fee63ddf27dd6e09b51ddfec908d63b22eaa818504fc3f811b677fdf21b2988"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AppendMessageResult.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e622e452f2d48ec4fc4f29dcf150ed8b8f6b75b70f0ee8300675cc8e92da5c0f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5312db0aaa63e8d8e48ea116b019c29af110aebe4db2632c0e0f8d8acdfec36"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88da89e5b22cb9fad578782348edb362ec8b786aa4cf72ccfddd05c5a774a915"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/attribute/AttributeUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b79b055601aac52a25c47a89241e6c129bd4f84decaec2e3ae9530553acdcea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PullMessageResponseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f42a345aab61fb355092cbde5bd9b90d9fbebe7a5c4c13f79595082ab915bed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1582495336a3c76c29379805586dfd13828314c25bfbbf24284424f5abd82b50"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ProcessQueueInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5532f1e9cf21acad25a693bd3f4a38dfc0b75b5185f5229f7f656d4a0273a96f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/HttpTinyClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06406b33c354817527326ac88adef730da06d8e84408a7889c46d5aee4c54ecf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/TraceView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce011a26432474b5298f4363a558296ee98b7aba8fb61e0929aa27abab03cb26"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopMessageRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6593ffcf385f7542866780d57b53d7e7c1b801d88793b252c115c97cda59b95"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/IOTinyUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1a51b1e0e16aebc2dd21f4ad30597222bcb48ce1228b7d6cce5cc044ac9749"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b16a1c3ce0d7530bfde0dee5b27541005489ee1dead97db481ebae17659549f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/acl/common/SessionCredentials.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7985194ae2aee41861c25fd33ed5593437a2bbe508ad40f454a50e145d73bac0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupListSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4d0edccce6768fa9ca44979be88801b711b05121c16fce843b47dc2f478b83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicStatusSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daddd8c0fb41e8b86a1ecd906cf8a5a322be99ac24a4e91f67a3c71c2399ac4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/ControllableOffset.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f7b1227c0bdb51cc4d70774611cd14121557611f02fa9d76dccd3f73ae083f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ConfigManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4983351cf328f2912b59106515c9f9e61446f5532bc619d987bd17f277b2e289"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/CreateTopicRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c4dc46fbe147970e3593f36f277f107856d1945b606d12368b553d444bddf6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsConstant.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07415bccd0182f6630ee36bdf49a631ccad4a50cffe5051143cacd95c2b1aa39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/RunningFlags.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6225a086b6b0df60bd12707c40829a05abab7b163853aacc22dc9b202bad16d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/BrokerLiveInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8550ac3c436e748bee20cbf3a421328c4ae4f33d47c16f005737be42fa1ff81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicListSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedbe8045adc42e672829f820e82272239b270dc99d357d1092d72ae0cade2cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/consistenthash/ConsistentHashRouter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e05c5f405c8147d00bb8f89b8714f507af660a31bda61999a3c6dd5ea1ba39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataPullRequestHoldService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35677b6b75cf98a1cc10ca522f483731f533cf6c5493eb185a362c6413137944"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ReplyMessageRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb44b326125ff55bb9eed01c36ec9b87210a2fbb6d8df93cef73d220b3733ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"479ff61fe078db0351e698a668cae0f04d05972fa175b27ea189713054f31378"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/Controller.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6703b66f1d6c567a9d3277b70c32f728faf66edc8cb67801d925fd4cbb59a628"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/SendMessageActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f091383d8211c4b2113417d773158d3ba2f0eaf2b24429c270f38572baededaf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerStatusSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd497e7d0419fe34534298691101b45ace02d50440c2e0c38cec3c1066250008"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/ResponseCode.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f61e7364809f0a98fc795280ef39abe3bdc9e5225cd3ac8be267b2f17c8a0b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"srvutil/src/main/java/org/apache/rocketmq/srvutil/FileWatchService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d112e7940b61d1412acad16bb4257f7e9727bc2cdd70cc25eeea210d4ac859"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/cert/TlsCertificateManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8106f1852da6ca643008edd419f7ee60b02d8f3781bc93a4b65b03dff9a04a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/DeleteSubscriptionGroupCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7159165f036635d8b8e58565e3eb4cf392ef1532e2e39781e2cd0428eb919fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7270ea5f37728e27e7f2b757f3a88cd8991ee9c37aa198bf8d195217e3188134"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicRouteSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"748b33e9b631e25ed20066723167b77535947a56eb218517b1e14046c5b14c2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/EndTransactionRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfb0b1bc82a88fcc60c16c160e771253e9825fdb60ea428ad1660b5ec7f2ae8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"463b6a8c0adc67b6582d4fb07cf6df41616f802ca0435f78479e0fa890922539"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/queue/CheckRocksdbCqWriteProgressCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ffde1a95db3df5018d594d8831cb7a2763f1a1bce55976d8f57ae035a38951"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd14162825a72d3f726eca8ff003945e05adb94ff09c4d2d78033968cd97d4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"390db1f4a0a9152ddbafb4ae7d080fef5264c54877e3cadf998de26cf71ba1d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/CommitLogDispatcherCalcBitMap.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7808d294a1e3743cfd46a7555a800e975bed1f512132bb7f54aae4fe90df5a52"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/ElectMasterRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54c01d2a5d6daf72076e419578cc1dc885d7cdd17238597ea36d7781b135a57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/interceptor/GlobalExceptionInterceptor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff8eb766a6bdb6f8b32655115947fc467eff613481f52996c3380df66879dc4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageTraceHookImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7926694ced53f9ae2ba78ef8dcd7cfc074ddc247b17267f65176e75881abe40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6635fd381d63fb69e01d8ba43833bb8fe92c22cb2227a330332c8d38c937089"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/DefaultTransactionalMessageCheckListener.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed821c31aaa713ae63dff3f350255f7c144bbe9404ac4c1693347d96fb744ccb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/ChangeInvisibleDurationActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff857f603a17b1f48ac147981e07bc0beeab0ce66bc666086f40a69fc7cdd2a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettySystemConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ecbea8ab0c11231995d7cceeade3328715453150a50667e6552ed63c8687b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/LocalTopicRouteService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beac5f01e075a5801dc405f6c3555a4c76da7e1868c84a0ac718f95114f9e93"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/SendResult.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b71b2b37f96fed6de262cb7c86c0b153e8ab8649ec884d2ed53d5d81903fc5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/connection/ConsumerConnectionSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8f6c83bc26dfaedc891d6ca46ca21256efad08923ca21c9a4ebe96eeebbb21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/thread/ThreadPoolWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0fa8f0ff078a6038f3eebe4a2bf7f1de36540eed12057cba33b1bfbcb4d4da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/offset/CloneGroupOffsetCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3598173ca305a60a2c5f1ad3fa03aaaa55e1c7d8fa91a90866615f5e1bd060"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/task/RaftBrokerHeartBeatEventRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02589f3770935f6cc065611d78e945a4cfbbf112ef7d0a6c4797c1b1cc92cc47"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0dc9853b6a8b5dcea1a00a53659918f6f0f406fe2c488d18ff2f3adaca4165"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/route/ZoneRouteRPCHook.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"722f41711d4e0a65a92900d7743b9b8474397d9b9b8bc3b0cdf2894fbabcc501"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/transaction/AbstractTransactionService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc78de7621236b8daa449163aafd43949f5c9ff38b5a55081a8a0996ffd4054d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/offset/GetConsumerStatusCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd332a586f0a2bdf5e35c904d052d91244249a9c35144c2b175fb981c162a0d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a59ae65ae8844a288d7aecd2e3646793dde14de4c76a2e35904106ca14186d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd2f5b67fc5f1859619c83492bc30264e66dbfc75fd2943f653745b024daff8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/controller/ReElectMasterSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c15cdee6f8f0a09e0448bb24eb47e7bbcca168830567a53a405c2025cc2d6d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"858fd80d57797abf2056e9885fe9fa0a9743ef3fd8b035fb56c1713176dfa334"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageAccessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87129d1792686451f9cb82fe73ab13ae9d695edd2bbf9fd80c082f66241f55f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/TraceBean.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c646c7cbecebbcc1d565bb562ebe37db5fb504a3bd377be19bf3cfd0c76119cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerControllerStateMachine.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd952ea6008ca5a345debeed61a63f7bf4d2297ee1cdb0892c13f7d0c4624439"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/ClusterTestRequestProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"587bd9dc9fae85eac3a20ebddc940d3fa6dc57a43e495f2cec898ea23d01523f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/migration/v1/PlainAccessConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca277bafe8182f0e4afb2cfd6ab8a5cf8b45ccd131081b91e8e1365be0d1d23"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/DumpCompactionLogCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1928a063417d54992c7b62cbdff4eb490e935448fcef3798e22ff4612daed20"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/TraceContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"204b2440719b2dcd89c92979670e0775b08a48e5d37c83c67a571a33a8b8f324"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBRecord.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee192cc3cec41e4b6ea8569e1593ada46f127d2d2472242190069848fc2d4050"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/DeleteTopicSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2dc86c3b9f7c9d4cf82f5c5fd08072bb9b4539d54f06ed0c4bc1bfeb6336a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/MultiProtocolRemotingServer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4afb5f317747d811884e4e8e0feee66691111db8a249da9c26d98f89b5137c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/ChannelManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb9ef4ad3a0f8239e7267c5fb77a699568e7dea38a381ad10be1e1704233155"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/DataVersion.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57204c31170121e21a71b8fa13ba964a92b42900292d13c4d7ea8aa2c4937556"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc770200164c5731967659138fc21a52ab4fe6ded405dd94af098ffee84caa92"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/client/ClusterConsumerManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41845d2cd5c203a5f1f9fad891282f17c2b8eb18bb5751bd2d27fa0a04f5d2e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38a65aa3139efd9f231b001bba564c149beef6c1a8476016af80b04184668ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/ClientHousekeepingService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6d9b4b4fdf58a71eeba6d7d4cb4bc49a5f01bd7f8f9dd2e41dc1a08b7ba937"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/expression/ConstantExpression.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b484bca81706b3330b66541b18f1efda19a63f978b2ec45c8485a7e1c302daa2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/admin/CleanControllerBrokerDataRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cddf91876a0cf20b19aae9cd5b85f0b667e54e0c6e96763d704f3f795fb7be0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/loadbalance/MessageRequestModeManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66f43816cf6231500ea16cfcf09978c72e2d319ac0c0ecd02a4c0130586229e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/hook/SendMessageContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37882622ec3093cbe24317e86107e9a90d2bda6fc7d686969bb9534482845e90"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/transaction/TransactionData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6e24916bf63efdd7255c7d6acdb32da815abc6fefc956900778216ce9f6653"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PopRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3047ce21eedd3196d061fcc37b313c102d6b290f05b2fd5cae8147fda978c04f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalancePullImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b57d2716d46c9154996c1d85baae103a6b01577c4b3a0a7803b3b536dbaad30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/SendMessageResponseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"116d9b6096d5c440fd57dfa71cf1a42fe3ed55551741f1d9785ab3076079f288"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ChangeInvisibleTimeRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0302d9f19c79c6dd3fc3b5c821958ac020cacd2b9f6f25d26cacb32c9a6a76a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/manager/BrokerReplicaInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"072cac6a4f00cf3d18a8ba09ffffec62801799217f144792e2e8ad4ad8e542b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageOpenTracingHookImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ddccda293e23e45899e2859b97913cea0f15966e74d5341d546be44dad0088"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageQueueForC.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bf1c467e1d7a9fd9896c48af50213cf5656fd97c95a2bd490caa0b1878d0b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ReceiptHandleProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d440d914fcef1d8b7a4a6f98eece09ed0dac4df3495a6864d4f9dc7eb7048d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/SendMsgStatusCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b233952de0faedefd420dfa17a6e08f86d733601533dbf53dabb19b11dd81ce4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/constant/LoggerName.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b214f71298b6110ebc3092a9bfea74b2e4d421a29c800621635741b46a29c9ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/route/QueueData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d23e4e028a4d64afc246d93e8a308dd173ce8df4f67985b67b4233a97803d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/RegisterBrokerRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddcfe6f38078d99a2c00e8d17fe57b4be52feb1dd44caaed179fe7fefc237f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b93a07afa1dc86e00fb3417902d75bd7a32dd04c0eb44f0b9fdad0c187b15f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/producer/ForwardMessageToDLQActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0904e10b8e9cca1bca3f25061f951b2b362c966ea71bc2d555a2b444fe6d3897"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionTraceHookImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b116b9bf41d77e9e16ae0e5e7b4b8f4897658ecebbdb3fc1252c4ad80f178eb2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/AllocateMQSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6377a2c4f4db004b65266154e853b0bfa1a4bbbbf8ace0b698cdf63dfff246ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RequestBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"214bc70cc7e766f02f81c4e0d691b896ddeeb7422accab1da016d9d396c9364f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/RemotingClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9b26d1d3bac8b006c69ade340f640afa7173924c30d50e775eb9d9172e9bb9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/transaction/EndTransactionActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71033f65009c523ae3d15f55612376460fa1fce3acc3bd48cf03ab6a9a6ebe17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/MQPushConsumer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba98fcc7686ec51a621a37dbf12ec784c165e13827906945b0dee654d544fcf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageOpenTracingHookImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"099585275e9cae15a8c051d2807a7feb4d01912a547333306a8e1a33a6eb78b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/channel/RemoteChannel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d571180656a9105b2e6c06294ce68621c31035fbc111a4accfe4666cbde4c489"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionalMessageService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f612c7fe659818826fdbc08994fb5b2df55fd4d96be80f98771ae0729ce82c4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/subscription/CustomizedRetryPolicy.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e4cf6b53e44fbbf5836850d6349619c785614c9f910d90b02255b028a57ab1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ConsumeMessageDirectlyResultRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5845902c2abfd0919f3607c8b23793542ee3d034faf09a8c7e17afb15ca4b0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/KeyBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0eef66326ea0456f95804a1820120c6cad32d3eb1fa47c2728cb65ae77f068"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ConsumerSendMsgBackRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c36613faf0fe42f6fd36d2990bee1916f39c64c9cc6eeda81826e14decdd2a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/constant/GrpcConstants.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc97f9f89f763606e13592fb1f0cf153c36c3600d879d65d38ed99d11aaac17b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/GetTopicRouteActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1f439ea4f8a2b96b110ef763fd4c52573fc2f922505590c9c92dfd30621cef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStats.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b3a9932906b78deb30daf5648c0d9fc598b5e8518b6b91acc653aaafc81852"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/MQAdmin.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc4b2bac67e5ff852de0bf69e3f7855460cad88fd0481df569883be950c2b8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/producer/ProducerSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47373c2734eb02ab62584b6affde9f5eabf8c5004ce521ccfc5b3c6bc29f24e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/migration/v1/PlainAccessData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16388e5da886a804441768e4625fc9443147240973d7971ac6fa6d6db5a7811c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cf025e404aa91451ad0afcbcfec35af6c99c232b88a41060b2085396ebed73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksGroupCommitService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c37c84d66e885e01b6a7035baeac51dfaab2410868042970b2a57873881ac12"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/CqUnit.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44ceb01dfc026b8c5b9a2fe13e12e6b440198671ee9a072c7115cf7def23205"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a126318ec71cd4a7754cdbf300194183e186a7b3b4222af935fa8510dd0963"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8e521d0ae3f13bb4e40d710c593bed6480579f2a78f591f350e8f1fbdc5ec1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7607856ce7285be6cbb67676c29bccd213ee96098bf71f37d195c80fdaae0e5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMessageQueueConsistentHash.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c9c66f6eccf5437c864730312f7ad23f0219b4fb7e6dc9008d0f5c003647b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/hook/CheckForbiddenContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1323caa55614e7c38ddef4fa36f3f93ed4379f39601b01ac4ce23642c12587"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/protocol/http2proxy/Http2ProxyFrontendHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37367babc4d01c25d2d1db6900bc5db98f2ab3434774d939b3d7379b4625c30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/CheckTransactionStateRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cb6f9d1ab8c9a0f0b0d35cf67f9de4ca95a37bcd93aec4241df24bb1d6d8cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateNamesrvConfigCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86668189781d95364eace2070c7d16bfe98d468cf1c641cb38d383c5e7b28f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/TransactionProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdc3acd0fbfa13a9c2bae9971b86e2ec7eeaf951a87962c1bde6111a0277deb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pagecache/QueryMessageTransfer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f68990299aa39f675e600e470df35de8439cf9970a6a6cad935f5547710fe8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/connection/ProducerConnectionSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"424de1417b24ab4878ab847bc046ab25eda3b7972216c1e3163eb2e19c835ea7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/PullMessageActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f71fc1d93dba8150790b27290d62987a60de94377724a674fae2cc69b58871a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pagecache/ManyMessageTransfer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d678ba0b285e691cfd5cdf21c3fc5cfdd4c9c7ddfba2d69875f6849e74d360b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/sysflag/MessageSysFlag.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2da2abd23092b62f2c42bb69c28d07c7f11d3380ad937d7fcd2c33466471039"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultTolerance.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7292a7fc02ab5c1de2572f34536e7d3745be76661c054700f5cf724182443027"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"718331334a8dc13612eadf6502161e0a84bd6c5165cd9d8efb8b59bc7cefc1b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/compression/ZstdCompressor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4157e9a1758c972673e6f6f373ae295981220ae7f24958ad162fe691fb5f3c02"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/heartbeat/HeartbeatData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0099209992cda1961095a008fd3da4be951d132294ed8539d6ec2da64a045553"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/MessagingAccessPointImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0e4907c305b6cf53a9c55402b291846a968d22848c669484214e2c9b241754"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/AddWritePermSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f262abcc66101d61c13971167e503f82e6ef0048dba4069a7b36d8ef71905a14"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/closure/ControllerClosure.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f99324f950c1fd469a50bc3dbcd71f1a410dc6a4d9b91f578b7350b34cf7e9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/WipeWritePermSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d98f04679c9eab06de7e9cbb504264ab619b7d998665580bafb2e33f488545"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/MQHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"042732a8603815e1940fb7e4a5678ab533e3e23d2c49b2bc2633730a12732edc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/DeleteExpiredCommitLogSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab56ac36dcc32a5460ef9576589178545f682beedc937a79bad3c341525c480"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/coldctr/PIDAdaptiveColdCtrStrategy.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd311c6de67d7828052ea0428bc952ef4dc413ae96c97c61424a39cc130033b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/event/EventSerializer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1b17245e9ae30d113afddfec7b26a7af555b709c881be32c193ec61854aa45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/metrics/DefaultStoreMetricsConstant.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2d7994696e4cc84aa2c4137c05c6a05d34adda5bd91a1e8f9e204544ae1272"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/SearchOffsetRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68ae95b482791f21660a0a57169095e4c65272be4a617d1a8ddbd64b80834e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsConstant.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e19ebabb77ccfa95ba64bd4c9266cd03b370af313f2e206489aa2d246a5923"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/ClientChannelInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe899604f54fefe5cdf3a0f2e2c4e74fcf15f87b0ae0cd5eab27dda0e1867b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/TransientStorePool.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f30808139740b774ca2d7edf62bf43baca185e450ad9581380c9d89aced4e86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/AckMessageRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f9b5b7f69db4a07bbba5d43111620b7d2c6fa0c4844213bca266cde69d175b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/BrokerMetadata.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"782583cbc3a9df17e178293aa6b4c9f853573c690a749250d70fdf9ba233e2c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/expression/LogicExpression.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4d718ff7b56bfb177e79511f3f3ee95e7ea6a8483404b2c1b6317a17917594"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/controller/GetControllerMetaDataSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f189f325d4afa426032bfe00097c763cc1ae3a701023e6f9ff98517b880f4d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/attribute/AttributeParser.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fc0fe252cf6d8648057af060c5373078212b1b28566be219d9d4e1c0921494"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/pop/AckMsg.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e4179b0dde756cc38a2d5a88602cdbb332e7d616e2dc4bb66290ea3c0f7a5d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/RoleChangeNotifyEntry.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"743b5c8aa6ec68600524c03ac835e40443fb3a45ee20f84e4bed1ec0b1af561c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/GetNamesrvConfigCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0cabc2dea6e57a2103a1c951c2a05ff03f1e8f6bd62c2f3f2b453f13ed3a62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/TempBrokerMetadata.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa767a7cbc6d770726afaf7516dba23ee4c034db484cf3c7a4a549f48436e9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/MessageQueueView.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d3380aa8effbe1fb32d84d0181747a80e67ff860a89f2674be1ce6ee9ef9b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicRemappingDetailWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0897b93096fd2fce9d2abee35862b7759e8680bf5447c98700b9154ed608ce0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/domain/BytesMessageImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45ae82a318f553dca7d2ac751470e1574904088b5f353310621c2d4e77915e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/BrokerHeartbeatManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6148173e6497096406a3514d777a7e72ce9226e546ce867d8529793777c523"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/NotifyBrokerRoleChangedRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00354a932331aafc3168a9edc7f0e3c7a5e6fa439ccc7d6060fac4d29dbda85"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pagecache/OneMessageTransfer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc0492e90c426cab49021ae713a5c229acd28e61a1d953f1ef9701b1660a168"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingOne.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"898bcfb0a548e013a6c977bd296b1a5d30633dcd14fca726a9ba9b201cf87279"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionOpenTracingHookImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0817e8eaa02103a3021d3ab8eaab6506292c7eb152594822e052314ce47728"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/UpdateKvConfigCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeefda7664905041e7293cbfe0b7cec1a9676a7780973d4723216ac351fa82a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/FlushDiskWatcher.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ced75f7cf77f0d471049cc9894def930c900f6d06d828968c8a5a355c4d04e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/sysflag/PullSysFlag.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9690d73807ddc657ee47b477606d6168b5acd4872831aba86f1b4eb95463f06f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/GetMaxOffsetRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3795b50e6d6dd5e6c07e71e006bfcabb045297d3aeb69aef7abd78cf05a42e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/RequestTask.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8935b90d2f3be79e41819cd6d79ce65c0f299cad75e9fd85991667b048ff24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/AbstractProxyRelayService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8d03480878f7522bcf71b64f59d37d5d01ac232529c68c6e79f351ab6fb809"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/filter/FilterAPI.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0003e57b63c2c3eafbda13555f4c9ee33caeff1ad9c8de6f0d43d39a9853afc7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryMessageRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a784de4a0685c4ace0b2a2b73c218ac153a24e03bcfd610b57933ae8d86d735"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc32188379ad1227b5eb142ff2e130f5c5440fcb3a220670eaf0ab8d794c8afc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ConsumerConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55833157d8f2678e899a134f403b776916e671446ef1e84fadb4c05c9b488b54"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"srvutil/src/main/java/org/apache/rocketmq/srvutil/ServerUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa82c525ed75636fc34dce658e20e7645b77bf2b09eadfbd811db7d09286a60"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/ResponseWriter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60c7d5a9c43b462563536cb55bab299a7f1cb13a2b56796b3fa0954e257d726"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/register/RegisterBrokerToControllerRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fad6f6ba8f9063e95c7edac800163475b3e0eb4bf9cda39d4b941b64b81f1da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumerOffsetRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb703d214e60717aaccf338151a9c32f324a4267f4a66659d4a0e0709984527d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/utils/MessageUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e749b95278819ed1d809cb250289f4229513f0f9786dd499e86269dc3c36c3e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/UpdateConsumerOffsetRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e0e69339cc047fd0f79702be4e67e7a41e94d215df8d68c916ef18e7258b63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/GetMetaDataResponseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0eb1d94261d80a114c4a01442fb47bf958060a22a0c048714b1f805b07ce44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionPositionMgr.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"143b57b32ab95695824d698e4735657b283c079258e2bc4c939bf13c8af3c984"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/TransactionActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70387dc4fec15600701eaf5c8ef38250dbe7e87319658df2bd85ddeded2494d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ClusterInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e63385a3c32d5680fabe4599275620586d33b3e4fac79b466e288daaeb8846b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/AbstractMessagingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad6e948b24b2fff6d73d3dc49fd44b6e046ff657fe261f278349931f0765381"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/TopicConfigAndMappingSerializeWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d4bb76e4b030f7884acf49fd98b7b8d20db4574bde2fa7d21f73a56c7a8ac3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerPathConfigHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0d312095cd2d6794628828f04e6fc7dbb73701967d78f2d0cc26545f2d3518"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanExpiredCQSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b59dbc881ccb25689fd9a60c9a254f9e909407fe42541b24b79968723e8f547"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/compression/CompressionType.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aedc0c0a00624d9ad39dfe7d6174c859003703e21109396ea4970fb4439cd87"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/Stats.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82596f42d396c6060928e75582d477eff7a319f1ddc0e865f8b61f2cf9607848"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/FileRegionEncoder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"562e3a9f2f41e4cf954d5d21ee2ef6caf80d8117e7b3c6f93833494d5cfcdd00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/logging/JoranConfiguratorExt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e133d37cd7d8616bb10e1a99b742a0e63394282cb9ea01edc967de230a95fbe9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/channel/RemoteChannelSerializer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b6d82fa55b3a66f8fcd8bfa0e80b5515fca62883966753d196fce5f8d45c88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/AlterSyncStateSetRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0ba37bd0c045cf4299a1e398614488e8357961bc738724eb88880386851525"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/CleanUnusedTopicCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3a887546dbd1f6561f4bc1bfb1204a3d7ee6a9403214b22a3811b45da10975"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/io/AbstractHAReader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed628fd24b39f39cd6ce7ce62a249f9cd88f4e9950508d571730dabc75e9c85a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ElectMasterResponseBody.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c24a6388898952ee4dda81d4e38e91d8c457c7f4d8275d26c24d67f7dd58140"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/hook/ConsumeMessageContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d606a9eaeabc9366ddcf8f60ce6c4ca29f34fcf76914e8e23bf971a7410353dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/JraftConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff49e2c43f306d3f4272d2613cb35c19fa4e1ec16f565f37f3aaf38d9a28d8ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1ce6edbcd9912f1693a68dad5cb25f2b6e899736a6082711886fa938a1cf0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/register/ApplyBrokerIdRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"220915f3b449e48aed1227981de3730737cba9bcdc8973f70d8fbfddc3555aed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/subscription/GroupRetryPolicy.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02b0902d075dff2c10ec73e5a27ac8db1d61554bac368e014ef8c9f6633b651"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/LmqPullRequestHoldService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d5abb8942def0aa26b014f2e7d5152a23d2adc766159a8c754fe10769b6e9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/heartbeat/ConsumerData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b75e7ce39aa7d222317a0f49a3062befa42b8ae6986179b109b3595c11583f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/RemotingServer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87548024938e752e68c1bfda5e1cdedd20ec2d3d5cb5826c08c1bd8b66f05f8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/protocol/remoting/RemotingProtocolHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5bd863107ff9b1eb174aa3bed0e32859a1f91b403d0f615fb1c9055aba47e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/attribute/TopicMessageType.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb9244a1246b6c6e7b30dcae57129fc5af36756081da6d1dbc81cf697c26758"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/NotifyMessageArrivingListener.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deddb5c41d80d9769961e91ab7677e96c044ff59d5bfd43a89e8a5595ef908f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/MultiDispatchUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd5d549404bf754659556ecccc837534d43b8daf87510feea77ae61a8f1e7a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/subscription/SimpleSubscriptionData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e60d0df04e05a6d4f65d2280618c794b2b373dbb0a209368f5aae4e00641ec3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/CloneGroupOffsetRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6244bcf16dbae3ce275cda93c77d7a1f9ec030099b01f420071e4e0851608a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/FileQueueSnapshot.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06a2a6acfb0246cf0bc66e8a446470d12ea94c4d996652ed3cee03971082cf0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionalMessageCheckService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f616e42419009f3a603149d262baa74a85c4f2d6339823c9f67565be8ff695"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/PutMessageResult.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c67c7ef6107a0f0f88b9817182c604b5a5fd2c3f125f04a867602a2b93a2ff8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItem.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de1aff9e2d2105f770526e04d5a7a1235232594ddd5fcf47280cfaab7478da4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/common/Address.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"303543622bbf57c9ad0c593922e1fb93d8023b3eeb3c716a78b3b5a2e3936388"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/manager/SyncStateInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b69f23ff2322c4fc028f3132bee96cfa3c3a39e1743f7e4ef35b1a6df7d56b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/TopicAttributes.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaf4f1c2c2e9892efa5d10f7efcc4dbdfdda1bf66fd59284c17686a8a8c6466"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ResetOffsetRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d195480dc29c803c353065beb51f41c85ccd1da86495987f4303b2ad593b7f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/ElectMasterResponseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c157796989c9ee4835ff95f6f85fdcd9b93ba582d9e959d818d72ed00604f0ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/TopicRouteWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa541720c51578edd594218b7ee1706b6ea17f6322d7a4e6904bfda0b4dc182c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/EpochEntry.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d409ad537ee233cf7f344d7a76e61c12673252ae60e1f6d8090fe36ea6f145e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/CheckTransactionStateResponseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ba2537d2f084282d830e0e0a77d94a69c387569b8abd80ed726d265a0040c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/register/RegisterBrokerToControllerResponseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b581911d6ec669fe4ac53387e5ded8610a1a3041489e424a0af6999aa1e8b315"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PopProcessQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cfc83cbb090757e0b04c8b520f026e0be557393d2151478b5bb522b5ff0c3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PopMessageResponseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"add0a13e5dbbbc474e70f2e45dd7c6b2d7393317588cfaab64c33a79a1713dd9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/EpochEntryCache.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b479a0a6d0e3f24ecaf9a456bcf2b7afeadd2accc24f8621cf455ea846557791"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"srvutil/src/main/java/org/apache/rocketmq/srvutil/ShutdownHookThread.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"995dcd2c1771af5d5e577973a2858e22e6d5cfcfd8019ff935ff776dfbc40ab5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/namesrv/DeleteKvConfigCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f712737b0f5e2a477b6587ff971948921c40dbc73e8486cf2eca42d6ea4dc289"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/common/ServiceThread.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f37c541e648be3b9f85963027a92d31b933f93112b880cca22f432514626ed1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ThreadFactoryImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94644bd92f4994d160a7f8a3ce87209c7a2b9347302f39954a67cfc89827b304"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/GetConsumerRunningInfoRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc7f86fb850fd220d260f718e07f80e5dd08ccde4d371c570a029afc16d8453"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMessageQueueByMachineRoom.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d468ae484e0c1262918fe9122a8dfb989ba7c9264535dc158f229727b43f179f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/protocol/http2proxy/Http2ProxyBackendHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"782726c41ad960c4bc3ec93b6aa38d595a391180613f48a59d4f0f22b283acce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalOpBatchService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1783ee7d303a34e38819c21823bcb44cafe7f50bfacf9a364ff96d6b49e5fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageQueueAssignment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ace0a51a086d4be1d46028872ce43a8a5a4632914c724ca5e19d9d0a03881d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38948e5983ecd6fd2302a966208da00a9f75e7d345dcf610dd96f0658b6feddd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/OffsetStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d501e752f7aaaf7f110ac59905f4dbaee2d66c8f556b4096265465733496e354"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/UnRegisterBrokerRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30db45e1c2158b9e724dbdd8eef58ffb521ff5b1370a69380bf32c8cd45fef1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ProducerInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2361f9c533ef5bc472d8004508895ee001efbcd4d14761681b3168bd1e127c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcProxyException.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fba83d7313c9fe77c3415e981696a73fdd95e00a90face907d8574e01f939f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/LocalMetadataService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7904a947b078723df7b0c049b9846e24538672be8103b3a525c620298ea4065c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/GetConsumerStatusRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71780500e864dd7cefdbc193e813bbb2880f4f0d3ad7df23064fc398812da5f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ConsumeQueueData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a504040c81cb3d24357c6978a2ecc6d2b93d7adbec1ef7a89a23f8429c072c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PullRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b194ca47e01633f86a2ed4fb110e875bbacf7d730588b7093745ff137e55e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/AbstractStartAndShutdown.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e213ec2c116229ff50539eb937dfb7561d89913d3ca3496a29dbda8f9e76643"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/plugin/MessageStorePluginContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d10adf7452681c1d8f1abfc22241575dd4ac71e885a6c5961d866e40f0f3cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/constant/PermName.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd17128225c6c3f5f6049d4032e75dd6594f028a1882723adb89d027aefd93c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/ConcurrentHashMapUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da25a377e17aab4479c3a4a6e669d6f1ff33a079bea1cc30b65b9f70eb7f94e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/acl/common/AclClientRPCHook.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b616b3e32052baaa1278bedcb9a22bd38b9ccc77577737860722ef14d0131cf7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicConfigAndQueueMapping.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6621b7ae15711bf2340ca7e1c3d843be168ead80e5ef0016a7e08ee791cbdd7c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicClusterSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a15ffe7137f682a246987de04bfbef0d46100e8270ffc4b9c126d1ca8e2a5d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/hook/EndTransactionContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc51a7f1c8e0bcbf276f2ea0110078d8b2c17d24a6a5cdd776d6894284241aa8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/FileSegmentProvider.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19b670de35d1f5d72f2abe4ba4cf47c4fb1700473b795343d6b57a36132d86f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/task/BrokerCloseChannelRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ecd1eb7e02effd2dd6c360e4028566c390f9ee2c0dd08c4e59203c82d311ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/event/ControllerResult.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d309385ef1fb306d7287c4f06f8ecf16ff0ef8009a192cd294b679fb1cca5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/QueueTimeSpan.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"344d62cf48b1618476ff2124647e6d0aff3a6b636185b2c226528bc9a87fb2d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyDecoder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8b7452e551eab5d0bb454a69ffe406e8f06337b350c23101d934980d171cc3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/QueryDataVersionRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70587ef39f64e51b1cfbd5915e6309d842408dc6c4eccdab976bf981a6093f5a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ClusterTopicRouteService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb65377350d73bf70cffc42a5c1a1e87f35e822680fe30b31cfda3440fcc442"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/register/GetNextBrokerIdResponseHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"326bb40a0bf126f3b1e89195ff2156f2bc6040bd1eb8f0086ebb01f4f2986a86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/DecodeMessageIdCommond.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04427600829eadc3a7ce19df860ca311795b7a7cb627a9b2a9b49b597bee5507"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/TraceConstants.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b210c06d75b266f46d422e6688f052867a7d06ecb226dae97cc3fea0a97e4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumeQueueRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b3ea2141b82a352848074a4f8f1df75f885e604948e54e0e2223c32be34391"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/controller/register/GetNextBrokerIdRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f211640653e08c73e0be0a721832783062f28a752ff9d7e18d848048827ad6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ReferenceResource.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a800bc3a5b0bd7652d1108f3cf4c93606bd2592002bde916f864554aedf690"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/FileQueueLifeCycle.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6c0acbaa1699ca1af4c370fec9698e27a848344fc17c234bb041d1adf0468b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/event/ApplyBrokerIdEvent.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8a5cc5cb970a93ffb5439d70c6907da29dcdb7dbf6278f86ec401c85c11c14"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryCorrectionOffsetHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1095f1ae827c09bb563c6bc9531cbb179cc8aa80f25b65c3414c77fdef75dba9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/task/GetBrokerLiveInfoRequest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57909fcd2d36fb35ca3840f4ba3b0b282c52f957a2041190cd15db72010c2bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/QueryMessageResult.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a94e8aa029074d2891e20bfc8cc9180388e0625b3d53f49ad9fc442f284f58"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/SelectMappedBufferResult.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8409e9443349a42359851bb036f173b6d5fccd51420b3e5c4981fc138d56946"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/filter/impl/Operator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb4a1a26d65a03b5069b03c87edbab02875e26a41d7be48de038de86db38700"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: MQClientAPIImpl.java \u2194 MQAdminExt.java: \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java\u0060 (context main) and \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminExt.java\u0060 (context tools) sit in DIFFERENT parts of the tree yet change together 50% of the time (71 of the 142 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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. You can check this without leaving the row: of the 71 shared commits counted here, the most recent 3 are \u00607cb1b1ee\u0060 [ISSUE #9467] Implement paged retrieval of Topic and SubscriptionGrou\u2026; \u0060b30afe81\u0060 [ISSUE #9111] Support export broker RocksDB Config to json file (#9114); \u00600b247685\u0060 [ISSUE #8822] Double write cq, reduce unnecessary switches (#8823) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"058ca906f179bfe0329eb459727dbe99ba3dc6030bca7f6e6bd377edd088a660"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: QueueLevelConsumerManager.java \u2194 PopMessageProcessor.java: \u0060broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java\u0060 change together 75% of the time (9 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060bca63932\u0060 [ISSUE #9891] Optimize pop orderly implementation to facilitate expan\u2026; \u0060449536be\u0060 Revert \u0022[ISSUE# 9333] Use fastjson2 in broker module (#9334)\u0022 (#9387) (at that commit the file was still \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOrderInfoManager.java\u0060); \u0060b1daa3c0\u0060 [ISSUE# 9333] Use fastjson2 in broker module (#9334) (at that commit the file was still \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOrderInfoManager.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8352bfbf3698f9c47414378281b192ece9081c179eb74e825e1b3f9ba8729f8e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CommitLog.java \u2194 StoreCheckpoint.java: \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java\u0060 change together 72% of the time (13 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060628230d2\u0060 [ISSUE #10011] Optimize accelerated recovery process and refactor cod\u2026; \u006073e8fdbd\u0060 [ISSUE #9699] Optimize shutdown process and resource management (#9700); \u0060b410557e\u0060 [ISSUE #6609] Fix the issue that consume queue building exceeds confi\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cff660189ab6bcbb7bf499695d24521d5efd1c0e5fce3300b42c399c34f088"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DefaultMessageStore.java \u2194 AbstractPluginMessageStore.java: \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/plugin/AbstractPluginMessageStore.java\u0060 change together 68% of the time (23 of the 34 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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. You can check this without leaving the row: of the 23 shared commits counted here, the most recent 3 are \u0060d197028f\u0060 refactor: abstract StoreMetricsManager interface to support non-Defau\u2026; \u00608639dcc4\u0060 [ISSUE #9254] Optimize the logs of the message store (#9528); \u00609aa081b8\u0060 [ISSUE #8988] Support dispatchBehindMilliseconds (#8989) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbae71ffa915ffbc82d9b4f24f3a4ad149a4525c5cb856dede36abf8c934b807"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ConsumeQueue.java \u2194 BatchConsumeQueue.java: \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java\u0060 change together 65% of the time (11 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060628230d2\u0060 [ISSUE #10011] Optimize accelerated recovery process and refactor cod\u2026; \u006026480ddc\u0060 [ISSUE #10073] Fix StoreCheckpoint logicsMsgTimestamp to reflect flus\u2026; \u00607583fda1\u0060 fix(store): close all consume queue file handles on ConsumeQueueStore\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d990f39bb8344d35844dddcb4756f4022d555216b8a4c552d0bf6cfdb239c6d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ChangeInvisibleTimeProcessor.java \u2192 AckMessageProcessor.java, PopBufferMergeService.java, PopReviveService.java: \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java\u0060 changes together with 3 other files \u2014 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java\u0060, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java\u0060, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"759f8bc2302dbbc3f5198902206e1ac7431e6eb07a87b93d1b0ffba41c668ccf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ClusterMessageService.java \u2192 DefaultMessagingProcessor.java, MessagingProcessor.java, LocalMessageService.java: \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/message/ClusterMessageService.java\u0060 changes together with 3 other files \u2014 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/processor/DefaultMessagingProcessor.java\u0060, \u0060proxy/src/main/java/org/apache/rocketmq/proxy/processor/MessagingProcessor.java\u0060, \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/ClusterMessageService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e89e45f2fedb23b6cc1ee7f895e3cc9edd0cc3c31217a764c68865e32c140d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: QueueLevelConsumerManager.java \u2194 AckMessageProcessor.java: \u0060broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060bca63932\u0060 [ISSUE #9891] Optimize pop orderly implementation to facilitate expan\u2026; \u0060449536be\u0060 Revert \u0022[ISSUE# 9333] Use fastjson2 in broker module (#9334)\u0022 (#9387) (at that commit the file was still \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOrderInfoManager.java\u0060); \u0060b1daa3c0\u0060 [ISSUE# 9333] Use fastjson2 in broker module (#9334) (at that commit the file was still \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOrderInfoManager.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/orderly/QueueLevelConsumerManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7f37059f7038eeb7a156cb2d5865c2ae25aef399191d2436ce534d3bd8fe60"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NotificationProcessor.java \u2194 PopMessageProcessor.java: \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java\u0060 change together 56% of the time (10 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00605892de6d\u0060 [ISSUE #9862] [Bug] Fix the issue of missing bornTime in POP requests\u2026; \u006073e8fdbd\u0060 [ISSUE #9699] Optimize shutdown process and resource management (#9700); \u006023cc24cc\u0060 [ISSUE #8947] Notify pop request before calculate consumer lag (#8949) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d62d3330ab7fe3d7d760cf1d6a1e2684c049e7b1bbf653d422a1a5e2021cfd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StoreCheckpoint.java \u2194 IndexService.java: \u0060store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/index/IndexService.java\u0060 change together 56% of the time (10 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060628230d2\u0060 [ISSUE #10011] Optimize accelerated recovery process and refactor cod\u2026; \u0060246be9eb\u0060 ROCKETMQ-6: Use logger for exceptions instead of e.printStackTrace().; \u0060998b246d\u0060 #276 \u4E3A\u6BCF\u65E5\u6D88\u606F\u589E\u52A0\u7EDF\u8BA1\u3002 (at that commit the files were still \u0060rocketmq-store/src/main/java/com/alibaba/rocketmq/store/StoreCheckpoint.java\u0060 and \u0060rocketmq-store/src/main/java/com/alibaba/rocketmq/store/index/IndexService.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5589c7c1a49c535feeb092a7c325883c85c960e08030d4ac6be037fbbf1f6d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LocalFileOffsetStore.java \u2194 RemoteBrokerOffsetStore.java: \u0060client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java\u0060 change together 51% of the time (23 of the 45 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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. You can check this without leaving the row: of the 23 shared commits counted here, the most recent 3 are \u0060a376fbcd\u0060 [ISSUE #7634] Introduce controllableOffset to prevent unnecessary sus\u2026; \u0060455ac6d5\u0060 [ISSUE #4327] Init collection size (#4214); \u006056f12fd8\u0060 new interface in DefaultMQPullConsumerImpl : CommitOffsetToBroker.  #159 (at that commit the files were still \u0060rocketmq-client/src/main/java/com/alibaba/rocketmq/client/consumer/store/LocalFileOffsetStore.java\u0060 and \u0060rocketmq-client/src/main/java/com/alibaba/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a6a7cebb3c968ffb10630be886b3f60f450afd9361e3482b3039c6532b7594"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ConsumerProgressSubCommand.java \u2194 TopicStatusSubCommand.java: \u0060tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerProgressSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicStatusSubCommand.java\u0060 change together 50% of the time (11 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060e5e38396\u0060 [ISSUE #8591] Preliminary support for key commands of LMQ (#8590); \u0060998b246d\u0060 #276 \u4E3A\u6BCF\u65E5\u6D88\u606F\u589E\u52A0\u7EDF\u8BA1\u3002 (at that commit the files were still \u0060rocketmq-tools/src/main/java/com/alibaba/rocketmq/tools/command/consumer/ConsumerProgressSubCommand.java\u0060 and \u0060rocketmq-tools/src/main/java/com/alibaba/rocketmq/tools/command/topic/TopicStatsSubCommand.java\u0060); \u00605a80b123\u0060 #276 \u4E3A\u6BCF\u65E5\u6D88\u606F\u589E\u52A0\u7EDF\u8BA1\u3002 (at that commit the files were still \u0060rocketmq-tools/src/main/java/com/alibaba/rocketmq/tools/command/consumer/ConsumerProgressSubCommand.java\u0060 and \u0060rocketmq-tools/src/main/java/com/alibaba/rocketmq/tools/command/topic/TopicStatsSubCommand.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerProgressSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a130e05d7e4f9e0f0605aadf956a91b8ec3f6dcde6edf544ef8902c5ae701072"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DefaultMQPushConsumer.java \u2194 ConsumeMessageService.java: \u0060client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageService.java\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006080459554\u0060 [ISSUE #11089] Share consumption executors for Proxy internal clients\u2026; \u00602c49e6b1\u0060 [ISSUE #2085]support graceful shutdown push consumer (#2084); \u00600d04d3b8\u0060 \u6839\u636E\u6D88\u606F\u5806\u79EF\u6570\u91CF\uFF0C\u52A8\u6001\u8C03\u6574\u6D88\u8D39\u7EBF\u7A0B\u6C60\u6570\u91CF (at that commit the files were still \u0060rocketmq-client/src/main/java/com/alibaba/rocketmq/client/consumer/DefaultMQPushConsumer.java\u0060 and \u0060rocketmq-client/src/main/java/com/alibaba/rocketmq/client/impl/consumer/ConsumeMessageService.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63af82f6e1692ba6ee6a01ca05ef0ecaf262c5e743f2dd8a17c661a13549c54"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContextVariable.java \u2194 GrpcMessagingApplication.java: \u0060proxy/src/main/java/org/apache/rocketmq/proxy/common/ContextVariable.java\u0060 and \u0060proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.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 \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006004eec349\u0060 Get namespace from header (#7782); \u0060d2b818d9\u0060 Revert \u0022[ISSUE #7707] Refector Context with link node implementation \u2026; \u00603f99b1e9\u0060 [ISSUE #7707] Refector Context with link node implementation (#7708) (at that commit the file was still \u0060proxy/src/main/java/org/apache/rocketmq/proxy/common/context/ContextVariable.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/common/ContextVariable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55808ff4a389bbc4c070e71d85d6633075d26cea03c97241f1013c97f83c333"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ControllerConfig.java \u2194 NamesrvConfig.java: \u0060common/src/main/java/org/apache/rocketmq/common/ControllerConfig.java\u0060 and \u0060common/src/main/java/org/apache/rocketmq/common/namesrv/NamesrvConfig.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 \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060f4e2a4a0\u0060 [ISSUE #9335] Use MixAll.ROCKETMQ_HOME_DIR for home directory (#9474); \u0060a194e1eb\u0060 Add set method for config black list. (#7586); \u00609cfe724e\u0060 Add validation in broker/namesrv configure updating command (#7584) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ControllerConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0350a3678ce34dd8db7ae587408aaaf0aec654697888030cc301123df9e7b3ee"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BrokerConfig.java \u2194 ControllerConfig.java: \u0060common/src/main/java/org/apache/rocketmq/common/BrokerConfig.java\u0060 and \u0060common/src/main/java/org/apache/rocketmq/common/ControllerConfig.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 \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). 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. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060f4e2a4a0\u0060 [ISSUE #9335] Use MixAll.ROCKETMQ_HOME_DIR for home directory (#9474); \u0060a194e1eb\u0060 Add set method for config black list. (#7586); \u00609cfe724e\u0060 Add validation in broker/namesrv configure updating command (#7584) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/BrokerConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae546feeee19c101f02b4759ca71564acd34e9303319a7ebb9f6d5bb0f9ebca6"}},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"9b5d6ae7d535aa1d1f221880e5fe0e9f3cdce4af99bd942b7e2444a7a0a013e0"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"752071c13dddee2b83dc14a57a220236516d48414fcac4ac251987bd36599982"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"fd91ef87bc020b6d466b628cdd51570fd194f47b08ab7c4c0289ea56aad60ab8"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"77f47028bfad81e7d0202837b0934bfaf0daf0ad6528b71943d6f0f99fb99b78"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"4533fb8afa191296cfaf589a9e62508a2b09c7af2eb43405c86ba68f03476173"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"7c7bbf02338557dd1b348df5ec82daf968488836c5c1032c0d7a736751a44f4a"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e8dbf902a5cac2d05c2371fd0226c1b55a9146ee7633404611aee0afd02db68b"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"877f562fe8d2d4060d88123780a7636de4f2dc029fe6bef5c5281e0c2e68133f"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: LitePullConsumer (31 abstract methods): \u0060LitePullConsumer\u0060 declares 31 abstract methods: \u0060assign\u0060, \u0060assignment\u0060, \u0060buildSubscriptionsForHeartbeat\u0060, \u0060commit\u0060, \u0060commit\u0060, \u0060commit\u0060, \u0060commitSync\u0060, \u0060commitSync\u0060, \u0060committed\u0060, \u0060fetchMessageQueues\u0060, \u0060isAutoCommit\u0060, \u0060isRunning\u0060, \u0060offsetForTimestamp\u0060, \u0060pause\u0060, \u0060poll\u0060, \u0060poll\u0060, \u0060registerTopicMessageQueueChangeListener\u0060, \u0060resume\u0060, \u0060seek\u0060, \u0060seekToBegin\u0060, \u0060seekToEnd\u0060, \u0060setAutoCommit\u0060, \u0060setSubExpressionForAssign\u0060, \u0060shutdown\u0060, \u0060start\u0060, \u0060subscribe\u0060, \u0060subscribe\u0060, \u0060subscribe\u0060, \u0060subscribe\u0060, \u0060unsubscribe\u0060, \u0060updateNameServerAddress\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 31 declarations carry 24 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 24 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/LitePullConsumer.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca0522774fdc87d13f880c0a216e3525d98f81293c32055499d44edb782a46d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MQPullConsumer (20 abstract methods): \u0060MQPullConsumer\u0060 declares 20 abstract methods under just 10 distinct name(s): \u0060fetchConsumeOffset\u0060, \u0060fetchMessageQueuesInBalance\u0060, \u0060pull\u0060, \u0060pull\u0060, \u0060pull\u0060, \u0060pull\u0060, \u0060pull\u0060, \u0060pull\u0060, \u0060pull\u0060, \u0060pull\u0060, \u0060pull\u0060, \u0060pullBlockIfNotFound\u0060, \u0060pullBlockIfNotFound\u0060, \u0060pullBlockIfNotFoundWithMessageSelector\u0060, \u0060pullBlockIfNotFoundWithMessageSelector\u0060, \u0060registerMessageQueueListener\u0060, \u0060sendMessageBack\u0060, \u0060shutdown\u0060, \u0060start\u0060, \u0060updateConsumeOffset\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 20 separate responsibilities: a caller binds to 10 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 20 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/MQPullConsumer.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca93058dfa6177e87ffe29b3932cb23de94dea2b30ac5a4c123251e4289aca01"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MQProducer (34 abstract methods): \u0060MQProducer\u0060 declares 34 abstract methods under just 8 distinct name(s): \u0060fetchPublishMessageQueues\u0060, \u0060recallMessage\u0060, \u0060request\u0060, \u0060request\u0060, \u0060request\u0060, \u0060request\u0060, \u0060request\u0060, \u0060request\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060send\u0060, \u0060sendMessageInTransaction\u0060, \u0060sendOneway\u0060, \u0060sendOneway\u0060, \u0060sendOneway\u0060, \u0060shutdown\u0060, \u0060start\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 34 separate responsibilities: a caller binds to 8 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 34 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/MQProducer.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05d975abd009e9a0c35634351ce74dc3fb9ec969df7351d4a63861e978616f4"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MqClientAdmin (19 abstract methods): \u0060MqClientAdmin\u0060 declares 19 abstract methods: \u0060consumeMessageDirectly\u0060, \u0060deleteKvConfig\u0060, \u0060deleteSubscriptionGroup\u0060, \u0060deleteTopicInBroker\u0060, \u0060deleteTopicInNameserver\u0060, \u0060getBrokerClusterInfo\u0060, \u0060getConsumeStats\u0060, \u0060getConsumerConnectionList\u0060, \u0060getConsumerRunningInfo\u0060, \u0060getTopicStatsInfo\u0060, \u0060invokeBrokerToResetOffset\u0060, \u0060queryConsumeTimeSpan\u0060, \u0060queryMessage\u0060, \u0060querySubscriptionByConsumer\u0060, \u0060queryTopicConsumeByWho\u0060, \u0060queryTopicsByConsumer\u0060, \u0060updateOrCreateSubscriptionGroup\u0060, \u0060updateOrCreateTopic\u0060, \u0060viewMessage\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/MqClientAdmin.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3eb1061797f86cb4d0a6c5f8948848689052520042473a2828965c6fdd64c4f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Controller (16 abstract methods): \u0060Controller\u0060 declares 16 abstract methods: \u0060alterSyncStateSet\u0060, \u0060applyBrokerId\u0060, \u0060cleanBrokerData\u0060, \u0060electMaster\u0060, \u0060getControllerMetadata\u0060, \u0060getNextBrokerId\u0060, \u0060getRemotingServer\u0060, \u0060getReplicaInfo\u0060, \u0060getSyncStateData\u0060, \u0060isLeaderState\u0060, \u0060registerBroker\u0060, \u0060registerBrokerLifecycleListener\u0060, \u0060shutdown\u0060, \u0060startScheduling\u0060, \u0060startup\u0060, \u0060stopScheduling\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/Controller.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a19ad2d1b375bd4b46ffa3b338c5f37b4df218a4a3ab69d9b5fdcc23ae45974"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessagingProcessor (39 abstract methods): \u0060MessagingProcessor\u0060 declares 39 abstract methods: \u0060ackMessage\u0060, \u0060ackMessage\u0060, \u0060addReceiptHandle\u0060, \u0060addTransactionSubscription\u0060, \u0060batchAckMessage\u0060, \u0060changeInvisibleTime\u0060, \u0060doChannelCloseEvent\u0060, \u0060endTransaction\u0060, \u0060findConsumerChannel\u0060, \u0060findProducerChannel\u0060, \u0060forwardMessageToDeadLetterQueue\u0060, \u0060forwardMessageToDeadLetterQueue\u0060, \u0060getConsumerGroupInfo\u0060, \u0060getMaxOffset\u0060, \u0060getMetadataService\u0060, \u0060getMinOffset\u0060, \u0060getProxyRelayService\u0060, \u0060getSubscriptionGroupConfig\u0060, \u0060getTopicRouteDataForProxy\u0060, \u0060getUnackedMessageCount\u0060, \u0060lockBatchMQ\u0060, \u0060popMessage\u0060, \u0060pullMessage\u0060, \u0060queryConsumerOffset\u0060, \u0060recallMessage\u0060, \u0060registerConsumer\u0060, \u0060registerConsumerListener\u0060, \u0060registerProducer\u0060, \u0060registerProducerListener\u0060, \u0060removeReceiptHandle\u0060, \u0060request\u0060, \u0060requestOneway\u0060, \u0060sendMessage\u0060, \u0060syncLiteSubscription\u0060, \u0060unRegisterConsumer\u0060, \u0060unRegisterProducer\u0060, \u0060unlockBatchMQ\u0060, \u0060updateConsumerOffset\u0060, \u0060updateConsumerOffsetAsync\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 39 declarations carry 37 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 37 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/MessagingProcessor.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dff82fca4bf08404f180d2d32cbcfcecee4563ce5017dda2c3ef6d41bb45478"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AdminService (19 abstract methods): \u0060AdminService\u0060 declares 19 abstract methods: \u0060createTopicOnBroker\u0060, \u0060createTopicOnTopicBrokerIfNotExist\u0060, \u0060deleteSubscriptionGroup\u0060, \u0060getBrokerClusterInfo\u0060, \u0060getConsumeStats\u0060, \u0060getConsumerConnectionList\u0060, \u0060getSubscriptionGroupConfig\u0060, \u0060getTopicConfig\u0060, \u0060getTopicRouteData\u0060, \u0060getTopicStats\u0060, \u0060queryConsumeTimeSpan\u0060, \u0060queryMessage\u0060, \u0060queryTopicConsumeByWho\u0060, \u0060queryTopicsByConsumer\u0060, \u0060resetOffset\u0060, \u0060searchOffsetByTimestamp\u0060, \u0060topicExist\u0060, \u0060updateSubscriptionGroupConfig\u0060, \u0060viewMessage\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/admin/AdminService.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"548090304e61b1f6e6bb340595ff9cb6d2920ffa2899f90b9d0c3b3ad44df08a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessageService (19 abstract methods): \u0060MessageService\u0060 declares 19 abstract methods: \u0060ackMessage\u0060, \u0060batchAckMessage\u0060, \u0060changeInvisibleTime\u0060, \u0060endTransactionOneway\u0060, \u0060getMaxOffset\u0060, \u0060getMinOffset\u0060, \u0060lockBatchMQ\u0060, \u0060popLiteMessage\u0060, \u0060popMessage\u0060, \u0060pullMessage\u0060, \u0060queryConsumerOffset\u0060, \u0060recallMessage\u0060, \u0060request\u0060, \u0060requestOneway\u0060, \u0060sendMessage\u0060, \u0060sendMessageBack\u0060, \u0060unlockBatchMQ\u0060, \u0060updateConsumerOffset\u0060, \u0060updateConsumerOffsetAsync\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/message/MessageService.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d3896c7e8aa888b7dabd4607adf1efb6c912dae69a3fa1bb397a4a68a18e08"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MappedFile (50 abstract methods): \u0060MappedFile\u0060 declares 50 abstract methods: \u0060appendMessage\u0060, \u0060appendMessage\u0060, \u0060appendMessage\u0060, \u0060appendMessage\u0060, \u0060appendMessage\u0060, \u0060appendMessageUsingFileChannel\u0060, \u0060appendMessages\u0060, \u0060cleanResources\u0060, \u0060cleanSwapedMap\u0060, \u0060commit\u0060, \u0060destroy\u0060, \u0060flush\u0060, \u0060getData\u0060, \u0060getFile\u0060, \u0060getFileChannel\u0060, \u0060getFileFromOffset\u0060, \u0060getFileName\u0060, \u0060getFileSize\u0060, \u0060getFlushedPosition\u0060, \u0060getLastFlushTime\u0060, \u0060getLastModifiedTimestamp\u0060, \u0060getMappedByteBuffer\u0060, \u0060getMappedByteBufferAccessCountSinceLastSwap\u0060, \u0060getReadPosition\u0060, \u0060getRecentSwapMapTime\u0060, \u0060getStoreTimestamp\u0060, \u0060getWrotePosition\u0060, \u0060hold\u0060, \u0060init\u0060, \u0060isAvailable\u0060, \u0060isFirstCreateInQueue\u0060, \u0060isFull\u0060, \u0060isLoaded\u0060, \u0060iterator\u0060, \u0060mlock\u0060, \u0060moveToParent\u0060, \u0060munlock\u0060, \u0060release\u0060, \u0060renameTo\u0060, \u0060renameToDelete\u0060, and 10 more. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 50 declarations carry 45 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 45 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/MappedFile.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b287226af693a28b6659482e827b4c13259bea6cd30898e63131e29b361984"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ConsumeQueueInterface (26 abstract methods): \u0060ConsumeQueueInterface\u0060 declares 26 abstract methods: \u0060assignQueueOffset\u0060, \u0060correctMinOffset\u0060, \u0060estimateMessageCount\u0060, \u0060get\u0060, \u0060getCQType\u0060, \u0060getCqUnitAndStoreTime\u0060, \u0060getEarliestUnit\u0060, \u0060getEarliestUnitAndStoreTime\u0060, \u0060getLastOffset\u0060, \u0060getLatestUnit\u0060, \u0060getMaxOffsetInQueue\u0060, \u0060getMaxPhysicOffset\u0060, \u0060getMessageTotalInQueue\u0060, \u0060getMinLogicOffset\u0060, \u0060getMinOffsetInQueue\u0060, \u0060getOffsetInQueueByTime\u0060, \u0060getOffsetInQueueByTime\u0060, \u0060getQueueId\u0060, \u0060getTopic\u0060, \u0060getTotalSize\u0060, \u0060getUnitSize\u0060, \u0060increaseQueueOffset\u0060, \u0060initializeWithOffset\u0060, \u0060iterateFrom\u0060, \u0060iterateFrom\u0060, \u0060putMessagePositionInfoWrapper\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 26 declarations carry 24 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 24 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueInterface.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0008fc91b11119fe3ae3349375ec7a5a46be9eb6f95f8c0bf9d4385d15cbad"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ConsumeQueueStoreInterface (25 abstract methods): \u0060ConsumeQueueStoreInterface\u0060 declares 25 abstract methods: \u0060assignQueueOffset\u0060, \u0060checkSelf\u0060, \u0060cleanExpired\u0060, \u0060deleteTopic\u0060, \u0060destroy\u0060, \u0060findOrCreateConsumeQueue\u0060, \u0060flush\u0060, \u0060getConsumeQueue\u0060, \u0060getConsumeQueueTable\u0060, \u0060getLmqNum\u0060, \u0060getLmqQueueOffset\u0060, \u0060getMaxOffset\u0060, \u0060getMinOffsetInQueue\u0060, \u0060getOffsetInQueueByTime\u0060, \u0060getTotalSize\u0060, \u0060increaseLmqOffset\u0060, \u0060increaseQueueOffset\u0060, \u0060isLmqExist\u0060, \u0060load\u0060, \u0060putMessagePositionInfoWrapper\u0060, \u0060recover\u0060, \u0060recoverOffsetTable\u0060, \u0060shutdown\u0060, \u0060start\u0060, \u0060truncateDirty\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStoreInterface.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31a902d4096df592538d1ff453cbebaf614875a4d526bc1df8d3116274a3915"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessageStore (124 abstract methods): \u0060MessageStore\u0060 declares 124 abstract methods: \u0060addDispatcher\u0060, \u0060appendToCommitLog\u0060, \u0060assignOffset\u0060, \u0060calcDeltaChecksum\u0060, \u0060checkInDiskByConsumeOffset\u0060, \u0060checkInMemByConsumeOffset\u0060, \u0060checkInStoreByConsumeOffset\u0060, \u0060checkMessageAndReturnSize\u0060, \u0060cleanExpiredConsumerQueue\u0060, \u0060cleanUnusedTopic\u0060, \u0060deleteTopics\u0060, \u0060destroy\u0060, \u0060dispatchBehindBytes\u0060, \u0060dispatchBehindMilliseconds\u0060, \u0060estimateMessageCount\u0060, \u0060executeDeleteFilesManually\u0060, \u0060findConsumeQueue\u0060, \u0060flush\u0060, \u0060flushBehindBytes\u0060, \u0060getAliveReplicaNumInGroup\u0060, \u0060getAllocateMappedFileService\u0060, \u0060getBrokerInitMaxOffset\u0060, \u0060getBrokerStatsManager\u0060, \u0060getBulkCommitLogData\u0060, \u0060getCommitLog\u0060, \u0060getCommitLogData\u0060, \u0060getCommitLogOffsetInQueue\u0060, \u0060getConfirmOffset\u0060, \u0060getConsumeQueue\u0060, \u0060getData\u0060, \u0060getDispatcherList\u0060, \u0060getEarliestMessageTime\u0060, \u0060getEarliestMessageTime\u0060, \u0060getEarliestMessageTimeAsync\u0060, \u0060getFlushedWhere\u0060, \u0060getHARuntimeInfo\u0060, \u0060getHaService\u0060, \u0060getLastFileFromOffset\u0060, \u0060getLastMappedFile\u0060, \u0060getMasterFlushedOffset\u0060, and 84 more. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 124 declarations carry 115 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 115 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MessageStore.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6049f291d6218d1ca3f79fb103cc136e0f18f906575f7f6115676f71f506147"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: FlatFileInterface (29 abstract methods): \u0060FlatFileInterface\u0060 declares 29 abstract methods: \u0060appendCommitLog\u0060, \u0060appendCommitLog\u0060, \u0060appendConsumeQueue\u0060, \u0060commitAsync\u0060, \u0060destroy\u0060, \u0060destroyExpiredFile\u0060, \u0060getCommitLogAsync\u0060, \u0060getCommitLogCommitOffset\u0060, \u0060getCommitLogMaxOffset\u0060, \u0060getCommitLogMinOffset\u0060, \u0060getConsumeQueueAsync\u0060, \u0060getConsumeQueueAsync\u0060, \u0060getConsumeQueueCommitOffset\u0060, \u0060getConsumeQueueMaxOffset\u0060, \u0060getConsumeQueueMinOffset\u0060, \u0060getFileLock\u0060, \u0060getFirstMessageOffset\u0060, \u0060getMaxStoreTimestamp\u0060, \u0060getMessageAsync\u0060, \u0060getMessageQueue\u0060, \u0060getMinStoreTimestamp\u0060, \u0060getQueueOffsetByTimeAsync\u0060, \u0060getTopicId\u0060, \u0060initOffset\u0060, \u0060isClosed\u0060, \u0060isFlatFileInit\u0060, \u0060release\u0060, \u0060rollingFile\u0060, \u0060shutdown\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 29 declarations carry 27 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 27 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/FlatFileInterface.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0864fbed341df23b2c9c74b9cd244d65fb4a8485e1eba995cfab71e44a3dc6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MetadataStore (17 abstract methods): \u0060MetadataStore\u0060 declares 17 abstract methods under just 15 distinct name(s): \u0060addQueue\u0060, \u0060addTopic\u0060, \u0060deleteFileSegment\u0060, \u0060deleteFileSegment\u0060, \u0060deleteQueue\u0060, \u0060deleteTopic\u0060, \u0060destroy\u0060, \u0060getFileSegment\u0060, \u0060getQueue\u0060, \u0060getTopic\u0060, \u0060iterateFileSegment\u0060, \u0060iterateFileSegment\u0060, \u0060iterateQueue\u0060, \u0060iterateTopic\u0060, \u0060updateFileSegment\u0060, \u0060updateQueue\u0060, \u0060updateTopic\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 17 separate responsibilities: a caller binds to 15 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 17 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metadata/MetadataStore.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"adccbaf87b89d2b7cfee6f1f5228ce59f958284dd9d8f641e3508573dcec4915"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MQAdminExt (126 abstract methods): \u0060MQAdminExt\u0060 declares 126 abstract methods: \u0060addBrokerToContainer\u0060, \u0060addWritePermOfBroker\u0060, \u0060checkRocksdbCqWriteProgress\u0060, \u0060cleanControllerBrokerData\u0060, \u0060cleanExpiredConsumerQueue\u0060, \u0060cleanExpiredConsumerQueueByAddr\u0060, \u0060cleanUnusedTopic\u0060, \u0060cleanUnusedTopicByAddr\u0060, \u0060cloneGroupOffset\u0060, \u0060consumeMessageDirectly\u0060, \u0060consumeMessageDirectly\u0060, \u0060createAcl\u0060, \u0060createAcl\u0060, \u0060createAndUpdateKvConfig\u0060, \u0060createAndUpdateSubscriptionGroupConfig\u0060, \u0060createAndUpdateSubscriptionGroupConfigList\u0060, \u0060createAndUpdateTopicConfig\u0060, \u0060createAndUpdateTopicConfigList\u0060, \u0060createOrUpdateOrderConf\u0060, \u0060createStaticTopic\u0060, \u0060createUser\u0060, \u0060createUser\u0060, \u0060deleteAcl\u0060, \u0060deleteExpiredCommitLog\u0060, \u0060deleteExpiredCommitLogByAddr\u0060, \u0060deleteKvConfig\u0060, \u0060deleteSubscriptionGroup\u0060, \u0060deleteSubscriptionGroup\u0060, \u0060deleteTopic\u0060, \u0060deleteTopicInBroker\u0060, \u0060deleteTopicInBrokerConcurrent\u0060, \u0060deleteTopicInNameServer\u0060, \u0060deleteTopicInNameServer\u0060, \u0060deleteUser\u0060, \u0060electMaster\u0060, \u0060examineBrokerClusterInfo\u0060, \u0060examineConsumeStats\u0060, \u0060examineConsumeStats\u0060, \u0060examineConsumeStats\u0060, \u0060examineConsumeStats\u0060, and 86 more. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 126 declarations carry 112 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 112 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminExt.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"391323d385408a96419de42a1351c61ba5898208f8a0863430dff111b4206d43"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060main\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/sysflag/SubscriptionSysFlag.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cc18622b2373018e2b514bac60ce117c38c2a5d82c4524040a76b15a58d70b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Skeleton type \u2014 most members are unfinished: \u0060SimpleChannelHandlerContext\u0060 has 36 unfinished members out of 41 declared methods (whether or not each carries a body) \u2014 a scaffolded class that was never implemented."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ad794bdd196d3dc8c12b3c41a0dc22379d781a89eef38fd1a63a5c3354f559"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060executor\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb564a1bc901a0261c94d34faecf60c7e53bc833ee4de6c17efef5e75ca66367"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060name\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7806199f5e8a12942508711bcd67edfb0fc2318cd866008ef63c87789cadc22f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060handler\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"848799c701cc42e30beb8bf7db622894267ccc5a968d91612341c50661ca4933"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060fireChannelRegistered\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f995a31fed392d212ab2609edb576ab885d443cf038710f80c38a31f93a5c81"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060fireChannelUnregistered\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4342e2294a3201d1f0b586f3b7223db9d3762620ed351c1592f02939f81506d5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060fireChannelActive\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a47c9c26627f9919c4523eb4bd551777e0e83d5a68de07f5577f63bb4d247b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060fireChannelInactive\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"189120dfb112dbb655c49e34faf62c9afaaec6d392fd7f50be5c2cf3c2941ace"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060fireExceptionCaught\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9914978b8fb1c2542048a821667cc1556c07c19c18c62327e102ae33634498c4"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060fireUserEventTriggered\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf1908f65a6e871fac8ce7ef6ccbd4f89f2c0f4a633e6460ff46fb76856cae2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060fireChannelRead\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9c817500511e7f47a70d6cbe5871db3de4de7278cba2ef932761a6d4c9a42d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060fireChannelReadComplete\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"de309639dc456c990565e9c2264d98a3939f3b2a863f1b060cdb5c832f5e6b94"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060fireChannelWritabilityChanged\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddd27f64ec36cb94ec0101e0739bd112d5dda8547caf665c4079c027ff907d9"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060bind\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc661a23106410b2226bccc19c37f9b64cdee9f9ce414ef24762030b221352d6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060connect\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"de932d62829b27d8139b53f7b0ffcf7ca45b383106edf4f20b34db512cc3df6e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060connect\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b78d1403d170d8ddd7c44952bd48e616c65df2dc696e54e55faad5c493cd3a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060disconnect\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"37da094a0448e89e81e0c192d4c6fd8e4e57c8e6a10ceb2b772d6fccf51b1c25"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060close\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"429db986580309ff4fe3c654005b2701beb0814d90e35ba600ea4e1f5ceecdbf"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060deregister\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"886404ecb6033e6086f930bee9c26c3ec96c5232cd595218f3a1cfd2a1772a33"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060bind\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6199058557cbb71ad1d4f482303c76033d6f94adc0e8a3a72e2360e270ec823c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060connect\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2acbb83788377688f5ccea6641882806a013b0022909ab12a807ce0e9df1cb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060connect\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3549b4867713fb370fad9cbbca1b27bd8a472b1f18bef75e7c770e95fbd6ad9b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060disconnect\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbebd79e6de0d8d8005cba394238400a537b112e526d419213a837bec50e7efb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060close\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae246800e82cd28ac7c900e9497fdc7249c7fb4d408b9d210a9d4d86730a4399"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060deregister\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"728a44e46c77fea2781ac97d913a817a48989050d9c38554a215b06209f967f1"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060read\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd7692c65bdd316804125531f73e8972422f8f91a7c40c71a26c781e246ab4b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060write\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3499e0dbbaa51d6f41f475c07cd313747dce6f267a1ecf1672357cc278bafe"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060write\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9233f810e9354028436d9b8f384417af527ccff4226774eeb6bfede12b7286f8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060flush\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"104a7b69415a2175ab1b309996c4ca225d74800c209ee68d30377099ec8ff96d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060pipeline\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a085d504e0f01e87fef24af7c36e62948b6d0a0cf1db95579597fb5e8489e93"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060alloc\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f67d368ba249c919dcacea5da896d794a1f830ef10810fe9c9b1f9925373e9d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060newPromise\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"737b487ff7527f3ea43d7fcd415bbe12bb9e9aa9091c461706ea22d8dc78f60d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060newProgressivePromise\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a607ce37ad2aaf96ed4a7a72f22f4760690271870b946c16e8c5a1fb3acdee"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060newSucceededFuture\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ae49ecb094a5f4966024048001ba560e5b8dc9c4a1698ce292d3e009576ba3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060newFailedFuture\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"052f4bc0a8494fb706df17f4de7e92f570e368fa4804f61978cad7bf65917158"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060voidPromise\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3ecedda343371bcb02f3011f8bbeb4a71d170e3ea63949bcc7a55cf2424175"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060attr\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/SimpleChannelHandlerContext.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4f5282a13767e3868581b14c94a1872222dd9109788f903ae29fde5b2ac51e"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/controller/ReplicasManagerTest.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8bbd7b48fa7158da00122d6755fea89231009e3cb97974271929e5b286b91e"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/lite/LiteLifecycleManagerTest.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"543d3dc2fc78cdfa279b41bd0110028de6c8aeabd1959d4bfa4fbdeb885e0d47"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/lite/RocksDBLiteLifecycleManagerTest.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a8aacb173c858662abff811b8b2836e68bc6cc5ea4e4eeede14afafa566732"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/test/java/org/apache/rocketmq/broker/pop/PopConsumerRocksdbStoreTest.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f836ee7f7d428c7ba4c7dd9e33b96559df472114673b10de0c5443a70a9741"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9057956d756f67631ab5ebead193b58d9a053fba238fee08147d6ef57b5b3600"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/grpc/v2/BaseActivityTest.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d41eb1f12e49bf625f67b4195793947f9222644cab13594aacf39707b50c48"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/processor/BaseProcessorTest.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8595611e51ae7fd36aedb6dd9c6a5b4eddf825a9a0afa69b0de9be8d3f7b9b13"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/test/java/org/apache/rocketmq/proxy/service/BaseServiceTest.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b1ece8a0997765779cf9f588ae8efb8fa163429cdaa0d05641a785986d95e8"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/dledger/DLedgerCommitlogTest.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0155e17a19feae9aa064506ad1a7e566d571979b0e4a8e98b280b19b1b5e0bec"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/dledger/DLedgerCommitlogTest.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3ecf8925d78b315eae18a07390084d7ff3142c79955173c084b6fb0583fcd9"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/dledger/DLedgerMultiPathTest.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bc6d1ca3d1c9c80ad4e2f41a9832e4e9af18da616648ca57392637d0bb8e5f"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/dledger/MixCommitlogTest.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"084fb2cdda6318e5309f51ae141752e3b466eb475583c06cf33226e986aa9cb3"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHATest.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfa771431c83d807928a4e0a5ecccb2ab870410fc16fdc1102e70ccb37c5239"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/test/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHATest.java"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2843dc8f1bea78ce3fdc3e82c67f42da28fd171c1481f05319307c2f2af8754"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/autoswitchrole/AutoSwitchRoleIntegrationTest.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e5c1c8ae99181b56445e1a1b584103ff8b993a5aa5332cd66b2934e3c8411f"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/consumer/broadcast/normal/BroadcastNormalMsgRecvFailIT.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4b67156edc61d9b66bfce650d8d86b9dda0af29b5982d6e2813a27837a0bd3"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/consumer/broadcast/order/OrderMsgBroadcastIT.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5647eeb345cd8c0175648c3dfdb6fc721aba4b4a460c5a79946b672dc3c222"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/consumer/pop/BasePopNormally.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc09c91ef2738478488c15dd100229b17aa0585a5bcf3ac583806a90dd8ec46"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/consumer/pop/BasePopOrderly.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80d3a598c06a9efe5833632aa065289cd57612c5aa711350b55d214af612ca0"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/consumer/pop/NotificationIT.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1719edc7b46f9fb60dfa001bc39437d413d20f0e698387f4782ad1fd1b415d27"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/consumer/pop/PopPriorityIT.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"945a57aa709c2b6a3de461caf7aa7709f007c20206b5c1895716f83bdfc32c1c"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/client/consumer/pop/PopSubCheckIT.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"184a132d6183b0fe048f2f6c4f4fe2c3710d4226465d04125a3a8ed3554f05be"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/AddAndRemoveBrokerIT.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc3ce3e19845ccfb54d4007ae39741d30ae8dfcd165bd48e91bb3475dee5869"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/BrokerFailoverIT.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a9e54c70c56423ee68f40f3022991689a4a42bddbf8324a05582e2c4a2d31c"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/BrokerMemberGroupIT.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"280655b933e82b58be74b164fe587e2a357a22b16231de7036bea53f5005f91c"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/GetMaxOffsetFromSlaveIT.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"783466dd2ba9eba1cae6cc62275c33ea4f6971e8e0bbe30370fc6385d53e2322"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/GetMetadataReverseIT.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4182795a54861087e862597bd193cad180c39b3ba0016f7408bb39e6647cca"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/PopSlaveActingMasterIT.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2a3c7e0058f0fb18d44a51ceb09b6de714002db72e679848be076405dfbddc"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/PullMultipleReplicasIT.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f2a4b7c3cbd6ae8bf110707d773ae821eb34154e54c8a7f790d854a830f6cd"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/PushMultipleReplicasIT.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9222a057793d2886f1f0d051dcb1ca8d08a0027a057836f25b9d227a4a4fbba"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/RebalanceLockOnSlaveIT.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce70421d35d9ddc092209d56b365d04f92aaab4b6cb8b6d1fa80fff30c03b2a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/RebalanceLockOnSlaveIT.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ccab3f094c01fd2e5d3d46f8818c8e7771c0a33e85a29396f954ae6f0dbab3"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/ScheduleSlaveActingMasterIT.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5147de244c8cb3fc45877a1e1f1a338792c5634af492fdb5b1a1220f42a932"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/ScheduledMessageIT.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"153c00ae237d07a2173061ebcbf40c8e5bc00b0a314bf2884788ef36252ffa49"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/ScheduledMessageIT.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0091bd37a513e9a7b4b96d2df0fb9427a531c692d13ebc4bfe9ae36ebe50133"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/SendMultipleReplicasIT.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdfeda73c37333dd84120f2bb9465a818bdf4697ebf498e33c89798e4a9f19a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/SlaveBrokerIT.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae4b30d806051dd08c249afd1290ae5fc80d5c82c3dfb1d0ee7d5b3f7ecf036"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/SyncConsumerOffsetIT.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4612b0bffde1fad663a5ec9140851e2ab0af1234e71394302eb46e340783fd48"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/container/TransactionMessageIT.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60a2f39fafe2bdc92ea9d069eddb6160b274db2ef3e0dd6908154e5745e860d"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/ClusterGrpcIT.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a888eed2dadfb72169287677d850eabf9124dccd05ae31f4c2ae084dfcc14f76"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/ClusterGrpcIT.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b993eb6cbf34fb2d625a51597150a5506fdf561b0693883e1f4ca6a08353805b"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/LocalGrpcIT.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabd7f399c33fd8c625d3271b3b8a7ce814c6cd5be9d2a482a2a3373e3d5743a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/grpc/v2/LocalGrpcIT.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c6bcc257a8f1099404e3bf6a7c0b5bd5af03a6e57b4fddb0f4a00b4bfb023a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/route/CreateAndUpdateTopicIT.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0579c8139d4d392dfb01f1411bbf9faf8dd44b90136b14886c3f862811c5667"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/src/test/java/org/apache/rocketmq/test/schema/SchemaTest.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7217a26b38b734e7821e91aba3da1c3a9e143e8acdb3624ba3e33c0f7672b594"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060@SuppressWarnings(\u0022all\u0022)\u0060 switches every compiler and analyser warning off for the whole declaration \u2014 hidden debt. Suppress the specific warning on the specific member, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20161c95a3df4f3862897df166d41c84c831f0bdac8f9bfb4de6b87e63785f6"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/test/java/org/apache/rocketmq/tieredstore/index/IndexStoreServiceBenchTest.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"50219ca46da1d320115d88ee9cdace3c269a1a05d4bf0d60b35099f894c5f0a2"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtTest.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d3080bee7f73264f73b77b74c7bac597fde9a9e9b10c9b3e615c6a511bd362"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtTest.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18e4661666505ce19e1bf8e9d194e1ef5be8df59a03bd98d57303838a7ab671"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtTest.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e066028c254a146f445d7b37fd0843ea8600308e626590f907050f45632cfc2"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/consumer/ConsumerProgressSubCommandTest.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fba8856742936e4f114f427d81c06b6cf9131799aebab0bbf8daca4e2cdfa48"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/test/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationCommandTest.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1741453e02982581039b4965208b2ea8b86f4caead3a349b76ef266a887c1f1"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.auth.authentication.manager\u0060 is marked as implementation by its own namespace, folder or name: \u0060AuthenticationMetadataManagerImpl\u0060 (auth/src/main/java/org/apache/rocketmq/auth/authentication/manager/AuthenticationMetadataManagerImpl.java:35, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/manager/AuthenticationMetadataManagerImpl.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b547767dfdaab001d77b8bbf7810684f34fad3d06cb5dc950bf79504b35007c"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.auth.authorization.manager\u0060 is marked as implementation by its own namespace, folder or name: \u0060AuthorizationMetadataManagerImpl\u0060 (auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java:42, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authorization/manager/AuthorizationMetadataManagerImpl.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd33cd7224759b46dec7b819c3108e7f07f628341c64d154a6ca76cb90e5986d"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060org.apache.rocketmq.broker.lite\u0060 are marked as implementation by their own namespace, folder or name: \u0060LiteShardingImpl\u0060 (broker/src/main/java/org/apache/rocketmq/broker/lite/LiteShardingImpl.java:31, name ends in \u0060Impl\u0060), \u0060LiteSubscriptionRegistryImpl\u0060 (broker/src/main/java/org/apache/rocketmq/broker/lite/LiteSubscriptionRegistryImpl.java:51, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/lite/LiteShardingImpl.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e40a13c8a792ef740215fa2c0070e849840381dd940a58780c5a7c87efbc1d"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.broker.transaction.queue\u0060 is marked as implementation by its own namespace, folder or name: \u0060TransactionalMessageServiceImpl\u0060 (broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java:54, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f1968b451e0ba6d278af887014d5d92e9e51ea0c25741b4f6a7348399d9e98"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.client.consumer\u0060 is marked as implementation by its own namespace, folder or name: \u0060PullTaskImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/consumer/MQPullConsumerScheduleService.java:163, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/MQPullConsumerScheduleService.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f821a6bb07c35c8e5db3006c3064d61d8603ebaf27dc01a0451e551518a728"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 6 public types in \u0060org.apache.rocketmq.client.impl\u0060 are marked as implementation by their own namespace, folder or name: \u0060ClientRemotingProcessor\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/ClientRemotingProcessor.java:60, \u0060impl\u0060), \u0060CommunicationMode\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/CommunicationMode.java:19, \u0060impl\u0060), \u0060FindBrokerResult\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/FindBrokerResult.java:19, \u0060impl\u0060), \u0060MQAdminImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:63, \u0060impl\u0060), \u0060MQClientAPIImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:275, \u0060impl\u0060), \u0060MQClientManager\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/MQClientManager.java:29, \u0060impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/ClientRemotingProcessor.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ea28d8d02a6a6b9df7505356313823791fd7249f6eb006ce7c88376c548f76"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.client.impl.admin\u0060 is marked as implementation by its own namespace, folder or name: \u0060MqClientAdminImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:73, \u0060impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dde87629603fb6af4f075100f854738c4af8112dd495e090632c2809f8872a"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 26 public types in \u0060org.apache.rocketmq.client.impl.consumer\u0060 are marked as implementation by their own namespace, folder or name: \u0060AbstractConsumeMessageService\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/consumer/AbstractConsumeMessageService.java:27, \u0060impl\u0060), \u0060AssignedMessageQueue\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/consumer/AssignedMessageQueue.java:26, \u0060impl\u0060), \u0060ConsumeMessageConcurrentlyService\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:46, \u0060impl\u0060), \u0060ConsumeMessageOrderlyService\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:48, \u0060impl\u0060), \u0060ConsumeMessagePopConcurrentlyService\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:48, \u0060impl\u0060), \u0060ConsumeMessagePopOrderlyService\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:45, \u0060impl\u0060), \u0060ConsumeMessageService\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageService.java:24, \u0060impl\u0060), \u0060DefaultLitePullConsumerImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:79, \u0060impl\u0060), and 18 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/AbstractConsumeMessageService.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7899c688014b157cd85cd392a37be95c1fd02de3da5ac18e68856ed281454842"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.client.impl.factory\u0060 is marked as implementation by its own namespace, folder or name: \u0060MQClientInstance\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:96, \u0060impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d87491a5a6dec008f1ba8bcf71f337106a9854889384d954560f831ac01059"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 3 public types in \u0060org.apache.rocketmq.client.impl.mqclient\u0060 are marked as implementation by their own namespace, folder or name: \u0060DoNothingClientRemotingProcessor\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/mqclient/DoNothingClientRemotingProcessor.java:24, \u0060impl\u0060), \u0060MQClientAPIExt\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:97, \u0060impl\u0060), \u0060MQClientAPIFactory\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIFactory.java:36, \u0060impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/mqclient/DoNothingClientRemotingProcessor.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f6f06e97ee9cc639da6babea438705f9e9ade9a821f2c7dfc588e743621a93"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 4 public types in \u0060org.apache.rocketmq.client.impl.producer\u0060 are marked as implementation by their own namespace, folder or name: \u0060DefaultMQProducerImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:101, \u0060impl\u0060), \u0060MQProducerInner\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/producer/MQProducerInner.java:25, \u0060impl\u0060), \u0060TopicPublishInfo\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/producer/TopicPublishInfo.java:28, \u0060impl\u0060), \u0060QueueFilter\u0060 (client/src/main/java/org/apache/rocketmq/client/impl/producer/TopicPublishInfo.java:35, \u0060impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"55769fff0cb76321e7699dcec44b4465a956fe746d8282d351b31fb2fa6956c5"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.client.latency\u0060 is marked as implementation by its own namespace, folder or name: \u0060LatencyFaultToleranceImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultToleranceImpl.java:34, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultToleranceImpl.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d3c082c58f70f34d5027db4482e983c50a9fa1099ade5ff0576133576ace1d"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 6 public types in \u0060org.apache.rocketmq.client.trace.hook\u0060 are marked as implementation by their own namespace, folder or name: \u0060ConsumeMessageOpenTracingHookImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageOpenTracingHookImpl.java:35, name ends in \u0060Impl\u0060), \u0060ConsumeMessageTraceHookImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageTraceHookImpl.java:34, name ends in \u0060Impl\u0060), \u0060EndTransactionOpenTracingHookImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionOpenTracingHookImpl.java:31, name ends in \u0060Impl\u0060), \u0060EndTransactionTraceHookImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionTraceHookImpl.java:33, name ends in \u0060Impl\u0060), \u0060SendMessageOpenTracingHookImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageOpenTracingHookImpl.java:31, name ends in \u0060Impl\u0060), \u0060SendMessageTraceHookImpl\u0060 (client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageTraceHookImpl.java:30, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageOpenTracingHookImpl.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"039b7292c3f80b79198e793a461502e73476b4e3c9258f548231443ddb0e90da"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.common\u0060 is marked as implementation by its own namespace, folder or name: \u0060ThreadFactoryImpl\u0060 (common/src/main/java/org/apache/rocketmq/common/ThreadFactoryImpl.java:26, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ThreadFactoryImpl.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"07144f380e1727cf09a0f35463fa2c6903a2a51eabcc27caf2509181e34d5837"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 5 public types in \u0060org.apache.rocketmq.common.filter.impl\u0060 are marked as implementation by their own namespace, folder or name: \u0060Op\u0060 (common/src/main/java/org/apache/rocketmq/common/filter/impl/Op.java:20, \u0060impl\u0060), \u0060Operand\u0060 (common/src/main/java/org/apache/rocketmq/common/filter/impl/Operand.java:20, \u0060impl\u0060), \u0060Operator\u0060 (common/src/main/java/org/apache/rocketmq/common/filter/impl/Operator.java:20, \u0060impl\u0060), \u0060PolishExpr\u0060 (common/src/main/java/org/apache/rocketmq/common/filter/impl/PolishExpr.java:28, \u0060impl\u0060), \u0060Type\u0060 (common/src/main/java/org/apache/rocketmq/common/filter/impl/Type.java:20, \u0060impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/filter/impl/Op.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb8ab361b9bca67f166307a405b430437a5ff57cb272c12dca9f69cb32d2223"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.controller.elect.impl\u0060 is marked as implementation by its own namespace, folder or name: \u0060DefaultElectPolicy\u0060 (controller/src/main/java/org/apache/rocketmq/controller/elect/impl/DefaultElectPolicy.java:29, \u0060impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/elect/impl/DefaultElectPolicy.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6ba656c1bd1631af09f7bc19a1ce6ae3c49fbac8e2f3ff927b5bc7c0bc83bb"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 4 public types in \u0060org.apache.rocketmq.controller.impl\u0060 are marked as implementation by their own namespace, folder or name: \u0060DLedgerController\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerController.java:87, \u0060impl\u0060), \u0060DLedgerControllerStateMachine\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerControllerStateMachine.java:35, \u0060impl\u0060), \u0060JRaftController\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/JRaftController.java:67, \u0060impl\u0060), \u0060JRaftControllerStateMachine\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/JRaftControllerStateMachine.java:78, \u0060impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerController.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3edf36a6cb29f44c719241173bc2272453dfe427efbdc298629997010593aa"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.controller.impl.closure\u0060 is marked as implementation by its own namespace, folder or name: \u0060ControllerClosure\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/closure/ControllerClosure.java:32, \u0060impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/closure/ControllerClosure.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0598915dd004ddb9c009632b0568e1f8d1a98d36459f26e7d03599b2a21d04"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 10 public types in \u0060org.apache.rocketmq.controller.impl.event\u0060 are marked as implementation by their own namespace, folder or name: \u0060AlterSyncStateSetEvent\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/event/AlterSyncStateSetEvent.java:26, \u0060impl\u0060), \u0060ApplyBrokerIdEvent\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/event/ApplyBrokerIdEvent.java:23, \u0060impl\u0060), \u0060CleanBrokerDataEvent\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/event/CleanBrokerDataEvent.java:22, \u0060impl\u0060), \u0060ControllerResult\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/event/ControllerResult.java:23, \u0060impl\u0060), \u0060ElectMasterEvent\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/event/ElectMasterEvent.java:23, \u0060impl\u0060), \u0060EventMessage\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/event/EventMessage.java:22, \u0060impl\u0060), \u0060EventSerializer\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/event/EventSerializer.java:25, \u0060impl\u0060), \u0060EventType\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/event/EventType.java:22, \u0060impl\u0060), and 2 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/event/AlterSyncStateSetEvent.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1974b1d388e1ebe5f69c3eb64ef914141b68a8bc3144e2126898c216c1ee89dd"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 4 public types in \u0060org.apache.rocketmq.controller.impl.heartbeat\u0060 are marked as implementation by their own namespace, folder or name: \u0060BrokerIdentityInfo\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/BrokerIdentityInfo.java:23, \u0060impl\u0060), \u0060BrokerLiveInfo\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/BrokerLiveInfo.java:22, \u0060impl\u0060), \u0060DefaultBrokerHeartbeatManager\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java:41, \u0060impl\u0060), \u0060RaftBrokerHeartBeatManager\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/RaftBrokerHeartBeatManager.java:53, \u0060impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/BrokerIdentityInfo.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d67dac66ef48d763fc6b54b52ca69ff7ee4d36086b314fc9ad64ae0b6fe994a"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 5 public types in \u0060org.apache.rocketmq.controller.impl.manager\u0060 are marked as implementation by their own namespace, folder or name: \u0060BrokerReplicaInfo\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/manager/BrokerReplicaInfo.java:33, \u0060impl\u0060), \u0060RaftReplicasInfoManager\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/manager/RaftReplicasInfoManager.java:48, \u0060impl\u0060), \u0060BrokerValidPredicateWithInvokeTime\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/manager/RaftReplicasInfoManager.java:222, \u0060impl\u0060), \u0060ReplicasInfoManager\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:76, \u0060impl\u0060), \u0060SyncStateInfo\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/manager/SyncStateInfo.java:28, \u0060impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/manager/BrokerReplicaInfo.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"859fbccf07e755d7d13524a38c129b6480be409853ae007eeb1fd870e4f28bd1"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 9 public types in \u0060org.apache.rocketmq.controller.impl.task\u0060 are marked as implementation by their own namespace, folder or name: \u0060BrokerCloseChannelRequest\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/task/BrokerCloseChannelRequest.java:24, \u0060impl\u0060), \u0060BrokerCloseChannelResponse\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/task/BrokerCloseChannelResponse.java:22, \u0060impl\u0060), \u0060CheckNotActiveBrokerRequest\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/task/CheckNotActiveBrokerRequest.java:22, \u0060impl\u0060), \u0060CheckNotActiveBrokerResponse\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/task/CheckNotActiveBrokerResponse.java:22, \u0060impl\u0060), \u0060GetBrokerLiveInfoRequest\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/task/GetBrokerLiveInfoRequest.java:23, \u0060impl\u0060), \u0060GetBrokerLiveInfoResponse\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/task/GetBrokerLiveInfoResponse.java:22, \u0060impl\u0060), \u0060GetSyncStateDataRequest\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/task/GetSyncStateDataRequest.java:22, \u0060impl\u0060), \u0060RaftBrokerHeartBeatEventRequest\u0060 (controller/src/main/java/org/apache/rocketmq/controller/impl/task/RaftBrokerHeartBeatEventRequest.java:24, \u0060impl\u0060), and 1 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/task/BrokerCloseChannelRequest.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0361804e763244a003115120d8aa63eb5a809a21ce9f1a835519c585b2237e44"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060io.openmessaging.rocketmq\u0060 is marked as implementation by its own namespace, folder or name: \u0060MessagingAccessPointImpl\u0060 (openmessaging/src/main/java/io/openmessaging/rocketmq/MessagingAccessPointImpl.java:32, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/MessagingAccessPointImpl.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e552490eb3689052af764b7bd9ec3622de375b6d2d22b1207bf8a54e46d26831"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060io.openmessaging.rocketmq.consumer\u0060 are marked as implementation by their own namespace, folder or name: \u0060PullConsumerImpl\u0060 (openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java:42, name ends in \u0060Impl\u0060), \u0060PushConsumerImpl\u0060 (openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PushConsumerImpl.java:44, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"88671fbaad099a2b26dd9c4332b2266ba272c9131646602c26c80162c5135861"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060io.openmessaging.rocketmq.domain\u0060 are marked as implementation by their own namespace, folder or name: \u0060BytesMessageImpl\u0060 (openmessaging/src/main/java/io/openmessaging/rocketmq/domain/BytesMessageImpl.java:26, name ends in \u0060Impl\u0060), \u0060SendResultImpl\u0060 (openmessaging/src/main/java/io/openmessaging/rocketmq/domain/SendResultImpl.java:22, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/domain/BytesMessageImpl.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"275efaeaaaea2971a7e903eebb1618271b8c47f0581b443f0172b8dfad721c56"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060io.openmessaging.rocketmq.producer\u0060 is marked as implementation by its own namespace, folder or name: \u0060ProducerImpl\u0060 (openmessaging/src/main/java/io/openmessaging/rocketmq/producer/ProducerImpl.java:38, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/producer/ProducerImpl.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd1b7e073e8ab8fa2bd301bbb3014cf373f47989cf305a3d60328d9ec01e535"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.proxy.grpc.v2.consumer\u0060 is marked as implementation by its own namespace, folder or name: \u0060PopMessageResultFilterImpl\u0060 (proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/PopMessageResultFilterImpl.java:25, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/PopMessageResultFilterImpl.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54d2da5103fd060a038b0396e48638155dd9154fd0c22a77d965dad0a5ab998"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.remoting.rpc\u0060 is marked as implementation by its own namespace, folder or name: \u0060RpcClientImpl\u0060 (remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:42, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"45aa8b3752eb3843d9940b6645e8687e6c855f069a4e7571eea39b589230002b"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.store.lock\u0060 is marked as implementation by its own namespace, folder or name: \u0060AdaptiveBackOffSpinLockImpl\u0060 (store/src/main/java/org/apache/rocketmq/store/lock/AdaptiveBackOffSpinLockImpl.java:32, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/lock/AdaptiveBackOffSpinLockImpl.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d636dee38b3775d084e1964290ad70bbd2e9b57b86972e61c0f919b2c22fa6cd"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.store.queue\u0060 is marked as implementation by its own namespace, folder or name: \u0060OffsetInitializerRocksDBImpl\u0060 (store/src/main/java/org/apache/rocketmq/store/queue/OffsetInitializerRocksDBImpl.java:24, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/OffsetInitializerRocksDBImpl.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea3d31f7dbe9123219d825ab57d20f891e360d9e9478d87867e1af0e7f73bcd"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060org.apache.rocketmq.tieredstore.core\u0060 are marked as implementation by their own namespace, folder or name: \u0060MessageStoreDispatcherImpl\u0060 (tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreDispatcherImpl.java:60, name ends in \u0060Impl\u0060), \u0060MessageStoreFetcherImpl\u0060 (tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreFetcherImpl.java:53, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreDispatcherImpl.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"95564e7413f8c3105ef88e59b391d46b801747e8441086f86f6d723c69e4fc5a"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060org.apache.rocketmq.tools.admin\u0060 is marked as implementation by its own namespace, folder or name: \u0060DefaultMQAdminExtImpl\u0060 (tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:130, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a249bd8788ce603ba03a4f0cc9a0656a513b466978a2c5121c7882b2db35eb8"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 13/14 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/test/java/org/apache/rocketmq/tieredstore/index/IndexStoreServiceBenchTest.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e73e7da748f1dc7e99ed597df91a3a8e6bc9ee3ff0ea92f2199df17221df481"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!MixAll.isLmq(topic) || !MixAll.isLmq(group)\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java, broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc60b867c5430fa2dcc73d3a40968b6c08a1fdeaa71c8713031437e760d232fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!NamespaceUtil.isRetryTopic(topic) \u0026\u0026 !NamespaceUtil.isDLQTopic(topic)\u0060 appears character-identically in 2 files \u2014 proxy/src/main/java/org/apache/rocketmq/proxy/processor/ProducerProcessor.java, proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/SendMessageActivity.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ProducerProcessor.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8243c001e734e4b94a369e0e93fc3f27a478dd72ac4ad999ed474d2cf8d7a02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!StringUtils.isEmpty(indexType) \u0026\u0026 MessageConst.INDEX_TAG_TYPE.equals(indexType)\u0060 appears character-identically in 2 files \u2014 client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java, store/src/main/java/org/apache/rocketmq/store/index/IndexService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"28613032dff5d6780b1e792059f343c5188d8d4d0190eb81b3f7dbe797d3cb92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!UtilAll.isBlank(topic) \u0026\u0026 !topic.equals(mq.getTopic())\u0060 appears character-identically in 2 files \u2014 client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java, client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb99f64f432bcc9bbae12d3f921fb52a5d470df2e826068d4b942ef0eb35d5e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!UtilAll.isPathExists(this.configFilePath()) \u0026\u0026 !UtilAll.isPathExists(this.configFilePath() \u002B \u0022.bak\u0022)\u0060 appears character-identically in 3 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java, broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBSubscriptionGroupManager.java, broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBTopicConfigManager.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4017a19538930d21cd2294600d49f5f00b6b1840600c16124abc16d504a75e37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isIsolated \u0026\u0026 !this.messageStoreConfig.isEnableDLegerCommitLog() \u0026\u0026 !this.messageStoreConfig.isDuplicationEnable()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java, container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"3306b7b6b9acae0fcd8e58b10c739c47cbb72fed00039894c9fa0a55f91fa829"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u00600 == start \u0026\u0026 mappedFile.getFileFromOffset() \u002B mappedFile.getFileSize() \u003E physicalOffsetTo\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java, store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7534d2c777b958774b83d873907cf9f24ac7c14b41ec96a3b08b42c316b9a6ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060GetMessageStatus.FOUND.equals(result.getStatus()) \u0026\u0026 !result.getMessageQueueOffset().isEmpty()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopLiteMessageProcessor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4ca96f7f3d6fd585a2469db51f10a6e18b583c02e919e6982294f063be769a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060GetMessageStatus.OFFSET_TOO_SMALL.equals(result.getStatus()) || GetMessageStatus.OFFSET_OVERFLOW_BADLY.equals(result.getStatus()) || GetMess\u2026\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f38010c1d26b4183beb2a714fe26ed86f4299e3cbe6d363f37f5f72bba20820"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060StringUtils.isBlank(key) || value == null\u0060 appears character-identically in 2 files \u2014 auth/src/main/java/org/apache/rocketmq/auth/authentication/context/AuthenticationContext.java, auth/src/main/java/org/apache/rocketmq/auth/authorization/context/AuthorizationContext.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/context/AuthenticationContext.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee2cf7ac6676ec88c2cb6e513483b60db4eedd906944673fd348a2c8bdc66a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060StringUtils.isBlank(multiDispatchQueue) || StringUtils.isBlank(multiQueueOffset)\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java, store/src/main/java/org/apache/rocketmq/store/queue/MultiDispatchUtils.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"2423463e68c9d2e81af4bca8a0846283fb79bb9ba0b6040e67a0387fbd8fb14e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060StringUtils.isEmpty(engineType) || !MessageConst.TIMER_ENGINE_ROCKSDB_TIMELINE.equals(engineType) \u0026\u0026 !MessageConst.TIMER_ENGINE_FILE_TIME_WH\u2026\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java, tools/src/main/java/org/apache/rocketmq/tools/command/broker/SwitchTimerEngineSubCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3671}}}],"partialFingerprints":{"codehealthFindingId/v1":"946ab4319d0a45e3f3e857dc1c9172abca388b728399ef37e7c5982ebeadfae6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Strings.isNullOrEmpty(topic) || Strings.isNullOrEmpty(group) || queueId \u003C 0 || offset \u003C 0\u0060 appears character-identically in 3 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java, broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java, broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v2/ConsumerOffsetManagerV2.java"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b35ae97fecb14558dd79b7194af2228e39414da9d7599875638ca37097adb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060System.currentTimeMillis() \u003E= liveMaxTimestamp || cleanImmediately\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java, store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bebf27176a84cb5249233d7615ee95acb97830adce2e7e47f2d1ae3bef9568"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TopicValidator.isSystemTopic(requestHeader.getTopic()) || MixAll.isSysConsumerGroup(requestHeader.getConsumerGroup())\u0060 appears character-identically in 3 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a320478ebc50b65b65c1cc6c1b209264a629aa1791a88a0afe880777d71a53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TopicValidator.isSystemTopic(topic) || MixAll.isSysConsumerGroup(group)\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java, broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4532b35df1bf460e293ea4f5060182a0f2cb84d0107e2e06a6c554c9b6d6ab6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060accessPoints == null || accessPoints.isEmpty()\u0060 appears character-identically in 3 files \u2014 openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java, openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PushConsumerImpl.java, openmessaging/src/main/java/io/openmessaging/rocketmq/producer/AbstractOMSProducer.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea2b9200bc68de7877aeadfb0efbc09c57f016316154e63d93cec10a91b3b66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arrays.length == 2 \u0026\u0026 group.equals(arrays[1])\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java, broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec357215b8a5e6b4ab21539c62d2fa3942026958c2ede8ebb3e75776474a41c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attributes == null || attributes.size() == 0\u0060 appears character-identically in 3 files \u2014 common/src/main/java/org/apache/rocketmq/common/attribute/AttributeParser.java, common/src/main/java/org/apache/rocketmq/common/utils/CleanupPolicyUtils.java, common/src/main/java/org/apache/rocketmq/common/utils/QueueTypeUtils.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/attribute/AttributeParser.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce10a7c070905040c720249e43635f8e336d8048aa7b22e7414efcca28fe298"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060autoMessageVersionOnTopicLen \u0026\u0026 messageExtBatch.getTopic().length() \u003E Byte.MAX_VALUE\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/CommitLog.java, store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69bb9c5a1a8255fcdce4fea00c3c488fba77548d14888ae6c9f4c6fbfbf11ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060beginIndex != 0 \u0026\u0026 (StringUtils.isBlank(dataVersion) || !Objects.equals(DataVersion.fromJson(dataVersion, DataVersion.class), getDataVersion\u2026\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java, broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46fc48c40d7fd1d8eddde17629c2571e24724cbe11f2111dafd65b6f64982e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060brokerConfig.isEnableRetryTopicV2() \u0026\u0026 brokerConfig.isRetrieveMessageFromPopRetryTopicV1()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"78362f316d6d26dfd8c0731114764c506eacc1439b8cb33ac799528352523b31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060brokerController != null \u0026\u0026 brokerController.getBrokerConfig().isInBrokerContainer()\u0060 appears character-identically in 4 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/longpolling/LmqPullRequestHoldService.java, broker/src/main/java/org/apache/rocketmq/broker/longpolling/PullRequestHoldService.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java, broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionalMessageCheckService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/LmqPullRequestHoldService.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c1087ffad3b694de736a04b4ecb9ba9b81046f6119f37216161e6cb44531a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bufferConsumeQueue.hasNext() \u0026\u0026 nextBeginOffset \u003C maxOffset\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java, store/src/main/java/org/apache/rocketmq/store/kv/CompactionLog.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c26c6e067cec7c042f1ec9df6dd81dd475c2335e90f72ca75758c41753533f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clusterInfo == null || clusterInfo.getBrokerAddrTable() == null\u0060 appears character-identically in 3 files \u2014 proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java, remoting/src/main/java/org/apache/rocketmq/remoting/rpc/ClientMetadata.java, tools/src/main/java/org/apache/rocketmq/tools/command/topic/GetTopicConfigSubCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1be7239c4233dde33a7a53005b5e95a3298121833c4519a4c2966076e6e2791"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clusterInfo == null || clusterInfo.getClusterAddrTable().isEmpty()\u0060 appears character-identically in 3 files \u2014 tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminUtils.java, tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/admin/MQAdminUtils.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"543092157b32cfd16f2c5325a90b1d00ef4eebcb8a38860acbb3d876abbd1aed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060commandLine.hasOption(\u0022f\u0022) \u0026\u0026 commandLine.hasOption(\u0022t\u0022)\u0060 appears character-identically in 2 files \u2014 tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyUsersSubCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/auth/CopyAclsSubCommand.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40ee0469b26028e9d3ad899ed89c18ea219999e148d6ffa069bc2662b7aa1e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060commandLine.hasOption(\u0022fr\u0022) \u0026\u0026 Boolean.parseBoolean(commandLine.getOptionValue(\u0022fr\u0022).trim())\u0060 appears character-identically in 2 files \u2014 tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d954c8d4c6058eeaa4f928af536bf91c803748e0fc0363e6128025d0c640e69f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060commandLine.hasOption(\u0027g\u0027) \u0026\u0026 commandLine.hasOption(\u0027d\u0027)\u0060 appears character-identically in 2 files \u2014 tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d274a7b43692f50c3e0e0174301db1286834b9bbf41575c14d5a7e271c300a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060commandLine.hasOption(\u0027p\u0027) \u0026\u0026 Boolean.parseBoolean(commandLine.getOptionValue(\u0027p\u0027).trim())\u0060 appears character-identically in 2 files \u2014 tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterSendMsgRTCommand.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4951ba915c90aa09e17c49196241846dacab74fce4a2ee53a632d89a19182a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config == null || MixAll.isLmq(config.getGroupName())\u0060 appears character-identically in 3 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBLmqSubscriptionGroupManager.java, broker/src/main/java/org/apache/rocketmq/broker/config/v2/SubscriptionGroupManagerV2.java, broker/src/main/java/org/apache/rocketmq/broker/subscription/LmqSubscriptionGroupManager.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBLmqSubscriptionGroupManager.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"12447207c2b3fc974c232c0a8a1595eec78d628a271302653d87005da03f2202"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060consumeMessageHookList != null \u0026\u0026 !this.consumeMessageHookList.isEmpty()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2550dcb7a61f9dd98a9c7fce15be8e020abb2c658e700b9a81c498dd602730"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060consumerRunningInfo != null \u0026\u0026 ConsumerRunningInfo.isPushType(consumerRunningInfo)\u0060 appears character-identically in 2 files \u2014 tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2741ef924921850756a2358bbf8fc6350f957135e1a6846c0ef780f18c5aea8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context == null || context.getMessage().getTopic().startsWith(((AsyncTraceDispatcher) localDispatcher).getTraceTopicName())\u0060 appears character-identically in 2 files \u2014 client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionTraceHookImpl.java, client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageTraceHookImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionTraceHookImpl.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4dcf056ab7452559f0c09ca7bf6461a79feab34d745a9a123fe2e336909c18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context == null || context.getMsgList() == null || context.getMsgList().isEmpty()\u0060 appears character-identically in 2 files \u2014 client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageOpenTracingHookImpl.java, client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageTraceHookImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageOpenTracingHookImpl.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b35c2c390920969c5cf930a6aaf2532ac73ae52d6bf7b2f94f81195b7906f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultMessageStore != null \u0026\u0026 defaultMessageStore.getBrokerConfig().isInBrokerContainer()\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java, store/src/main/java/org/apache/rocketmq/store/ha/HAConnectionStateNotificationService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b575597d86ae113fcffab77e086ed5e384cfe20afb1e404b76c5826ce3fae6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e instanceof MQBrokerException \u0026\u0026 ((MQBrokerException) e).getResponseCode() == ResponseCode.FLOW_CONTROL\u0060 appears character-identically in 2 files \u2014 client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java, client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70bfc7975be2f78de9a56472401d4ef5403ec923d6563da1d7c2be6d5f27c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060interval != null \u0026\u0026 !interval.trim().equals(\u0022\u0022)\u0060 appears character-identically in 2 files \u2014 tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c234f8bb648365a7a4964ac90a612238e322faaa900c8d281e4199d1aa6b8e0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mappedFile == null || mappedFile.getReadPosition() \u003C CQ_STORE_UNIT_SIZE\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java, store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2104e9a5c97e4e260fb6e02d2bc4ea18ce3258a1cf72a38dfe609aeb0c71d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mappingItems == null || mappingItems.isEmpty()\u0060 appears character-identically in 2 files \u2014 remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingDetail.java, remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingUtils.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingDetail.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e71c9de95a6866c17f27aae7331933fdfb478faeceaf74237e8e07252b1abb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageExt.getReconsumeTimes() == 0 || msgInner.getProperties().get(MessageConst.PROPERTY_FIRST_POP_TIME) == null\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff81ea9c7be1f54d39eea7113726dc110cf76830b81edde84b0b5963ec738e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageStoreConfig.getTotalReplicas() \u003C messageStoreConfig.getInSyncReplicas() || messageStoreConfig.getTotalReplicas() \u003C messageStoreConfig\u2026\u0060 appears character-identically in 2 files \u2014 container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java, container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9618436d4417d91279085664e10757e51186fbeab303a24349dc6c344d0d16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageStoreConfig.getTotalReplicas() \u003E 1 \u0026\u0026 this.brokerConfig.isEnableSlaveActingMaster()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java, container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa5675b1226d8058284962cf0d7652418dbf2364a91d2abd0415eff5e89f41f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageStoreConfig.isEnableLmq() \u0026\u0026 msgInner.needDispatchLMQ()\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/CommitLog.java, store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa4fdc9d2ed12d7f751fe9514c3217492d30c5ab88fddd60ad8f1779376e9cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messageStoreConfig.isIndexRocksDBEnable() \u0026\u0026 null != messageStore.getIndexRocksDBStore()\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java, store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ef2014edc37ce184e33581731db24f4bf4244bcdb56b8e4587639c742dda50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.getProperties().containsKey(MessageConst.PROPERTY_INNER_NUM) \u0026\u0026 !MessageSysFlag.check(msg.getSysFlag(), MessageSysFlag.INNER_BATCH_FLAG)\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/util/HookUtils.java, store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/util/HookUtils.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0d1664d33a45a72511086f42228ad4b69f957504582c8916e2e18b1628bd2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null != lastOffsetPy \u0026\u0026 phyOffset \u003C= lastOffsetPy\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java, store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ce73d8cc3a894b866f68dd854d11232fe59d26017e84c5dddd78c8cd88dd7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null != propertiesMap \u0026\u0026 propertiesMap.containsKey(MessageConst.PROPERTY_TAGS)\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/index/IndexService.java, store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"359414d7c93eb36c854295779825ad70e3a60802e363507ebd8c50598238cef0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null != transactionId \u0026\u0026 !\u0022\u0022.equals(transactionId)\u0060 appears character-identically in 2 files \u2014 client/src/main/java/org/apache/rocketmq/client/impl/ClientRemotingProcessor.java, client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/ClientRemotingProcessor.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d7a572cafcc14f6fe1384dfc7dc50a688bbd79696c050673fa2c57bfa1a7ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null == authMode || authMode.trim().isEmpty()\u0060 appears character-identically in 2 files \u2014 proxy/src/main/java/org/apache/rocketmq/proxy/remoting/MultiProtocolTlsHelper.java, remoting/src/main/java/org/apache/rocketmq/remoting/netty/TlsHelper.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/MultiProtocolTlsHelper.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7e38de40208d2d45ae22716edebb0bb171034d22a49f911eaeee77795f3aec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null == consumerGroup || consumerGroup.isEmpty()\u0060 appears character-identically in 2 files \u2014 openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java, openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PushConsumerImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/consumer/PullConsumerImpl.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"405bd3536f5cb619e1f8aa597f7a13a37de627fef46b2c7e3fd6ba97206a95b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null == mappedFile || mappedFile.isFull()\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/CommitLog.java, store/src/main/java/org/apache/rocketmq/store/timer/TimerLog.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f80f3eac2c2948685fb332d08b816c5f2ceec2443b56d41129afb035b6e001"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null == msg || null == msg.getProperty(MessageConst.PROPERTY_REAL_TOPIC)\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java, store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"b456fcad705533f8caa0d620bd42eeb11aa0984e39448874da8b01ed8bbc6b5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060null == topicPublishInfo || !topicPublishInfo.ok()\u0060 appears character-identically in 4 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java, broker/src/main/java/org/apache/rocketmq/broker/topic/TopicRouteInfoManager.java, client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java, client/src/main/java/org/apache/rocketmq/client/trace/AsyncTraceDispatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8d26686ea6aed80cc38c0278935ccf288350da9aa1bf1e162359d545cba51a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o == null || !this.getClass().equals(o.getClass())\u0060 appears character-identically in 4 files \u2014 filter/src/main/java/org/apache/rocketmq/filter/expression/BinaryExpression.java, filter/src/main/java/org/apache/rocketmq/filter/expression/ConstantExpression.java, filter/src/main/java/org/apache/rocketmq/filter/expression/PropertyExpression.java, filter/src/main/java/org/apache/rocketmq/filter/expression/UnaryExpression.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/expression/BinaryExpression.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"edab3e3a672823b5163965ab102e8b9d3b85f8546fa9f9bfa87f9535d982c1d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060object != null \u0026\u0026 object == Boolean.TRUE\u0060 appears character-identically in 5 files \u2014 filter/src/main/java/org/apache/rocketmq/filter/expression/BooleanConstantExpression.java, filter/src/main/java/org/apache/rocketmq/filter/expression/ComparisonExpression.java, filter/src/main/java/org/apache/rocketmq/filter/expression/LogicExpression.java, filter/src/main/java/org/apache/rocketmq/filter/expression/UnaryExpression.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"filter/src/main/java/org/apache/rocketmq/filter/expression/BooleanConstantExpression.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"588eed9ea5929897cdc51d7d914297e8f0c7ffe87b9567858c2e0eac97043305"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060off \u003C 0 || len \u003C 0 || len \u003E b.length - off\u0060 appears character-identically in 2 files \u2014 tieredstore/src/main/java/org/apache/rocketmq/tieredstore/stream/CommitLogInputStream.java, tieredstore/src/main/java/org/apache/rocketmq/tieredstore/stream/FileSegmentInputStream.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/stream/CommitLogInputStream.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a3930e2a9273db16ddf6d55f5bf9244144a8d2f347ed60f36528f2ee673737"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060offset \u003C minOffset || offset \u003E maxOffset\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java, client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"06679c4bb28bb927694be7a19823a161ef09e700669929a25933371f5b63e663"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060offset \u003E= 0 \u0026\u0026 size \u003E 0 \u0026\u0026 msgBaseOffset \u003E= 0 \u0026\u0026 batchSize \u003E 0\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java, store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dc934949091a890f66ad7f3ad636ff4cf2eb259d181b38fe614fe5e1dba9ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060offsetPy \u003C 0L || sizePy \u003C= 0 || sizePy \u003E storeConfig.getMaxMessageSize()\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java, store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"802a79775c5a5acba48be845609161bfa94fffe325eb77b45f4ca59dd4df551e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060popRequest != null \u0026\u0026 !popRequest.getChannel().isActive()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java, broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"84605f1078f65750357e6324a837584197dd7a63e48ff770f51c3cb7f7233208"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pullResult.getPullStatus() == PullStatus.OFFSET_ILLEGAL || pullResult.getPullStatus() == PullStatus.NO_MATCHED_MSG\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java, broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"572a7fa80baf080c028a9b2a2e354c14a25d03232276e46717b635f7a12469ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060putMessageResult != null \u0026\u0026 putMessageResult.getPutMessageStatus() == PutMessageStatus.PUT_OK\u0060 appears character-identically in 4 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java, broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/DefaultTransactionalMessageCheckListener.java, broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java, broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"51892f0f5d02a5eb3c50a67dda70b79a2b0f199ebfad61e9cb30aed33dc6f32a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060putMessageResult.getAppendMessageResult() == null || putMessageResult.getAppendMessageResult().getStatus() != AppendMessageStatus.PUT_OK\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd36a256863cb758d5119ed045253da57e140c002968768eb3ab6e3ed37619e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060putMessageResult.getPutMessageStatus() != PutMessageStatus.PUT_OK \u0026\u0026 putMessageResult.getPutMessageStatus() != PutMessageStatus.FLUSH_DISK_T\u2026\u0060 appears character-identically in 3 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java, broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"8293958a3a52ec35d2ad71132e83f992bc3cc49fefee7770d08f8dae048312ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060realFilterData == null || realFilterData.getExpression() == null || realFilterData.getCompiledExpression() == null\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java, broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionMessageFilter.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"81993ec2fe39dde810b99d09b2604fb8089b93d2b2462e040bb3f9b1bac4f2a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060remotingCommands == null || remotingCommands.isEmpty()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java, broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2579a04077cc4ad0be9c155c27c278af3df997d84efaa83d7819a0e3eeb7fd74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requestHeader.getQueueId() \u003E= topicConfig.getReadQueueNums() || requestHeader.getQueueId() \u003C 0\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java, broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8dce27b45695dbf9dc2aa28b8cac05b14565185620fae5747c7174201ea24a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requestHeader.isOrder() \u0026\u0026 orderCountInfo != null\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java, proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d3f2d0e69f38c2bd35aedc37f1dc917db6fc4bfc98ee0d89ce4d0b9db64a68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result != null \u0026\u0026 result.getObject1() == Boolean.FALSE\u0060 appears character-identically in 2 files \u2014 auth/src/main/java/org/apache/rocketmq/auth/authentication/strategy/StatefulAuthenticationStrategy.java, auth/src/main/java/org/apache/rocketmq/auth/authorization/strategy/StatefulAuthorizationStrategy.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authentication/strategy/StatefulAuthenticationStrategy.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6d4304dfd46fcf63435dbcadaaa626783844afc53671eb776cf6ffedb59d9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result != null \u0026\u0026 result.getPutMessageStatus() == PutMessageStatus.PUT_OK\u0060 appears character-identically in 3 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java, broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageBridge.java, store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"67df90d929ce01973ed7cf46b0117beac18e6b213e4436f6f91f15fbe7590fe7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ret == null || !(ret instanceof Boolean)\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java, broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionMessageFilter.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae640be8d651f6f6b76b23a10d4f9cfef5146214e98cfee5bf90ac5c73217010"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sbr != null \u0026\u0026 sbr.getByteBuffer() != null\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java, store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2d4021d9acb89495d9520cc2611c441719128260ba14949cd102ba03868dda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sbr == null || sbr.getByteBuffer() == null\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java, store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9da2ddc223e00fc6f084b2e9343f0e7657bb86543bebd35383dfe85f0924b55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stats == null || stats.getOffsetTable() == null\u0060 appears character-identically in 2 files \u2014 proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/AdminModelConverter.java, proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/admin/AdminModelConverter.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea8b9ce7e70129e52c1e542d335f077d7296de90deb8dec42cdc2bf94754812"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060storeOffset != null \u0026\u0026 offset \u003C storeOffset\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java, broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBConsumerOffsetManager.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e275379a22f5839157448e2f13901e772244d4b0d283661ae90d2dad06da7186"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subSame \u0026\u0026 ConsumerRunningInfo.analyzeRebalance(criTable)\u0060 appears character-identically in 2 files \u2014 tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerSubCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1a88ae408b3335a43f0550bbfffebb183efa3d8a593806285561df1461480f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tempProperties == null \u0026\u0026 msgBuffer != null\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java, broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionMessageFilter.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c16e3708f2fb7261da964f97e1ba992d70ab7ffbc196b571438b6071536ff0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.brokerConfig != null \u0026\u0026 this.brokerConfig.isEnableFastChannelEventProcess()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java, broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a83999d4f89326404b20f4ef239dcfbc5b96d76c2527b81e9471b35152dbf6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.brokerConfig.isPrintChannelGroups() \u0026\u0026 groups.size() \u003E= 5 \u0026\u0026 groups.size() \u003E= this.brokerConfig.getPrintChannelGroupsMinNum()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java, broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea468df53865651a6a8217c4628a2bb90ab54526aae5df6697735173e9d05dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.brokerController != null \u0026\u0026 this.brokerController.getBrokerConfig().isInBrokerContainer()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a71c759c9482a7430f71941bf64dde62dc8bf52ba9d5c3d75d6c9fea836bc1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.brokerController.getMessageStore().getMasterFlushedOffset() == 0 \u0026\u0026 this.brokerController.getMessageStoreConfig().isSyncMasterFlushOffs\u2026\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java, broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f4a11ee735a9af1b0ecb4fe274fa3ec582f9eaa4f7493e0756d9bbd7ab9881"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.defaultMessageStore.getMessageStoreConfig().isMessageIndexEnable() \u0026\u0026 this.defaultMessageStore.getMessageStoreConfig().isMessageIndexSa\u2026\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java, store/src/main/java/org/apache/rocketmq/store/index/IndexService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b1287bde0388b8f852bf5b6ecd985f145d6629e5b43301b61333b009eb1cc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.messageStore.getMessageStoreConfig().isEnableLmq() \u0026\u0026 MixAll.isLmq(queueName)\u0060 appears character-identically in 2 files \u2014 store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java, store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c64e49161bae33cf58dede8a0b0044c16650bd055acca89b97f82950cf6422"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.state != RUNNING || this.state == SHUTDOWN\u0060 appears character-identically in 5 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java, store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java, store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java, store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b6dc3c5770083820e3b13109888efb1b8762bfe16fd352f449fdf0e2306135"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060topic.startsWith(MixAll.RETRY_GROUP_TOPIC_PREFIX) || topic.startsWith(MixAll.DLQ_GROUP_TOPIC_PREFIX)\u0060 appears character-identically in 4 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java, common/src/main/java/org/apache/rocketmq/common/topic/TopicValidator.java, tools/src/main/java/org/apache/rocketmq/tools/command/stats/StatsAllSubCommand.java, tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicListSubCommand.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"840733677aec32fa0f6ff7ab15b1fff0fed94870a04d0928eef48abdbb243246"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060topicConfig != null \u0026\u0026 !brokerController.getBrokerConfig().isUseSeparateRetryQueue()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d792ba26eed62c80aaa405768ebf6d91e5519ede916f18bcba6110c96977d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060topicConfig != null \u0026\u0026 topicConfig.getWriteQueueNums() == normalConfig.getWriteQueueNums()\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java, broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/pop/PopConsumerService.java"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"f407b844e7c1340872d558f95baed533133332e4cd2387f9efc45cfd78dd742d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060topicConfig == null || MixAll.isLmq(topicConfig.getTopicName())\u0060 appears character-identically in 3 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBLmqTopicConfigManager.java, broker/src/main/java/org/apache/rocketmq/broker/config/v2/TopicConfigManagerV2.java, broker/src/main/java/org/apache/rocketmq/broker/topic/LmqTopicConfigManager.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/config/v1/RocksDBLmqTopicConfigManager.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"916807d2c483336096b38d8831d316a8be8358fcd0bcb0fdfcb2e0db3e5d2cf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060topicEndPointsTable.get(mq.getTopic()) != null \u0026\u0026 !topicEndPointsTable.get(mq.getTopic()).isEmpty()\u0060 appears character-identically in 2 files \u2014 client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java, remoting/src/main/java/org/apache/rocketmq/remoting/rpc/ClientMetadata.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"45faecc14b66801618a0e76bc87c09db52b070b9257f6cbadc290bea7180e9f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060topicPublishInfo != null \u0026\u0026 topicPublishInfo.ok()\u0060 appears character-identically in 2 files \u2014 client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java, client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"133c7ad6bd8d0f9f60bbdaf586807bf658a997cbc3adf7ee8a4605208310ea4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060topicPublishInfo.isHaveTopicRouterInfo() || topicPublishInfo.ok()\u0060 appears character-identically in 2 files \u2014 client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java, client/src/main/java/org/apache/rocketmq/client/trace/AsyncTraceDispatcher.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"467b1a4afac4705eef49d70be7c630d9c00dafcb60acf01bd05495e794a47c69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060traceOn != null \u0026\u0026 traceOn.equals(\u0022false\u0022)\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java, client/src/main/java/org/apache/rocketmq/client/trace/hook/ConsumeMessageTraceHookImpl.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"37124953cbc20ae019ba69b677f2990e7e343493771566dd715912f846aa130c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tranType == MessageSysFlag.TRANSACTION_NOT_TYPE || tranType == MessageSysFlag.TRANSACTION_COMMIT_TYPE\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/util/HookUtils.java, store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/util/HookUtils.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b042ed085283bf554a0c4a44b2e5520e3a9affc90c307b8d0328409470b751"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060topicLength\u0060 is read from the bytes being parsed at line 213 (\u0060getInt\u0060), then used to size a \u0060new byte[]\u0060 at line 217 \u2014 and nowhere in its scope is \u0060topicLength\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an \u0060OutOfMemoryError\u0060 or, negative, throws \u0060NegativeArraySizeException\u0060 out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060topicLength\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueOffsetTable.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab5c5f0bb6aef9a26aa7c20a99a54e475c855f8f03941bdd8b31791ffd0c53a"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060topicLen\u0060 is read from the bytes being parsed at line 350 (\u0060getInt\u0060), then used to size a \u0060new byte[]\u0060 at line 351 \u2014 and nowhere in its scope is \u0060topicLen\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an \u0060OutOfMemoryError\u0060 or, negative, throws \u0060NegativeArraySizeException\u0060 out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060topicLen\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueOffsetTable.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c584f7e042f5f38242c323e47018ffb6395de2511aadd0e4ee6ba00da298c9"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060size\u0060 is read from the bytes being parsed at line 158 (\u0060getInt\u0060), then used to size a \u0060ByteBuffer.allocate\u0060 at line 159 \u2014 and nowhere in its scope is \u0060size\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an \u0060OutOfMemoryError\u0060 or, negative, throws \u0060NegativeArraySizeException\u0060 out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060size\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acdcd0c63b3d971ec180c2f9eab93b7dd95faa24ffc84d066215ff17ca67e17"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060bodyLen\u0060 is read from the bytes being parsed at line 505 (\u0060getInt\u0060), then used to size a \u0060new byte[]\u0060 at line 508 \u2014 and nowhere in its scope is \u0060bodyLen\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an \u0060OutOfMemoryError\u0060 or, negative, throws \u0060NegativeArraySizeException\u0060 out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060bodyLen\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"15371977fbc948e0202842af763bd17c87f412830d1925aa942300c35641cb75"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060bodyLen\u0060 is read from the bytes being parsed at line 719 (\u0060getInt\u0060), then used to size a \u0060new byte[]\u0060 at line 720 \u2014 and nowhere in its scope is \u0060bodyLen\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an \u0060OutOfMemoryError\u0060 or, negative, throws \u0060NegativeArraySizeException\u0060 out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060bodyLen\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e2273cbd6de880dc62d1c38defdc09ab1cec5e1edb8c1fd111cced53aff64e"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 348 is called with an argument built by \u0060JSON.toJSONString(queryLog)\u0060 (line 349), whose cost grows with the collection it walks. Java evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isDebugEnabled\u0060/\u0060isTraceEnabled\u0060 test, no debug flag, no lambda or \u0060Supplier\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/FlatMessageFile.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdd6293c0b1244ddb27800495c62c18aea0bddd868cbfca8b5f3306ed557dc0"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1407 is called with an argument built by \u0060JSON.toJSONString(queryOffsetResult)\u0060 (line 1407), whose cost grows with the collection it walks. Java evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isDebugEnabled\u0060/\u0060isTraceEnabled\u0060 test, no debug flag, no lambda or \u0060Supplier\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5dad5134a090b4bbbd65f191268c9680568900efc5a411bbe08252c03f910d"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1410 is called with an argument built by \u0060JSON.toJSONString(queryOffsetResult)\u0060 (line 1410), whose cost grows with the collection it walks. Java evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isDebugEnabled\u0060/\u0060isTraceEnabled\u0060 test, no debug flag, no lambda or \u0060Supplier\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e99fdf03b8d42ea752978fb8373b5eabcd2dd95de931fcb5313be2da9457b0"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1462 is called with an argument built by \u0060JSON.toJSONString(queryOffsetResult)\u0060 (line 1462), whose cost grows with the collection it walks. Java evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isDebugEnabled\u0060/\u0060isTraceEnabled\u0060 test, no debug flag, no lambda or \u0060Supplier\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0442ad1f6be48afa2bf91f64ed05214a69400e79dbf4d747d23e2b75ebebf2"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1465 is called with an argument built by \u0060JSON.toJSONString(queryOffsetResult)\u0060 (line 1465), whose cost grows with the collection it walks. Java evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isDebugEnabled\u0060/\u0060isTraceEnabled\u0060 test, no debug flag, no lambda or \u0060Supplier\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e20df98862105cab04177809a35108e355e0c0e8cc8266e0a6c86f27af991d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a420c3d605b8554578885f720063f47fa1aa65dc143911b2f5bd7584c350193"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"be28aa6c209705ccac28cd92ea11524e7d18acf1f96639dcb981c4eb3c52b780"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb32199460f804d73ee4d3aad716a245103c6203a546c902e9a363874fc06d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/util/PerfCounter.java"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab1716026967a1527e9dbad29a9ab3b1a4f475d7a5216dc32e5be7d81270e5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/util/PerfCounter.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1ed41a3a4f12e0056116baf060fc8b569fd9c59fdb20e4f3d91071a30804db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/util/PerfCounter.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"957b8a3bdc54dde051a4ecdf5d9720c03925bf950b71c32cc6970032dce328c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/util/PerfCounter.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b9c8d10c7c8ca50e1e38366164085d4005b38b10f6665584485c61805b7fb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/util/PerfCounter.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"082a123bd3b68328065903c79fe1d3707c332d47c36bb5a42c58b36878244c52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/util/PerfCounter.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9219c5bdd38134775004ea814ffc30152213b0716397c6e11d070fcc7452719"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adc110510660ee5cef1f758c4b83d4919eaeb15192e6a3023c283a350aaf183"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbee32753fa0a5aec12b44b6138997f13ffe1e9bc1a04bc71cff4008dc552a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStore.java"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d315ce2425792259a8b6a57a3e0b72d87fb8acbdab89def89dafc1727a5409f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/pop/PopCheckPoint.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0724915dde314370023bec12bc063d13934857e4b17399b26fc2f7ffcca11c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e93cd9f8307cfaf1d1675b200804c9bf2544a42aa8e66b59f0bcba6f07473c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/lock/AdaptiveBackOffSpinLockImpl.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"633c39b3d5e8dddcc420e2c42b1cb96f7d0c816e019430ca7ce65676b6f08921"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/kv/CompactionStore.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0573eed14c977356475e9652a090040948e466f5e568128d8b879116bea39332"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef99bc0a31d48da42f36b8d5ea151a96357eee2dc916002ea98477c593cd4a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10e61c08b5784efda34b78ba148093e3cf32a3789b1e9121d7b64be4eb4b6b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"2134d930a3c1f8409875494e02b2e5b4b2e77c7b5659a8866726c8f431b8e944"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"82981d2e92141622141e1b3e952b8a03d3d3558604a77fc7c3a0e5d87ae21170"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyLogger.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"84645a41907a5fc2448802b4a67fe1a85573cf60af12bf1c7ef656f446009f3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/TopicRouteService.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90d9654814da780d7a5e2633bd07471590ba1ba3a3dd289addda946609102cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/TopicRouteService.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d34e2131669f26e7c8814433d2b73a543a386ca2cf04753f7a1994bec310e3e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/ClusterMetadataService.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a06a9221364d707438897f74d83342ff3b2f534085d80b318a1138b4b0fe22"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/metadata/ClusterMetadataService.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d7106a3ff5c2eb41e85398444c1d49088a82f2d894bf7859b8f209ab963d97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/admin/DefaultAdminService.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8720327b83c57138e672158ec807332332aced924ced5350fd100f034da45bcc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"91470beef5835d56f8ab40cd5c5674c9c00faaa64b4e1cf9d35d87c35b0a6f7b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/producer/SendMessageActivity.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"203bbc4d52ebaae9ae28bc3b855465270bf5c95c105cf6b31306df1769274b07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/ReceiveMessageActivity.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"3814fd645f4391f87a4490f0fec7940d6c0dbc20ee8c047e8c684de3e9d9bc7d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/client/ClientActivity.java"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca88c33e89ecb4e039eb657105103915c9e9e6ee75e124d6441d06c315fd3aa9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6730511fc01a06c7535bd18dc43361441dbe2b13f74c96ac351b13b1b34e91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"352cad33322753cb22222161f8e007d07405f51df03ba29e37a2349e7ee7c185"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"538e46214a20183073dec8ea5c6965f6dbb1c47479a45ee196e72d0ee6bb3009"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e4f02a1e8fdabbbbd2c1344b8b1bd276d5875eaed3682d0dbeefe03d8b58ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebae3084c545204cebfe7dab57d37761715a9ec343df41dcd460cd5a75f7f9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"450a358f1e4b6ada60e17a9615bd486fe3c78b63bbe29a10e9228b71a5773d19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2758ade7e1385d813bbc7016172652be0c69c59f4776b688c065a71191d9f625"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd2afdc51ceadd1391ee996da26bddc77f87c72171b0861e6b3410079704aac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff95acf1c34a048940b9369095b5f9725df4f77b972727e37a8d210ef916ee23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e259a61ee2f43f3b21fd3fc615cb0a4768ee1461c027e3e92fe74ae030e52e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/AsyncShutdownHelper.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71cccde0a8d0b2febc5c163f42361edbcb8f2f2d732323dac32c3e7b036d769"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/ConcurrentHashMapUtils.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a532722c11981fdfd85e255db0286bd78f5df2ee1971e00cc23bfcecacad632c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/IPAddressUtils.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c80aac69ee757caccc34d255cc0bac83fe8479f50e7b86eff4cf6e65bbd67b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/IPAddressUtils.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfe611958001b429bfac8baef2f5bbc04f504fe64f799f2dd932f05be1036a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/NetworkUtil.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5a7c65a4781b1cf5bdff9b9eda1028ad49f1903abeb10e964e5f7b1b026983"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItem.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"feeeff6017b32347e1ceb1101e0029f45132cc942706af77885c1648cbd4c20e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItemSet.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8a07372c71e908ac56af41d79115d3dd260dd84089a0f504cec536ba8c965c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2b0259bcf6ad84fddf45cc7ab9e93376e275d68ddc73ad1f5facc3c7e41692"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"984d38c7c97199cc1b8f479a6910ec569f5be3ef57adfa64684c6b5a1ce78485"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e446fe9b1e914dd5b6ccf3e7c160c312afe4e9ab0316c4ebcdfb35288f2fa7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19a47a18ef639af948adf51e1cdfe4d0a1b8d5a8d0ec47af7338c7a8665e269"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42b21320123d0b7402655ec43cbce5c25cd79583485523ef29f134a3f24be82"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"01768be2cf2187d3879b6cec764d12bd8f6fafc8a122fcec3282891779303c5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c253724cab8cbc9a7d9de51d80a0d7e3b212d32acb49d002e9fb8acb3d6a58"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a581c42c00402b2409fb0f6d83e5dd0950582d0d4e6320e6f794cf1647f4877b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4067f1c9d308faefa3e1167ee3b599e6d91e5919a4038eb8f16c6f237c4c556a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7da858d24e5640cd4624cf2d59e84ac4d80e77eb01e0cf0e0f062732e82d412"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f70841a050caa685561b3b330e675ce3c9edd6b921515d0da36230b0997ce9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"585671eb9927a6d29e4f15dc5fe0f59c6c2ac0b763f321fd11ad443dc1535f2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b396dbec1a2b0bfdca8153d8311a9715460d5e5ff1b943ab956642478be06f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c52c1ca575a8d9ea91700ad0250fc113261de1b7e96e564be47fa83c000c467"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/hook/DefaultRecallMessageTraceHook.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2b195c02d0b671dce767b5ea56163ad77ddeba696d125ac80691a7ff5d412c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"c575de8f2c0e9c5f6e1be97565558e25b30c6f5dd49407b0dd4e6c91b25401e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc41bf8af7aa7d92ffba8cc20eaac532a3da89c67f369a9935f1b2175096fbe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"389a03846abb2a175061ca6c4da38a15781b87865969ffb3f54d4a373756379a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"67560c271cbfd0d8edd9f7820720aebab421435afeceb995063a2b99f9f7aa06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9957bcda2e0f24b5638f212ceeb69ca90cca42746784961f09085125e2a4a53"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d64f9ab5e226c5777288ed0b21e5c1b690341f7dbe65226b6e0d13d2b095e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"107b19bebde4582d5798e1de94d8152986f08b83b724d58458c47e4a0709bf6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"788cc930d9429c053e592cf2b8d639a16daa3fde99c5f6feade7310d3a3f2583"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11c85cd1c102d88b98e91dccacd4f259e4e065e699d22158ed927036d21bcad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb561f4d0cf2d1462e5b4ae2c6bbc8584109c38c8b988a1f1f7129142fa5f8bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2561104c8096b5f564445f19b1611cb4985a81d1731f4cef0a8e2f28f8f515"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPullConsumer.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59955879b21efb84c213a70473615e04d670c3f3bb11da863f5d4ad64906957"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"d527d297cd14411463c97629a67a88c95dac29b32ad5e3d20a85488b67241a0a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d83f1db217e184b2d0aa3e9ad57a2501440ad1183934d3ed4e11bb0f2996c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageUtil.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"599d38f1f4ed8c32860420a0f7887a67162bc9b5b896fc37ab71b4e112314e89"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"49939a53a03903195d0c90a1cb3c2addc20ffc8e49ffa3adf85f317127363ce2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingManager.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2004ab37b20702af013f0c64dce9b8258418565af560a17817e191ebb7cb8446"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"24021d1d954ad99ce70d63e0d9f2af11c2d043c16d241f5dc4123eeca3dea56c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81a644a437f995f7b0fa5f6d52c01cd7a6698a9e0e385617a7f34bcfb403d23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbab70352e97e3d2d622cd13286fb66ae05d7f35857c5535ac93fcb774cb748e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopLiteMessageProcessor.java"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfd184e14e1b7e7a3d2f0448d13948c5d88121889aea17e1754407013ef24a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea6b4cecfd157a24dbbb83828da55e78f6c05c1c56f53ed5fdce3a54bcf867b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"19562c5513a5e6447f71db9b1847fd5eb8705c0c1d508786330489e5ea287d96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce02b1819f763746c34eddb10cbee9d9ff58e48cc30d4d808db8b35a19fae15c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLiteLongPollingService.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17b0a902b9ee0dc21fdbd38100965a88e9712c4575f8262d633907843ea1a2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9622284eb7ac903b58403d28c96cdf47b04da350a7c02e29efbe5ead53783415"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9263bc96313d3fac2bd8673de1f50ae912611a518c1379825e1f5baa24f636c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb9588ec5dad406188f4d5c21fcb8c097f2803a8d472b95462a0e676eb660d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/dledger/DLedgerRoleChangeHandler.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4cb85bbaf4627e6bd1cea12d9990e64c64fb38bbe6889a5ec2cddef946573c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/dledger/DLedgerRoleChangeHandler.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78d742978c9d77d013ec6be9e26e05dcaf14dee7536e7b6cd4f9668bb1e0689"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"402883f77d556829f3a9e82f5edbb8982e5a1edeaaedccdab3f4343b339c4fac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/authorization/AuthorizationCompatibility.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4561a4a32dc13d551996adbe35cf7d4da6ef05881ac585211bb5a76cbca6531c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 114 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8117a226d7bc78b86bcddc0e97879515a3db8fbfff611605de83a722c8083285"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 125 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf547a04abee60a379873b4e31066d13cba39611de4e09818071156ba1002d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 135 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb52a97a0783f10af93ebf2386225db4af7986d4c523235c742c4235e15bfe0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 162 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df6ea28794e5b6d57593d7d440ee193b6723f9cef44c3f0f517fcba27694cbd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 167 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc09512055be5d3972e662b5694b6a52e204f08135a634c13de92f832c8f0a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 180 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c358102c69528620fce8541066194a16451a4b7ca4b0eca0561edbfb2de545"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 185 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84c02a15b112b29f51f7c41b803db46ec3c81cb5751af2f2f7f2c793ef928d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 212 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e62e2c0333a754af9fc418113610ae7edda4500c1de54dcc4d8b6bfbf9b2bd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 232 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f627cdd683f1b50edc0e5c096733f696c359e917496f0d8f7b0cda7a92f233fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 236 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b5ad4bff39a835a6dfadecaa00d34fae84906bcdbb7eab1e50c451c314f68d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 787 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"4354369408d3b852f8d72155db9e7ae25ebebad8f4056819befc3f0005390b3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 129 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1815d24e17040fd536ad24775f24aeaf0a5309c11fa92afbb253ffdfd36d3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 165 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74c2d4e29eb68628b164ddf166d144e87c936e7f136ae077cb712737f576fb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 175 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea74656ccaa769477ff45e4fc48918a7da9cbf1c1033f82338e6970bfa0ae49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 183 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cb7c72f95c4b9e9c6e907e6368296c009956488ff6966f62cc8d2f046a7791"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 186 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c50eda0874dd68f89b09a625f01cadc37a092ad3a7ead0ac894518f9341f35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 759 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fb99a98a2dc47c385026780f101118a525658fd8ea4d996561ebce111dbec8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 810 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce0d770f06914bbb3ce2ca5044b6bafe0cdd6149bd6ff6d2eb77b01a637b36c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 870 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f9d14b5c19004c1f6e7ad370e93ecfdba6e245bc1e2b2b7df109b2c953eb62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 274 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueueExt.java"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f3eed71e587d958fad2df21ea07084ebb65dce77a41f0325809907eec11c65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 295 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueueExt.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c0fb2ab47cb74cac23f58f4175ef1624e7daf59ab66f7f9fc74c4e6b99fe59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 338 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueueExt.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15fa909ed9a9e36943d908bb6abea12a70c37562e1f02d8ed3aaea004405345"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 342 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ConsumeQueueExt.java"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac06a4c9298682605267cfef543bb3ca1ac677a55f2049a3611e051449838541"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 874 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85169db6cf320946e31f27bd3eec94849061a3ee0ee6700bd193511d99d0a76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 938 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24aead3c8860f2a3819cc092b6c7c859d88510f3859fb663cf3b7827d9c7156"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1917 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"00124af249b28686211be879a03568730e2df723b52e08203ff1ad2c56c6bd28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1928 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"62485d78550c3038268e5188c45754442f197f8cdde066446ba56cc175aee633"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2296 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86bc5db134a1a0f99ce8c746465f42f42973e5fd0347fc213ee9e1ff90f5b05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2364 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee1a543030415f5e580bd8cac0aa326c5c698d7c26e0ba9429fb9a90bc1f7e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2451 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78a43d63dfcbc801e5080a7faae6f3df428bfa58606411ffd4738f798ab562e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2463 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2463}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af3a7c20f7a82971cd7ba9ff28fd410c9c98d49c9853d73104335da2a61b746"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2474 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f61ae3a2ff388e135a95c9a6c924b915753127883fabd5da87d859de6fb1e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2485 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2485}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed9562700dd838f2c2029940b87f78f3341566b7db8ad109f01fbddb3e3f3dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2494 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c4decb1958a2ab251d4c9864bd57dd538f4ed08da1acc20cfd0ee1dcf7082b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2499 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c38836c0afad0207d54e390d970ba25a77d3c18b0b73a4a37c6b5a10c5c41dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2555 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f0cfd68d1eda934886b538034224d3bb06191c4e4b48f323747045d4ca79ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2560 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2560}}}],"partialFingerprints":{"codehealthFindingId/v1":"262c8fed305f7dd7c7d4bd0d1a3eacefd690cacaef3181adc1fa54ebabb9f03c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2568 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e94c8cf68c5b0fb915e4494ce6cd80de40c369be31d676d3397a536f07244b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2836 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2836}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d74ce3104154f4ccfca28bbb6443ac5bf8802c9efb96d7ffd0f96f1e86439d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2843 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2843}}}],"partialFingerprints":{"codehealthFindingId/v1":"7547ce0cc84bbd3348ea77010e992c3dcdfff41203e704396f6a77fa27b2ccb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2847 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2847}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb6a7e7a31aec07dfc78f54a30a31b4b8ec1ac571a2cab57d7aa55064d49f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2902 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2902}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce6007be84237b1c971b23df4c60d4dc442b6387f768529c9ae35b8aeccf5c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2908 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2908}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6fc3b27a9f3e718734648429fa4bfd453705373f7f3873aa2ecd1b36935c1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2915 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2915}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc80863de518dbed9df37019b17b40d3fb9732f71a3a8ee39f1032f1ba48b6a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2919 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2919}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c640dbd7cbcac26c205bdd0055deb4c7d813feabb54d7678e866aa22c432db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2966 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2966}}}],"partialFingerprints":{"codehealthFindingId/v1":"c779be0c71bff19f99834853273afefb759b13f61681a9cf1bdf5c8ad9583f5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2973 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"3242d5a4126fee42ccb73218061e49401d95d0e6dee96726f4f4a2e43af95429"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2977 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":2977}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4dbb76441701cc3194f06ab9337369011951d8e2c1f8d850f4e49d69ee4c40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 287 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ccf7a5370f68eee76b2b1250e69c5459bd9525c1a9b80ede7e3d73a66ac5d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 299 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c55682599b823c608ee6f1f59b05251112e9a288260495eaf4cfd31d33f10e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 301 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"69026cfb32cf9ddc4b3ca7935fce2bdbf5ccd5bccf737875820b9e2f76245d9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 498 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c59602356bfea2a5388f01a44d0087b7ec49eca3a5c24ee3b2c113258f32ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 575 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"7910e11539dd37f3f5b8835f48b809ad0baa8a992ca6536b06172ad35ec7732f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 624 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8cc59070ce8cd61cd1604216abf62f22aea6d4835bb3783c696f5423bfbfdf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 778 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"18afe12c023c1655ab25e746e6bbda921d70f6edd53926b5be12bee5ea86a049"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 781 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd7fb1c4d8c4642f4992c48dcfd4598fec83848fb22bc47b5489fe0cb08d217"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 786 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc39db176a017143f59032a8cf60724edb610915e759b8c7afbbbaaf039a3c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 118 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a250b1193dca47c3f23e8b8fb9c7b099a7dc26eaf82714b0e34c4940a2af89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 207 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d42ec0cf3adfe74cb8cc3c1fe92d315325c0a82b04b6cb0833e48aa4a23c72"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 216 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1f60219763f75dbe4ce31b10d1da5b7f6ed9a5fe9776c241448dde81e49244"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 289 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e63aa5ee184dd4eb2f0d550235538bc9b74b2062c76ab1b55f51fd92d004868"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 55 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0d1fe0d4d59f86f6795521d755f8b822e092270fe25e752a53809ceb3868fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 63 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd8026b8f521cd926cdc0ef61dadd10a21581f005f8e0e753fe15e5f4f39058"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 65 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8606ed20e33a709822725629aa34d17651f7bdab3affa44f60113af723a3ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 67 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"92890d90969d5966fb0d84446dcbb7a69e7370a97898208273ab185e4356a9d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 69 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"baffca27ae035068402b77ecd73ca8ff204747bafb6e5d3a890713d9b1904bbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 70 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ab788789d44d1f78de87a07ffe89706bf19118b9df8c47300024e425e5bace"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 71 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8824135b202cb91d6f2ac26b779798993774ceffd6f743df26309fc35a4a5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 73 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e1d931e3a550553f05fabf611bec11d1fa394e807f890ae2326bdd95a01bf4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 529 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"d289d486ac408989e847af578383da10f9d1fdcbfe0037da1d69d124f2ea976e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 539 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3047d50473eba703c78de7a8924c6b6a76ce49b69a761d4106de21e250b9541"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 543 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreStatsService.java"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b209867716b339c254ebc652903b8d24ad0fca52be2f94dfcb2ac8bb68e58d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 300 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafcfd59edb425ecde2905c5ce51da021a6fc0b6a6a5c3417bb64e0e28b9cbc5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 310 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/transaction/TransMessageRocksDBStore.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b6f50846c8b2eef32d842c5e6624d3d31b04854544442e3330b36ff153b0dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 61 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb195cdc0e00a53d90da2adc3fcca086ed9ccc3fd4480b7aec785f5db5a91850"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 73 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3eee6241fb9b89780382927871c39de333f77b759eb8e590e45f3ddee3ae35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 75 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f875470b310b927c479e98e7de2d56e85edf96b5c21d787f072b48013a46814"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 76 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc1711bd0bca0b77aef3c17fad4baea06266eed854c861642016b4dd3039a69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 77 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d88f5e8f1bccfee1b44c533091ee17efd3d2918c00a9f2a516796d4976102a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 78 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c670a47f7913375fec638931722cfe95b3ec97b924dc79437829abe31f0cbe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 79 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0808ab397a4c1406ee3c052c21b73cbb7cbf8822acdf34e99d96b0d2bf781c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 80 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e42a7fd046d9fc99a0bba33af3c3e6deb30ed04ef3d4c5e67671d64b5398441"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 82 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerCheckpoint.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0c16991a37cb6abb23e890a0ee1ba93684931ed32c82cee7fda916f77111b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1421 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16c49387971223d27b4af479b65938fca7d37a4ed98d2ee09ad567154d9a41e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1431 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d98c19748a4cc8151f05dbf3ae04ea9dbd0caaeab4bdf4f849ad7bfa8a9191"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1434 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a03a31f8361da564a9352ef5cd6ab824f639f6ac00a68996c801cb93249f02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1540 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c1ea2f94df81550a44a6fd8e7014734870f88ea56c7fc639f8b765dece9cf8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1548 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"911732c8d2adefe6226d0cb97e6836c0e3ba6822658936d83e6dbbab4a265c28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1561 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b93839606d88a3f0f5baf32f1ccdf3ef7f9561cd80c160a8aea81f320f253a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1573 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0bb901347f24114ed6b7b7fa98efaf29aee23f065c73a5c795eb19fe0bdde7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1576 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa30d962cfa0fa529156e4616c133004f8b67b638046a47c6fd766c67d2303bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1613 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f41f391807e59102b40d2e0a78b58feaa76a4a92322b2bd256a01947064175"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1691 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8aa6f6b7d50ec4a659991a419b5a91cf5c183f6784de6988f209de30c5b74e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1694 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"e698becbc23a40bec206c7be0fa4cb32d88d3f394127402f035edfd577f614b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1709 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dfbdac64fdd709e7d862c9b7bec79073be5ac6d1f6c17e46ecf29a9e2079a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1774 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"399b24b0b3489fadb4c98e5872428bb5d972db5026af9022f133e45e4267447f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1777 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee92c9512d508f75d4523910799d82fd1f9b100ea0723944b246cd99da4056a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1795 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c9ee8b1dff03f9464a515b92520d86e25a9e65e65ce4d3b675694dbf289e39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1802 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"094814f001b1a92359733067744071173bae5377f6583b10bdadbc27e2a9e845"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1805 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4f4edc64f35ee04eb4d1e0e1d54c54a5d5640f6e2fac5fcc49f3d1b988d221"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1835 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b6e15ff1d7d45aa137e051606f368dd2f0813a4f9fc3025e4191f3eceb5227"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1840 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aad1833c29ab8d6215c02ab1e345ede6425c463e051e166f2772686c898e17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1848 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"8950f7825adb5a6ef545b5446f663d4e2150a3d16682e726c672a555a649d621"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 94 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerWheel.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaff25a0b92ff8e456c575931ac252419e3129850ae30b1d58a08d0dbd21e25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 97 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerWheel.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8c114cef5e4cfc8b63f36c4bfd9989ae24fceb2d41207654a8cfb047b1dea5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 234 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8cb28b67534bf82cc8dcc875c572821523fe0fa34d95645a3b7af4cf94db8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 243 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8f075a8c914fbc51db00809d1bfca4c648b625281e5f323dd224f21c55a960"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 338 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebfbee7dc55f55ffc5c87f30142681a5eef62ddfbe850cd7e0670c3f59db109"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 350 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbc81a77eaa0d772defad0a16d311672ccbf9d4c41842319d3680e9a791aca3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 386 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"029ad813f9e6ed62b57c1c5fceddf40aa4ecb9b65f3ad64de732b9499161ce8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 411 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e6776ad805d9da0c9a46161c219cdc663190788d0c6cd11c30ae8c88ba7297"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 424 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d44f27e48dda635339b6dbf6933da53d3be4756ccba9c6b7811c3dbe9f2dc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 429 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dd6f627c8994f110e4051d8abe6eb1a52e592f2ca77189917c6a61e44579b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 446 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/Timeline.java"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa90969e1420b6d265014fbe7b48d4028be3a8f89e63bdf3ca795c70b1fa820"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 416 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c9f2f0722ac99df166f4b0eab3b0c92645da0a37fe6d694ecd499a0f341ac6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 432 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb95fee672a9c1e651a04775fc9a45932874ed5a36012fbb423577b65492e5a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 534 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"e956e9db4bf54a63da6ea78e7734d21ecfd4bb129eba44897435ccd5d7680368"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 556 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/rocksdb/TimerMessageRocksDBStore.java"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26485ea39f021d021b207643935f265ffb25a50950f54730fb9d0f1e0604776"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 272 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"814c2606882753a34173b47f83d7d4c8cdbe9fbe25bdfc78ff51f00ad1205661"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 544 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"705565aa23e2f84ef14c42d871ce080b84f4bf5e461e964f461701eb334ab8b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 568 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStore.java"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5a1fb7e1d09012dadffbbe8a33507d06a60245a5da548280adbd1942dc4876"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 717 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"6013dff8fedb99e7533bd37d77e213839c7dbe62b60094af2dcd9a4b14ce26e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 725 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb375c2cb0fdebdf6c961ec5be9c59356a28e966160d890b9e92c833232ad8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 731 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"65948b708c8b1862dae528bbbcfd3ea975b33a18f1312b81c7195107f535dd50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 755 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"437ab11ab75ecb6544e36021a7e1b6e8ab62d46ae70f58e55749725035860836"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 874 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c19f927f74474ae2e8fb26692cc0b0dcbe53eb4f3a03f09bc3f9379a4acd45f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 624 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc50f865d6537f207eda56b4fd723aeaa1f3c0a5678ecca0dc1a061efb687e47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 660 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"6946dd77f128ea2ded51606b2253ca91b157c6bce6dd548bbff5ac5ef29b2239"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 666 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"2245988758019f92071804ca9af8b52b0c49be53a5d45c27b0ef3558651a363f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 671 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"629f761501d015ffc983e43db6f6ff5380d68436cb8b2c7c96519f1ebb8efd3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 101 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb40ff3af34ad5a29bb976331ff8aff3e67ed3e8fb05626d8fa1420d48c6cd5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 224 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b370fe4aeaafb4a651c916a7bbacb292ab46f287c75cc3368d7a178b458b253"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 227 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d65c5b6642e5230db52b8131aa6dcd364faa7e276672b1ea9125f18fe82fce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 271 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1b6ae4c496a86f7e3a714ebaadee2b54e298ae48a5e5c5526d6fdce3e6cdc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 275 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da63997a06ca2320a9b5d9ab8b8991f03309f4b8335b088adb0ddc1263ce94f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 554 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c618077a2ddeb36f17b9bd5bf2413a4284b1c7aa5ea3550847365d32469facb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 576 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"367f1d558b9d406388b99f98f300e980c32b3bba6eddbf837525d3ae086333d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 679 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"3009b3c61ffee37a855d0338c33cbcefc363fda8ae2337cf1f98fc8987792ed8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 683 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e473e4335f62267cb390ba6343d2dc06daf6611bc3c08476858aca4bcbcdc5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 711 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d567ae485eabeb767652d55abcce7e3fc930dc239cdca5bf16f812eacbad60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 717 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aadee60323ce894290289ad5858f4ddc5bc21fc90fb79367469981c46761289"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 724 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"695dc80f3c810dce98938d3487195ad895f2cb7f584eddbf18248f63a6f7ed18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 739 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f312b4e594146f4f19551baae1d0229442e6e1cc5746062d45c224bb941f4209"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 751 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c7ef8007ce7ad070c876ec8161a2282c385f3f095bca63e09ad06b4c69f2f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 755 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58859fbf2b8e4c57fd42681c720c69b981f9a85263cb45c76f9d68af29a48e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 761 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5ec036deba5ce97a764a489acaee33cc489678af864f77abaf0158ff257f1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 766 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7135cd152f2deeb43f478d92e9223e35acfe0dbfaaa80b60efc86f816616eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 843 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d5e2a1b030e2a7cfe23ece8a4c9112a3336d4d0f6b4e648795ca25d36085b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 851 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf79a949a9ae9b1ca49b6fc1578870f8ce696b8c3c7e838dd75e22de097db7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 854 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f47e8fd0a50292845a1e3d660438e3302e2f44128a08389491a07d6eeb5a73d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 859 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9622cafc35594227e51dceeb702ee3206ab3ed7727ee61c8ca0534e1bf98e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 877 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf25cc59c87e39d1ed4f2b9d138add4ec41e8b80b5c9729b3ca549c238b36df8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 879 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"1586b67826278de1ea7e024d9bb9f7c33787ae081de20db827e328cfc9fa19c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 104 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e742fe0d07c4b2fe0eff74c603ad78906e2bb17c90dcdedb48689c978a9917ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 166 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bcb03b0bcdf6005cead18a13c57dac692e9cb5d80775bfbeea607d4a530e87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 169 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4638b8fc637cf6f59683a6f751782989491b0041ba18c3360e119a996a4e2ca0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 80 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"54242afb4e314ff3062a85e15f8f108cf65bcd728fdc447a275ece6fb1e85db8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 286 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1a91ce0c6e8d213ff2852eaac803c4878e6e5fa80b20fce1b3f7c50a17b9fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 314 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e37a86f768cd9b5ee64fb3f5481b51a386862fb9fd59c7e43679be4ac2bb95a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 415 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9dc807c3508561e2de79d0e079b91ca36d2e9e2b6cede94eb603bd1a6970b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 295 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d48ebf879406ee0fdb7e4564a087626e177a958469b1a0cc134e48d71f8468"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 305 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/index/rocksdb/IndexRocksDBStore.java"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f248d21acc4c38fc1663357f51d4aa31f61fce9267fbdcbc866090d1d25c03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 86 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1411565cc99039c15c7bbc449ef96a9b8fd7751daed42e76e9a9845344f38593"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 93 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4db65343db285af5861d76050b6461cf5c620153199b113a6beeb7f570eac01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 121 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d445320b75ea5862b973ddb0ebf99213709f9428b2d9490d72560ffae6c682d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 197 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53063f36347d36e845767f1a4b89eee8022acbcb6ebc4e2b9e03572b65176cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 239 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7f5c883a4e9574a495f353c60a16c580ea3d8a83204b8a3823a040a91f7517"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 304 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb24d292ce034ccad04e3ad242c8c5bf64b11a1ebf1aa3768cd09ba7bfec5ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 332 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a9dffb1ac0e9fd8f712d0852ca9aad8db89d2de97ec1e8ae6b62a2f9259b2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 338 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9556c17ecdad6ce8ecc12228ccef569737a8f24e67fffb9ec35134451235855"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 344 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fb86dcdc513e9a30a8444200dcf6b34dcd88d8bfc490e72a2276cd00dfc569"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 154 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0923aa0bb4a76d6281f4a0a0e507f5f5ed7eb983054acda2212164ccf312e3e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 167 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcbd1ed6ad71a4cd2941f53e9e02a2f6b61892fbdc3412f3a235addc0a7a4d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 171 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41adf30c2f407a0c4c92317f2fa9896e4ab9cfcfa675bcedd3227855bc22af5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 200 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc4d17f318ba7bae25049075a3825eb90eccfc52b9a304eaf04c3d443953e5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 233 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dad7ef91252e3f5fd81c5309ab97fa5e32da9346150cbdb11c22b3b1eb4108"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 243 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb2f6483e915b65ef7962fa48c97cced3ef12cfa4c9ba8275a233313901aa64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 276 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"df244dd3dafdfaa175e667d52fcf376b6ac02261a27f43b76b1afb74f5ba2053"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 304 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc2e910f84b18f5c30c779a94a3d76b65f7b1d83b38fe7356e6271a67badaf4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 372 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"9601276992d1eb6f25b6ede1834654300fe97d284fd5436e2669a9da7fb3faa6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 405 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b11dacdbe0877c42a844afad6f0c6482a50ae7c8db29ec0b7ac1d0968979d42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 343 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"022a3735af4bc62fe1b8999bd2a7728d905cd716bf3f70f6cf91c3322e2ed27d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 356 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9a9d1980138ea852b19181834502540644ff6805e46240408e484a2a449d61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 368 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b8c9e42f5434a3d9b9a89ab0bf0672c4025915b79d5504380702b86d3d2ddc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 375 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feb74f0df4c020e2e5879f7fc81359eaea5e7c94a9ca1e048f7afa1ad4b881c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 379 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"025f3137ca64be9a145fafb0ce46aae5a3b0730c68fe546f27518a31feabe432"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 150 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1056a77fbe4f9d14fd9740d1415de95d885676c339218e510548e0b8acb4e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 157 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17d9789d2b62fd0d85cadd1c0caf6264e9441a72adc35e8be4fa418af3b0519"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 161 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/GroupTransferService.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"924e1f50c75d5224a453c28689b3f16fb078a64f616508de40d77e2cbf637c59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 137 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/HAConnectionStateNotificationService.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fb24fa13529a9b41365eaa87297a4507cecc1165ebf1e3d3b594e14830d775"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 144 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/HAConnectionStateNotificationService.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d3cadc7428f0b0a5bef8db91342eb3e6ee6e53523fbaded412cf33c92053c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 148 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/HAConnectionStateNotificationService.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50c935eb71ef10b917d679614f529164a0d7a638ea43be798404364eb98465c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 190 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc51153ae37fa3d6f69e184bb68d96756e32660929c77d97e36bf910d2f3199"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 198 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3eae917f89abdfbb7d05d31149fed20bb0b8be3f75ce418a345fb035f1ea26c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 381 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63addb5ae92bedd54db775d1fdb79d4adad4af4bdaf5ec71763ecf295d119a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 417 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f4eb5fcd949352dd64a61992af8b71f3935ca0237bbbdf3da94d01eee68d21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 423 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c1d4060c1fb3a8ab95f4791e632e2e409e49ab02f77ef336f111ead98aca44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 429 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb60c8d9f10dfe1e6fa8ed073d6637823409476a8b0d6b1e1b264284efb01d93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 559 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64af2b9f93fecbc305ce2d7ea7a6e60156dbaaccecd9fe21d72f1ac09cb7c2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 247 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfda8c41163a95de5c6d64818d4167a2502862473222ce5cf59782b392cb1389"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 260 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f92d6ca7950d6a48900f30c3ccd73783499424ec3a7657aa34c6cbe8f5fe176"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 264 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"81249242af69e00d4fceb338e7a2432f728a51318c5f87e89a78e8075bf72bb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 293 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"99868a8b8de43b6eb3416c39cbefd445f0acd4fd17e321cc22d7a6c67143d624"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 646 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b892c2902428423cd7bed2ca69074d18a45bf025e2f86be0e05dcd0f2b8fd571"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 723 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad1abef830e889ce6717eb7c65649a4eac45c35001b3fb4ea474fcfcc68b32e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 752 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83ba5092ce7ec7f387d7fa7dd0d4315f5b37d864d79b171e26dda948a00aa1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 337 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f64c206da1162f909ab4a46b0ba6e8c11d6c9ddb8780e5bfebbc5eb7568c029"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 367 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d119351e45e85ec7f53a66a733d1f1029b8cfb89d0b2f1b4de8ef1f5c02b672"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 374 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f17f2b903fffba63a3a178931c532dd5cb5fbde08f6e19cdd518357ed4f685"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 378 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad94d4bdfbdb19f63cd584ee77812abd5b5f5198447d25a21e76aad25a4245af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 946 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4c51da67b15ed73bd553378f3c525e0566a03cc6b90fb244c7750bb9d1df52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1007 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5dc1909170db307841f9f7e53f434487c69b6b1ec2367efe826f45f95c9945"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 65 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"srvutil/src/main/java/org/apache/rocketmq/srvutil/FileWatchService.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1499c9ea454647d4f2031e432d8d9939b7c340904b14ce6cb7f130e903dc7421"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 78 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"srvutil/src/main/java/org/apache/rocketmq/srvutil/FileWatchService.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7435c994467aeba6632da7732e57c1d8f9de2f8da00e8053e69a281c8b69ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 81 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"srvutil/src/main/java/org/apache/rocketmq/srvutil/FileWatchService.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34ae834d507ad415565d6dc8fb5fdffebaa6304041a9e60db8fac7573dd434b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 56 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"srvutil/src/main/java/org/apache/rocketmq/srvutil/ShutdownHookThread.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bfc64359d75291f7fab1e3d4bd2c73b71aec482745721bf7fcda63be673c7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 66 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"srvutil/src/main/java/org/apache/rocketmq/srvutil/ShutdownHookThread.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"295bfe25617954b9bc4dff537abe2c41aea413ac53877f80550428de820563cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 115 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aaaf4064ae328d69455f469377494210b52e51bc670ff6823d5e9a85068a66e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 52 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyDecoder.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fda078fd4ea4132e568121245c63652b04cabe3f632ce00edbc2284974f9265"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 43 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyEncoder.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34a3c96c78bc83accb623ab958b4b6f71d35ce66386f64d1934a06d87aa7eb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 353 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4097345bb805d05fe6bc8deb58be15275582ea4093a2badf49cef15eff1d9cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 384 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d325a1acb9540a6799a5628c728179ce8ee5afeb279ca77fab62131cbd11389"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 569 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1a748d74d1fc3109f43ea3c81a7ee9c865d2264cd8d9f9134db8ece515d593"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 737 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"150483a050fd87f81f5d14ce98e23dae3533c1dabd8747042b89635c62ffeb67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 742 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fae4dbff963cfa02839ee1a8743d105844d50985f8d54f3b22f8575aec798e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 780 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b97cbaab1d94f60e6b73683985fde4299c49bfee0a8dde4b6751e8c5c7bee4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 810 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61acea16c38f75e7c357eea4a4220e4a9ba345121dbc96e9f09c0100f62a612"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 814 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e61b4a068a2d62049b784bd879c15f7e0b369dc370f0245826c48364132135f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 51 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/common/ServiceThread.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa742fc40da46110427fb205af18db6dbe6aa05a552b393d137873bc818fe6f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 67 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/common/ServiceThread.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53f9ddaffb565de135b46f1a041c34af9dd04cc550e6b757517810847deb9c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 161 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02e54b559c26940c6488ba161cee856649463a5cea1e88935a4321649843716"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 171 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81484fa9d441be12e3e7db540a9d144b8ef17b69675fc6f0ff4675706df03a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 130 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/transaction/TransactionDataManager.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"398b46aa848fb6b35513dadd86c37a11e7b1ff31909f6b8cce793b39d3cd0c2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 134 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/transaction/TransactionDataManager.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea0b5d3480bea77e0cd62ab1a6be157f70211fc61e5b24c04bff62bd55cded2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 96 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/TopicRouteService.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1929bf4cf7334ac05287f7a1c501f70a4d95bac51fbac00d7484d7e8bb66016f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 112 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/cert/TlsCertificateManager.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6505225a269b450ab6b10f6fc9867b7132e5d2df7685866dcd26f13b1d312bb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 74 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/producer/ProducerImpl.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"07de39636cb7bc2e7bfd8c11cebac12c56c58b2275f7b3699f0a16e9c01f93b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 80 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openmessaging/src/main/java/io/openmessaging/rocketmq/producer/ProducerImpl.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3575e97065fb6871ac41a63a51309c16c9da5942bfb2b34b417b79ca631f25a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 331 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"574b53431a27136c0dd1c6a4fc4e3cfb9e80e2cf9ebbf0e6f38140ac08909927"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 103 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/kvconfig/KVConfigManager.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e33e693afc6ad54b8ebceeb2af656dcaff876577dce6aee9892295d62fadf7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 45 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ConfigManager.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"548f410770e415ab152f819aafb572860d122dca79874c6d933154577cec6e00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 49 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ConfigManager.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d7382ec34b5b4cb74f066a1365edb2b89bffbf61738c450d73e788fa6b188a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 56 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ConfigManager.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4e8c5de58266952be85fe7f35d3d419df2bb0a2015af9e8d3c09ffc25a8bc6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 69 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ConfigManager.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"10613f74765f1601f8776b114d48585f5b5fec855883a7339f5648352d5c140d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 73 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/ConfigManager.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dade403f4a72b2682c0a57294a69f7496e544002ad709d7d317c35c8b15571"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 335 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"26263ae413fa97df74cbb668ee4dbe68203a871b7184517e220e80b294583717"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 125 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/ServiceProvider.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a443e5b9d641907c3ffc75cd8e3eb19497ae31ac4343ade5a91ef63a8c7d6103"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 151 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/ServiceProvider.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e609864c80056c23c557f7a99463e1330294c0b276ff672e4af8339ce76f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 143 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/ThreadUtils.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b555219aebeced56cad328c4897a85dc669579e0013dc12bea9ecb18f63c1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 194 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/utils/ThreadUtils.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d554cfd1d7b97ef22329bc75113237be91a84f92c8f55898328f7a5f91b4e818"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 197 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"13775c9eade9008f1d3990132235d28e918136e729126c7f3a34bdd5ed1e6901"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 202 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc28e25ba49d5cb9ee3fa43722576eba825a84c368144df63f31cfa0687ed2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 208 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d89bca78f464cb7e577b38532b296132d071656c87cdc8270c89400493c613b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 61 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/queue/ConcurrentTreeMap.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa0f4e8b792d7cb1cb55f52a83802e19e1d953425ec8e6bd89370e1257b274f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 139 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/namesrv/DefaultTopAddressing.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1d94a850c585bbc741d0d125bfcf1b3c92a591a71c446ec86c0bbd78ecac9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 188 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/trace/AsyncTraceDispatcher.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"81eb2627ec79626cde1d22a429a67f9925ed9d7fcf25a2130647df98cb96709d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 80 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"febfff03c00865b007f70c5ccd7a847980f1f612a890b5de35a48cf004f25d90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 86 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b204db1dc51d5ca56c92d74b1efb3cce59bb1fd97fc9f3c6f3712dfe3d85b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7913d84e951a467cff59f5db05a3e03b341a93649605b68f1af83fcd476260"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 127 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2113ab587d227848a5185d5e46c2b1973c73c2fc0adb34c9bc5b6e09fb7c21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 133 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d177f1e9275b7045092b3e0cdaf6c945ba8f6990f1b4f1d0959149de9b80631"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 137 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee89b694bdd489a0091e6523761985c3438981a1575470c288c9c009ab5db8e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 74 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultToleranceImpl.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"668fa1e3ab657c6250562882916af12c3f088dd91d783acf94fa02b28bf37c9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 121 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultToleranceImpl.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"778785fe80d69cde771a14f46eedb467143769324daa1c691b4497a0d756ff23"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 210 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultToleranceImpl.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6649b1b4698c0fcc5b6458a37ca2cad3ae4f03e8212c593613f375f79e31dfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 366 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"292fe5456a646366e0daf2ad3ea39bb820b179ef08f20f13fc9e05b7fab45b14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 382 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e2619905ad738dbf3a351fad5f68b9c2ac247ee21ce345d3b5eabc3e0a6fd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 461 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bd3af63b8904b2e9f205df9f7c85900dc9dce01ba17ede38896ee82452b1aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1846 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7d5ce5863249a6810d89e2d24fafeb7267eb7ff98cb26d42d47bce43d169d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1146 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da578099080fbf94b2097b901465f4dc63e26f9f164f4bdea2e5bc889d4ec4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1366 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d905c26394487885fa9d2210a87083a24fe2fbe9fa9750b5fe7a3302c512c1cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 285 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc12567edd6189db39a1dc7be950e0c8a8d731f4a6bd97ba76122cda409ed2ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 358 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"5257c0dd233d15ab087a0d4907074dbc1eb1cd376f7274c5f8b3c255f56649cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 323 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a00db88c1c743bd86e3895e5396bc5274186b0366de15bf6b6a8c46c3f2ded"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 271 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1999fe4b424994b448ee68a4a0ca5739560c7d2de7fd1b6256870ab838f00f83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 762 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8067700777d1b3aa8d8ca00988c16b06cbc56773df60a7de228a6e50d7f805"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 803 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0985385c82e0aff7bf0f5ead91cfad5f2d6e4d5df50c0b9893f867892c9f74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 418 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe94e9f8bae9778c7a30e6284b9d09e37e05776faa78390f2a3068d1c9b3fe4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 668 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"29803b19981cad4890d7ac4b402cbc9ff839c83576b6ec35b0408a9cdc04bc60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 828 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf78fa1445454aba7e2db750e2c4a9d3d2b1074dabbfa75c4d1c320fe22eb1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1416 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2c3da9a7ada10e0706c16dc11438907da8740b3e05c5d6ad6d5d65e92c5dfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 127 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullMessageService.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d777ed6efad66c531ee7205ed1c9254d4dac41e92f5aa8e38fcb35f527fab15d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 143 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullMessageService.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daee4b32ab21cddd0e52a5c96366b4b2956a6b873ee4581dc977856a1ddeb4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 88 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75cc21c0f410c4d8d5611eb73f18dcdb6122f0e98b1084a9715acf5d47c9eaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 122 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3723faf03a388f8db3e064b33496a0ea63991064ae6db7e4c449801266fe73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 175 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da4911fe1d003d94294bd117ae1a9f047b39a9fd261808fa7aea5d0d8b92cea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 222 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd1d209db0325dd13fddfd638305e73d2c0acd0b4097fd393c2de9abe3d2f47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 41 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceService.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3039ad7dddc7e3fac424c09347d6723752b052d348c4511b839e4884315d6fe6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 57 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceService.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b95da18fe02d7476859c8e4ea56b31ee05d19043085a69fd842d2f2ce777b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 167 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3bea80dccbbeeaec432273c886b5b915763f071d6ad7cefe1908c03384f854"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 195 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"97beb6bba51baf3106c8bcfba65e551216bf6b7d3d284d420218be353ff5e272"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 109 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2737228e7d3dcab4b3bf48a6b50ebc0e73ee8945cf5e4d64ee66e05a9ee2a3ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 141 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"968b5a4c35d36a134039e555d870641bfe118319c0474192eeb2320d916e1253"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 169 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"104d7419d3840072e260ba90bd4cf072dedc80ffb4d0bbcca9daa1fe834abf4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 63 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"736dfdca61f42c3aca2c169d95e038ee4dfc1d4318c7824cc49fe0c04e72f61e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 82 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/BrokerPreOnlineService.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b9a36bfc2e697f757bfb7252641110c7bfcd8271c4976896d3c2e9d76cc5a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 79 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/util/HookUtils.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"681f20b18121a286eac6f2498e8c61df9006073518998bbf0ab20722c3d4971e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 40 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetricsFlushService.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f24b8ea4760f0c95b8553400c168a3e1f108b20d95d6e37f57895ebc8486779"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 55 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetricsFlushService.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7ee5a8d501c590a391266193eabeadc443407ee5cfe89bfc18761336d06c98"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 58 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/TransactionMetricsFlushService.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27580d86c1e88db5082aae54e37515f50330ddc6d8e3f346bea56c1181bdc57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 257 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"108b231466c6320faf5e2b2346505ea93575e5fc1026784ed151e7a0a465d869"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 268 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/rocksdb/TransactionalMessageRocksDBService.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e074c8da8ca912d99329740ea1aa72464aa8d37175f172f7a3cf6156a7bfca3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 168 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7af490f110fa8569d7a9a605fe698106f72d4fe86029c2f7e873e6aad170f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 691 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea88ba207f0a60f4dff0d813acb579f482ef290dc8542fbdf3c052b7de411046"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 185 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicRouteInfoManager.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5dbb2b4808c229e1afd6de68765a45ced7c88ff07dcffa1c3b807124aa1640"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 382 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"b749aa98d018d35f3d8afa6fbe9ef1d0fdca9652b16e927c17412c96c329c950"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 392 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37d85b8e4cf79b44504a22d1b647b6eb166ed098863143ff657b1af8436d8d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 449 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed926bb4f0d73f4fb8db9f63baf147092e7cffee91c8772856d7fac22ed24554"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3140 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":3140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a712df9b48009dfb4c7702a8b7aa675ac328cfe07c725d5f43d1a6886481af7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 294 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"397042b90d86e496d18b3729b7249a44a5dcb19f3dfd14210ba465f576261903"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 601 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"571c0b6113e1920dc069aa0ca5310817824e8958b4d1f703c369a49fa7eaec20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 365 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fbec804de81eef5702a13179573c83360f1a47dae0aec4735c42304c233b3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 395 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7d78259ec8547de10478cde98cf44e5a1ae32591c119710a7551a72305d418"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1163 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deccc8949e251a22c9c083efffd8d36afb81de9d7cd82fa8832f01d04d81bbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1174 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21bc2a70211aecd34d79d66926baff2cf5478828e568f5f5a52f2a5fe2885e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 406 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76e46797471a00701f7dc234389341a20041b140776daba3e0966126c69aafe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 86 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PullRequestHoldService.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"76725e0edd1e78a006d55bcfdf74c4bbe5f777f9c19c7297e292ff88d11d626a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 75 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"922cce0e83c4d280a1eda0fc293c215cf020c133570efd20c664fbf88eea1704"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 142 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2b4d52149dff9dcdf7bb48e241c7dfc0c4b76618bf34d0c4775c909636e0fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 267 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a28761e377e1f300448cc3a213c80054ea747b63daea8d676d56df6427bd5b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 86 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84c791c43761da3b3a07590c4e057575047b823510e750aa9d8c2af79b122d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 108 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionMessageFilter.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"174613b86ddb3a49ed6985a004bd0992f7c184309312b395265637db77460bd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 149 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionMessageFilter.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4260c3723964a782e7db1a8e76772dfe8aaa0ef4311be27eb115deaab4c693"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 167 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4a09b996f4337e238cd5ae7d5e230bd11d63e54dfcf25211bf6bcfcaa3501c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 170 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8e89d616d5e1665148f5104bcb98f3ff9f0c2827db6b39233ac9e914e783f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 92 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataCgCtrService.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9484e673c432d1acf9d232e4168143229c947fd55666694f2bdf16b5643d660d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 76 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataPullRequestHoldService.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3c453f79cd08889576b8e639e93cf8cc24a4acb2d846512ee58c723fbeff87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 102 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.error(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/src/main/java/org/apache/rocketmq/auth/migration/v1/PlainPermissionManager.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4921a655dc4109a689ba20938cfbc90e9bb465d494ac6cdabd98dd9b1a0a1f"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/253 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPID\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c484b2aa9dd8d2a8df591ae218c96882b11dad9dc5c7851571dc10e90ad2c2e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getDiskPartitionTotalSpace\u0060 swallows every exception into \u0060return -1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"842c2b1aa034db100d5d19293dfe871387964f7415c60a7f9319afbfdc5793a4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getTotalSpace\u0060 swallows every exception into \u0060return -1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/src/main/java/org/apache/rocketmq/common/UtilAll.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c7f22ad94f6a641ff9fcddb9aa89db88bab58d2ec38014399e210fb7689872"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.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-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"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":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":92,"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."]}]}