{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"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":"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":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"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":"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":"PopMessageProcessor.processRequest (cyclomatic 46): PopMessageProcessor.processRequest has cyclomatic complexity 46 (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/PopMessageProcessor.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"233af7d6e2d692f0079b026a24715f00a1a20ff513a9ef154e800c78b37c5346"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerController.shutdownBasicService (cyclomatic 45): BrokerController.shutdownBasicService has cyclomatic complexity 45 (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":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f98a25d03877d2ed63845881d60e9de59e04f6d8c7f18c2f3ede1c4460c1b1"}},{"ruleId":"D1","level":"warning","message":{"text":"RouteInfoManager.registerBroker (cyclomatic 42): RouteInfoManager.registerBroker 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":"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":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bc29d838feeb4e110378d9bfc494d15478000044a4a46dc520670bec877f47"}},{"ruleId":"D1","level":"warning","message":{"text":"PullMessageProcessor.processRequest (cyclomatic 39): PullMessageProcessor.processRequest has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcf4774e451225355bb334ad06d1095a60ad5a7f0cc295fab9b0182957f0b92"}},{"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":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"587de87383f570c37eb70e16ddf6f592a5fdea5b7db5f793aabcf28e1c8928ad"}},{"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":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2dffc554af7d9cf23ed88baf43f1d60bfb9e6dd454e24cd6d574c84fede4cc"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMessageStore.getMessage (cyclomatic 36): DefaultMessageStore.getMessage 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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef283e03f2cf1f20723b8943addfb058c44a8678166a7700ea43ad2d076bcf6"}},{"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":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef510f37ae518f873b8e8af52922881dac5d2bd49c8bca1f9e90c93ed93dff87"}},{"ruleId":"D1","level":"warning","message":{"text":"PopBufferMergeService.scan (cyclomatic 33): PopBufferMergeService.scan 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfb7bf0f87ab62b47425fcde7919b93c553e962fd5d1c0056adbbcf9eac4f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"PopReviveService.consumeReviveMessage (cyclomatic 33): PopReviveService.consumeReviveMessage 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53450a9c35aa8f78f0ac8278d25e58c2dc8f50404db08eb3968f3720909fc15"}},{"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":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"b323df8734a6c6bd54f4f7d0f2d3a4d4df01a63ffda45e671f707934b4e092af"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMQProducerImpl.sendDefaultImpl (cyclomatic 31): DefaultMQProducerImpl.sendDefaultImpl 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":"client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dfd513212f5996a86b82386dfba0a8f82c103d5ac1598dd9dbe94f938d42c6"}},{"ruleId":"D1","level":"warning","message":{"text":"CommitLog.checkMessageAndReturnSize (cyclomatic 30): CommitLog.checkMessageAndReturnSize has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3a46af845723d54f5ae7425cb082e2bf80fa24ed0ca09f710b1221436231c7"}},{"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":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3bc148c31264cf162a50a14ea84db72161660f618e2e64a092a134bd785933"}},{"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":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed709d437d6450a122bcdeeb00ccb2eb7f3af0aad5df33cafc8f0c18b276fd92"}},{"ruleId":"D1","level":"warning","message":{"text":"PlainAccessResource.parse (cyclomatic 29): PlainAccessResource.parse 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a10e6dac07a6f76bca96ccb50e47a3d736b687b844e60356266e783da6bcbef"}},{"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":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac9f8697978ff98053f543225afc5d1b523663dbe803f35cb82d73f145a65de"}},{"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":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e5e63ca8e74ec9422f0e586231a48ca16e2625cd7e94731210b8b710d00c3b"}},{"ruleId":"D1","level":"warning","message":{"text":"TopicQueueMappingCleanService.cleanItemListMoreThanSecondGen (cyclomatic 28): TopicQueueMappingCleanService.cleanItemListMoreThanSecondGen 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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"df924c2e168ab0f6067b87db772bc4a60c40d951d568cac9327a5d93574c6111"}},{"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":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82c10d54544c4f6f20fb8b5e48af4b6605dbcb2bfe554dd3c0c15dc03dc375f"}},{"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":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d9b987a63f57fad9fbeed99d3d30583a6db01f382984c22cd2391be54054d1"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerController.startBasicService (cyclomatic 26): BrokerController.startBasicService has cyclomatic complexity 26 (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":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f0006eff0dfcac2cff2bcf5229b151d08453481412da50c91b841457643321"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerMessageStore.checkAndReviseMetrics (cyclomatic 25): TimerMessageStore.checkAndReviseMetrics 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca48528cb44635c227e04d26dfdd239d7453ec15636b7a7727253f8176e1cd6"}},{"ruleId":"D1","level":"warning","message":{"text":"PopMessageProcessor.popMsgFromQueue (cyclomatic 25): PopMessageProcessor.popMsgFromQueue 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/PopMessageProcessor.java"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78cd40e19c90c394a58ee1cf32ce49d483cca5be418385f8d029a2c080e3019"}},{"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":"RemotingCommand.decodeCommandCustomHeaderDirectly (cyclomatic 24): RemotingCommand.decodeCommandCustomHeaderDirectly 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingCommand.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c4ee0a3fc0dda5bc111fba8d4b2186fe872f76a00745e9d43ada7579efcb6a"}},{"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":"MQAdminImpl.queryMessage (cyclomatic 24): MQAdminImpl.queryMessage 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1434e26dee1137e39d759df8724a9b6a99d80f4b8995878ec7046e16f30d49"}},{"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":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27d0aa6fc05ca4e58e16879ead039e7b72841b218b6037323b375c456945905"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerStartup.buildBrokerController (cyclomatic 24): BrokerStartup.buildBrokerController has cyclomatic complexity 24 (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":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ae3102a949b3d0fa6468e39a38acd7f124f8c3752cdac738fdcd7c56fcd149"}},{"ruleId":"D1","level":"warning","message":{"text":"CompositeFlatFile.getOffsetInConsumeQueueByTime (cyclomatic 23): CompositeFlatFile.getOffsetInConsumeQueueByTime 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/CompositeFlatFile.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2344a1bf5bf6d6082e7d7e256198d085b3e0550ce1a193613e1193eddeb402"}},{"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":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd6ede1a349710ea81a8b470041110b672b4cc87616049a58f68ea9b1ce0d19"}},{"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":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c935186f658b5177c418170b9dd261bca51db10dd7e3294cc27c29231a73d15"}},{"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":"NotificationProcessor.processRequest (cyclomatic 23): NotificationProcessor.processRequest 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9583683c0dca4f59e1f7593141f28f4f644342be61b3df4125debfb7156921b4"}},{"ruleId":"D1","level":"warning","message":{"text":"PlainAccessResource.parse (cyclomatic 23): PlainAccessResource.parse has cyclomatic complexity 23 (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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c76d54c366e1fa42534e89b6598cb9eb9b70861dd12d56d0fd13553969dd4ec"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumeQueue.correctMinOffset (cyclomatic 22): ConsumeQueue.correctMinOffset 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/ConsumeQueue.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65f1402e9c2944dc3cfa970d13edbe39fd344d95dc26bc07575d071ecfab36f"}},{"ruleId":"D1","level":"warning","message":{"text":"MQClientInstance.sendHeartbeatToAllBrokerV2 (cyclomatic 22): MQClientInstance.sendHeartbeatToAllBrokerV2 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d82daf30939d3767d959f56f2a76ce6dae73253dc3158b122ef85921b396047"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterDataMapByTopic.register (cyclomatic 22): FilterDataMapByTopic.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":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccedb6cde2f7e88449ab307bf3601d037e6594a4d97d9011e5548d6d1ff4fa6"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsumerLagCalculator.processAllGroup (cyclomatic 22): ConsumerLagCalculator.processAllGroup 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/metrics/ConsumerLagCalculator.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f9d8c375bb4e54984d0be6bff038b380bd40d552b9f97294d5e926cc5f5f68"}},{"ruleId":"D1","level":"warning","message":{"text":"HAClientReader.processReadResult (cyclomatic 21): HAClientReader.processReadResult 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/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"523fdd55ee2772d480b99fd2264b2c9d5d880571cacfdbb44c6e3b3a1d950a46"}},{"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":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"444ad2cfbd79d6a4d885bfdc197022b3ff7e6312deab71d6402e2a5782d9ca72"}},{"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":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddec060d3737253d5efe3a2e50a37a4cec391231d91cd1a3e0aa319f85403dd"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerContainerProcessor.addBroker (cyclomatic 21): BrokerContainerProcessor.addBroker 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":"container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4536cc2f58c3f8d6515756acdaf16a9968efa4f346229f91f83752823f4cb13f"}},{"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":713}}}],"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":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"677e3a266fea6cadce846452b38a70d27fcb85aa4c45b5bf6eb281dde016bd83"}},{"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":81}}}],"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":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"276e289805c890978bb0d2475353f8420d6f8731ae116e1ab280a12696ad087b"}},{"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":"TimerMessageStore.doPut (cyclomatic 20): TimerMessageStore.doPut 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/timer/TimerMessageStore.java"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ba3d151e4251ad6b17ff19f2c161e65dd8ca627c3cdeb188f8be5ee2b5425e"}},{"ruleId":"D1","level":"warning","message":{"text":"PullMessageRequestHeader.decode (cyclomatic 20): PullMessageRequestHeader.decode 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PullMessageRequestHeader.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f479c84bf8cfc8ea928046e80f780ca7b0e98cda4b9bfc7f58eb756a67cba2"}},{"ruleId":"D1","level":"warning","message":{"text":"GrpcConverter.buildSystemProperties (cyclomatic 20): GrpcConverter.buildSystemProperties 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcConverter.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb610fbcdbafc8f22c3a4f59f65dd2812e1add33ca8532656d508977a93a5c7a"}},{"ruleId":"D1","level":"warning","message":{"text":"TieredDispatcher.dispatchFlatFile (cyclomatic 19): TieredDispatcher.dispatchFlatFile 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7b18335cabe655ec9db15984ebd1edf1d30099ff38f8a93ed11f53c2f97ece"}},{"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":1534}}}],"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":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cadd16b5da725b5ef4ddfe5c5d54dcde8ce81649233fd7bcfc61e14833a0d4"}},{"ruleId":"D1","level":"warning","message":{"text":"ReputMessageService.doReput (cyclomatic 19): ReputMessageService.doReput 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":2815}}}],"partialFingerprints":{"codehealthFindingId/v1":"985de190d66f8c445a28696741352a0b2adcb370a4c3f4d747340b87d78de8aa"}},{"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":"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":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"805e2c3e98fe6d598ffef30ae1497eef775812e23611d9e91ee0f9ce8458add0"}},{"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":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"015fe043c18551ab3a8b891b49415fe6f5823407e490be3cf74a394709769fe0"}},{"ruleId":"D1","level":"warning","message":{"text":"PullAPIWrapper.processPullResult (cyclomatic 19): PullAPIWrapper.processPullResult 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/PullAPIWrapper.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ff8048568ad05bf537485564aac983de5b6561926e5b6654b3cb26b30b45f1"}},{"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":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"619d9f0529f95875ec6832517a9f7325e8d53f8265ecc07fe8a57d39f89d39da"}},{"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":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"024e59c9cd299d52608d19b9a42378d6137f1731b8a7c97bc83e894ae727c76a"}},{"ruleId":"D1","level":"warning","message":{"text":"BrokerMetricsManager.init (cyclomatic 19): BrokerMetricsManager.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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f25cfefeb2c09706b7114ff14853c027b94c2200c2073ce8858d832aabc178"}},{"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":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"93533053c7e2c870062b5a5f3394fdde0c0498d3dc8d1201c6125d7c517ac76f"}},{"ruleId":"D1","level":"warning","message":{"text":"PlainPermissionManager.load (cyclomatic 19): PlainPermissionManager.load 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9841bbb4843daf90c2db01cfd0154a160cfd3819efa4cd385fda08e09de88324"}},{"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":626}}}],"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":"CommitLog.recoverAbnormally (cyclomatic 18): CommitLog.recoverAbnormally 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":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cc2a7ac8943674ae613a92a793a14eca3596ab38bea71b9461c6d26e5b584f"}},{"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":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dcbb7a2328683d395cbb19df00881b0f99b45cd99f33e183f9c8d0b5cb2a64"}},{"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":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8de75586d46bd12b40a52510de01c385fbaf70652c62061a6640bc88b1e1fd2"}},{"ruleId":"D1","level":"warning","message":{"text":"MixAll.properties2Object (cyclomatic 18): MixAll.properties2Object 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":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"14743d50472ee8c10a1a27da58a1054dcf71d4caee32b4ad0640e852d82f3bca"}},{"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":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d4f56650223ad4d639a2d5351e8634ccf906178d18e20904ed2226f338160a"}},{"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":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b37ac94fac54746fe1ff9480e6bef97f2d3ef188f934ca3f7b16baa5ea0afc"}},{"ruleId":"D1","level":"warning","message":{"text":"TieredDispatcher.dispatch (cyclomatic 17): TieredDispatcher.dispatch 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1b3d87e25d1100c98a93fe0f1f000eac7f4c9d64303fddecec21fc05bbc5ba"}},{"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":1076}}}],"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":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"803241acc5590abe1a177b9afa82a7932e72f50ccad4f44eb88126c9f5fd863c"}},{"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":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8879e58f4fef3aad0ef83b276bbc8c5cbecd437b6c610b2c836fa92c600608f1"}},{"ruleId":"D1","level":"warning","message":{"text":"SendMessageActivity.buildMessageProperty (cyclomatic 17): SendMessageActivity.buildMessageProperty 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/producer/SendMessageActivity.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a5457320b0fb5f146c892033975fa930849a8e1b90109d83cadcbcf3b9c0d1"}},{"ruleId":"D1","level":"warning","message":{"text":"UtilAll.getIP (cyclomatic 17): UtilAll.getIP 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/UtilAll.java"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"005ca434fcaa9d81f612b573d1e90c3b8d59f39587c4bed2390ee4017f4d1871"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultMQProducerImpl.sendMessageInTransaction (cyclomatic 17): DefaultMQProducerImpl.sendMessageInTransaction 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/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcd29bc0832c24c2854c7f96cc56f3b4c68075ba4f6930aa90b0a106b494511"}},{"ruleId":"D1","level":"warning","message":{"text":"SendMessageProcessor.sendMessage (cyclomatic 17): SendMessageProcessor.sendMessage 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/processor/SendMessageProcessor.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"98024a7630db01985fcd93b945b2828f1cebd79031fa94964ba95e51c4f547bb"}},{"ruleId":"D1","level":"warning","message":{"text":"PlainPermissionManager.updateAccessConfig (cyclomatic 17): PlainPermissionManager.updateAccessConfig 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abc615243f4591a4fc205f94256de8ab16adb37a696629dc04001fba0c10ddf"}},{"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":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d191a5c75905eea5e6e175b8f799934debd3f6da327b690d42d88cae4e8d202"}},{"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":1111}}}],"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":"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":"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":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee30172c9a294a4f33f59e700a1175b197b2bdb360618ddc8070365d1f6cb3ab"}},{"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":"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":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ba574f0c63735bb98a2d16e8e36e820a0d9369d2d4dbeed87997cf4f661c29"}},{"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":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"355f97d0f220a337f52473d78c371e9d7063c951c26f0f4a941d4d7528e6d4d5"}},{"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":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de8de00ab39e26627cf89603816d5a9248ddef5519257eaa33d26ddaae275ee"}},{"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":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2c925a6a373b9fe99ecc13fcdfcc242b9ef80437991e12b121e93a4dae3ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageStore.getMessage (cognitive 109): DefaultMessageStore.getMessage has cognitive complexity 109 (threshold 15). Drivers by points: if/else 29 (92 pts), loops 2 (7 pts), boolean chains 6, 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":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2acf40a468a3c776db51160fa10f675f851a0f86567325a4828c2dfb9025da"}},{"ruleId":"D2","level":"warning","message":{"text":"PopReviveService.consumeReviveMessage (cognitive 104): PopReviveService.consumeReviveMessage has cognitive complexity 104 (threshold 15). Drivers by points: if/else 29 (88 pts), loops 3 (8 pts), boolean chains 5, error handling 1 (3 pts) (nesting depth added 66). To reduce it, split the body into named stages: move each independent step or branch into 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":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbc91895532bab6b9c25238d200703e29f4bf579bac0aceef45a4273aa698d9"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQProducerImpl.sendDefaultImpl (cognitive 97): DefaultMQProducerImpl.sendDefaultImpl has cognitive complexity 97 (threshold 15). Drivers by points: if/else 22 (69 pts), error handling 4 (16 pts), ternaries 2 (5 pts), match/switch 1 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 66). 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":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef4179876a1af5ba3e24aac4f451b27f2b36ae6b6b048b5fce4cc0f316c01d7"}},{"ruleId":"D2","level":"warning","message":{"text":"MQAdminImpl.queryMessage (cognitive 88): MQAdminImpl.queryMessage has cognitive complexity 88 (threshold 15). Drivers by points: if/else 18 (59 pts), loops 6 (23 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 61). 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":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6459c40dc8cc5ad509c40f31e876b1b6c8dd07b3ba5abde1ac4092b0ba228102"}},{"ruleId":"D2","level":"warning","message":{"text":"PopBufferMergeService.scan (cognitive 84): PopBufferMergeService.scan has cognitive complexity 84 (threshold 15). Drivers by points: if/else 23 (63 pts), loops 4 (15 pts), boolean chains 6 (nesting depth added 51). 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/PopBufferMergeService.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"835c82f46f3b8f9740f70afba7f2cc5d734e1c29420a7884ba016de147db4836"}},{"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":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1954e43a4c91bb3a836df769a4fa7c41fac119f6a0741e341fb2e51c7b25fe"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteInfoManager.registerBroker (cognitive 81): RouteInfoManager.registerBroker has cognitive complexity 81 (threshold 15). Drivers by points: if/else 24 (55 pts), boolean chains 12, 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":"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":"PopMessageProcessor.processRequest (cognitive 80): PopMessageProcessor.processRequest has cognitive complexity 80 (threshold 15). Drivers by points: if/else 38 (52 pts), loops 5 (16 pts), error handling 3 (7 pts), boolean chains 4, 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/PopMessageProcessor.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ce87f81aeaaa24a811de93cad8d9c0443342889b1f0301c3e70567b0870a8a"}},{"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":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daa225f519ebedb7d10e6e1207f97f46fe907771f8702a40b79928da269600e"}},{"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":555}}}],"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":"CommitLog.checkMessageAndReturnSize (cognitive 65): CommitLog.checkMessageAndReturnSize has cognitive complexity 65 (threshold 15). Drivers by points: if/else 25 (55 pts), loops 1 (5 pts), boolean chains 3, error handling 1, match/switch 1 (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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e0bc519dadd345cf9ff2fd61af157c8f1cdb2f67391a9088604a2c5cbf3ea9"}},{"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":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"addfabb2a670f1d8cd9ff2d590e677d1c7bda7a8749b25f2f58db32740b1372d"}},{"ruleId":"D2","level":"warning","message":{"text":"PullMessageProcessor.processRequest (cognitive 64): PullMessageProcessor.processRequest has cognitive complexity 64 (threshold 15). Drivers by points: if/else 34 (56 pts), boolean chains 5, error handling 1 (2 pts), 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"560d727712ba6aa4bee05ea71f825c7a933490b066488de7d238f46f279437c8"}},{"ruleId":"D2","level":"warning","message":{"text":"HAClientReader.processReadResult (cognitive 60): HAClientReader.processReadResult has cognitive complexity 60 (threshold 15). Drivers by points: if/else 13 (46 pts), loops 2 (5 pts), ternaries 1 (4 pts), match/switch 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d5b9094b8408bf27f078f9cedb81ef92d1043ab05ef4acc46a85907bfff724"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicQueueMappingCleanService.cleanItemListMoreThanSecondGen (cognitive 59): TopicQueueMappingCleanService.cleanItemListMoreThanSecondGen has cognitive complexity 59 (threshold 15). Drivers by points: if/else 16 (40 pts), loops 6 (11 pts), error handling 3 (6 pts), boolean chains 2 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb96b794b1807b16124d51bdda9896f8c5c0b29622e02e5a86ac41daadbe5ac"}},{"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":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"198f2c783a2d6062255785c4284fe54116bc71948e40bca51d4d4b6278239596"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerLagCalculator.processAllGroup (cognitive 58): ConsumerLagCalculator.processAllGroup has cognitive complexity 58 (threshold 15). Drivers by points: if/else 16 (50 pts), boolean chains 5, loops 2 (3 pts) (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/metrics/ConsumerLagCalculator.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a05f4047ce8e7c560798d79cc0f6347d6b42edfe449e8e14e78fe83b043b364"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.checkAndReviseMetrics (cognitive 57): TimerMessageStore.checkAndReviseMetrics has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (39 pts), loops 8 (12 pts), ternaries 1 (4 pts), boolean chains 1, error handling 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"366f81864b62c96fd5593a7fd9e40d1a2618d8345b9b862a95a8900b02cf8a33"}},{"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":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce2d563b2c2ece49b853c4b2c501c5f56ac17668f59f6c34679b2bf3e60b8d4"}},{"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":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0263ddf9ce363c20f50397be8492073ead6ab1a5f1a4088e3a75db243388f74"}},{"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":1534}}}],"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":"CommitLog.recoverAbnormally (cognitive 52): CommitLog.recoverAbnormally has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (47 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 30). 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":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9d1687121144691cccc13acebe1a61044f573b1e3d99c7a8dd54319c6ad734"}},{"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":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"659e7556efd015ce00dad64001027d9ff8225f466ac1ab7d57638d0b6eba8b09"}},{"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":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4901b648e37d2f4e1055856e0acf051cdeb8319f434c024fe094fba7301bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.sendHeartbeatToAllBrokerV2 (cognitive 50): MQClientInstance.sendHeartbeatToAllBrokerV2 has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (40 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7d579d7b126276a85e7d5d935dacba25f505f94796a01644cb24a0bb28b31c"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainAccessResource.parse (cognitive 50): PlainAccessResource.parse has cognitive complexity 50 (threshold 15). Drivers by points: if/else 22 (35 pts), loops 3 (10 pts), boolean chains 3, error handling 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a5566e2797f6c5adbbf1541214e33d6ae896fd802b0c0dc8bbe4a3b267d714"}},{"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":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e3645429751be48e89e9df35989705ff023cc6d74f3a5e071eeb06c728af0e"}},{"ruleId":"D2","level":"warning","message":{"text":"RemotingCommand.decodeCommandCustomHeaderDirectly (cognitive 48): RemotingCommand.decodeCommandCustomHeaderDirectly has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (32 pts), error handling 5 (9 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":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba83e51cb0558cb995314d2dc2be570784c6002391ea7dec63111e4351edd546"}},{"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":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"4414c6473ce74dccc4ea328b6357265356e9948ca04ff3e17d62ee51796f79eb"}},{"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":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"277c07c36348a856141e9250418e965906747efb54d24526abc6fd1d4da2d195"}},{"ruleId":"D2","level":"warning","message":{"text":"PullAPIWrapper.processPullResult (cognitive 46): PullAPIWrapper.processPullResult has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 4 (10 pts), boolean chains 3, error handling 1 (3 pts) (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":"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":"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":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85f2d083835dc5aedfb51bb7dbd06813c70112631419c5183ca5e625bd683e9"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationProcessor.processRequest (cognitive 46): NotificationProcessor.processRequest has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 3 (10 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/NotificationProcessor.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"61625c14bf2194bf00b2352f8452a0060d493080fbc5c0290d1dd9b34fdd4f1d"}},{"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":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"532876505f2674c7406c307858268a3458f813733b67aac3c908a611c15bd95e"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerController.shutdownBasicService (cognitive 45): BrokerController.shutdownBasicService has cognitive complexity 45 (threshold 15). Drivers by points: if/else 42 (43 pts), boolean chains 1, 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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd915ed36e2fec03833f81b52d023c3f01460e1545d3115597b301b2dd3971af"}},{"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":"UtilAll.getIP (cognitive 44): UtilAll.getIP has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (37 pts), boolean chains 3, loops 2 (3 pts), 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":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36203bc64a9df22816fa7d32468fd6322829b3e53ade5d5dc2682a4b6cdc656"}},{"ruleId":"D2","level":"warning","message":{"text":"PullRequestHoldService.notifyMessageArriving (cognitive 43): PullRequestHoldService.notifyMessageArriving has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (28 pts), error handling 2 (11 pts), loops 1 (3 pts), boolean chains 1 (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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PullRequestHoldService.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"841a45f55c5b819c2207e0f5f17061ad06c358626f929eda303c7628917bcd77"}},{"ruleId":"D2","level":"warning","message":{"text":"ReputMessageService.doReput (cognitive 42): ReputMessageService.doReput has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (30 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":2815}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b22cf0233a773717a717eb3e9ecf2077fdb71eb3117ab54705072b9829cf9c2"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterDataMapByTopic.register (cognitive 42): FilterDataMapByTopic.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":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1a77f21e341bd4ddaaea941f415bc963c3f47ef5c2eb6f9ac7877b8cdbc11b"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeFlatFile.getOffsetInConsumeQueueByTime (cognitive 41): CompositeFlatFile.getOffsetInConsumeQueueByTime has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (25 pts), match/switch 4 (8 pts), loops 3 (7 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/CompositeFlatFile.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"912180ab0f79944f5c09e8c9d78e5da071550bc5217db4e1dd74c2013fba44a4"}},{"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":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a95dff2a3983c7ebd86547e2011145d7b8c9e10bda9aba419c4caede5adbd20"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeQueue.correctMinOffset (cognitive 40): ConsumeQueue.correctMinOffset has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 2 (4 pts), error handling 1 (2 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/ConsumeQueue.java"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"389b45dd1da2f00119d4f6f8d0790f31f1b40a0ba98501839d24512ea33f03b3"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainPermissionManager.updateAccessConfig (cognitive 40): PlainPermissionManager.updateAccessConfig has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 2 (6 pts), error handling 1 (3 pts), boolean chains 1 (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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e529aae76289071bfbfa1cf5fa5028f4495fa2d154f4c48dcd526018279c69"}},{"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":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"150038e1e5463c39c24b5c8a5067e2f9384ec7412229f9c575c452bed239db51"}},{"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":"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":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d45daf4b4e768256441e15205765727d54e87aa6af3a3d0069faf6cf2bb2f08"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQPushConsumerImpl.processPopResult (cognitive 39): DefaultMQPushConsumerImpl.processPopResult has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 3 (10 pts), error handling 1 (5 pts), boolean chains 1 (nesting depth added 26). 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":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a209d9f55b307ac5e3046697ffa60953264a308106ccd23803d54eca5952ef4"}},{"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":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9813bcee14226da6aa617828f73986217fa59231a6a13e96f779e84414e1ae4f"}},{"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":"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":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2a3532968427f0182e7eebf48248a26d5b3bc51dd94e696550c816fd386a13"}},{"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":"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":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2c0802f3fccc1e41a94f58b307a94e97596a812e9f14d3ef72fb281b6d6953"}},{"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":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9324affb3f4876b0c14135f1fb5bcca645c17a8d734fbf0be75eb8987e3f42"}},{"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":1076}}}],"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":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d9ec702b3c5e3cc8f0c7aae1d15321e6ce96d95c1643203454b25f4e49454e"}},{"ruleId":"D2","level":"warning","message":{"text":"TieredDispatcher.buildConsumeQueueAndIndexFile (cognitive 34): TieredDispatcher.buildConsumeQueueAndIndexFile has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (31 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"430dd1d9f3f8e6bb3df17b6a618c60b7648818ca47ba3618222901e10fe4e846"}},{"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":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee62a35b0354c1a8422bd0459857c91edb212b8b21af5bf617c8095d1599369"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerContainerProcessor.addBroker (cognitive 34): BrokerContainerProcessor.addBroker has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (19 pts), error handling 3 (5 pts), loops 2 (4 pts), boolean chains 3, match/switch 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":"container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8fb4fea6fc06c911afccfdf078635b161475acbcd734263cf55c9a54be6684"}},{"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":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"281a75443ac26010e37ff7c875bbf3bf893e364038f5ca7776af7b9cf0847427"}},{"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":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8c55bfad9bcbad960c7307c2fca5b029d7c511803717aca7e3f846a4593445"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.fetchAllConsumeStatsInBroker (cognitive 34): AdminBrokerProcessor.fetchAllConsumeStatsInBroker has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (26 pts), loops 3 (6 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"05991bf3ae4315dfdc8b74e42847ff5f1493c3b1c995fcf526a16e76362ace80"}},{"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":763}}}],"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":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fabfd2a01239ae4a8ff7c5c5924039678f437e9e294eeebfd2c2aa50dc3542"}},{"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":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff06e75c6d90d2397aea49d295480c0a593745e02cb5dbe2376441c70b4ab0f4"}},{"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":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68d1ba994ad173d5a6920f886fe9479a20492cd36b927835c22e8cc0efaf50d"}},{"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":"ConsumerFilterManager.decode (cognitive 33): ConsumerFilterManager.decode has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (5 pts), ternaries 1 (5 pts), error handling 1 (4 pts), boolean chains 1 (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":"broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eed7985869b8330ccb8efa8793d28d2d04d45cad3dc180d22d93a2f398d8972"}},{"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":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78651c2516c675fdc2d4e974a8cfd84d40537f8dc4626a1a5ded2fe2392afec"}},{"ruleId":"D2","level":"warning","message":{"text":"PopMessageProcessor.popMsgFromQueue (cognitive 32): PopMessageProcessor.popMsgFromQueue has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 6, error handling 2 (5 pts), loops 2 (4 pts), ternaries 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ee031fdf73910c9e71e41394136db07e07194193885bf1cfd6854e359e4922"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainPermissionManager.load (cognitive 32): PlainPermissionManager.load has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 3 (7 pts), boolean chains 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbe9e95681d3ad0b4f41b88ca48c5dc9d3d752dd2f671ba3a5e463e767016b2"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerDequeuePutMessageService.run (cognitive 31): TimerDequeuePutMessageService.run has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (6 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09b5a5c44f3ccca8a9fb8736b0e3f33d708441c98e0b1134df9970e0893583a"}},{"ruleId":"D2","level":"warning","message":{"text":"CommitLog.recoverNormally (cognitive 31): CommitLog.recoverNormally has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 2, 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b9ddb694329dd752e3f5678078d9299e50d77fa57c8116591a04abf7194146"}},{"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":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8564efa840fa1d617c868457161b169c52df398dc862bffb69dd57e3017c288"}},{"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":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efb002066b4fb66c50d0ee4f616bd7e720e3dea2da3ee21c6997b9b6976a5ae"}},{"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":375}}}],"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":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dcb70a38fa31bb7cb805d32375d07f2eb82d566e3d26bfec13873d575df370"}},{"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":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"316054701a05fdc12df9240e8686cc567db71512e7b8e03b56389b72aa64f800"}},{"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":"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":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1debfc7834cb9f408f6c1a731147b6cdc90690f587ab252b09be878e4f8b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"MixAll.properties2Object (cognitive 30): MixAll.properties2Object has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 6, 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":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c10a3c942d90d0290ff8fb05c4d686183407a0feb4063bd3e6534e771ec38f"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerMetricsManager.init (cognitive 30): BrokerMetricsManager.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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa93f9ace9292a3ba7a7cb69e18a2ee58122a7bdeed4c16a894e8307841c5f33"}},{"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":201}}}],"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":"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":3106}}}],"partialFingerprints":{"codehealthFindingId/v1":"05037acccfe3861aaae1b17e19a2794ceeb6f1f75677f0c0cc1771ab6fe7d4b6"}},{"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":"ReceiveMessageActivity.receiveMessage (cognitive 29): ReceiveMessageActivity.receiveMessage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (3 pts), error handling 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/ReceiveMessageActivity.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e95f20cdad8d4e32da5177b95f006b311ba40972f6c9cc32bd33d054a41c77"}},{"ruleId":"D2","level":"warning","message":{"text":"MQClientInstance.sendHeartbeatToAllBroker (cognitive 29): MQClientInstance.sendHeartbeatToAllBroker has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (21 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a6c7165c9e03599fccc0d37a1d06f56d6616b8f16acd7d0a8d334844918378"}},{"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":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbf5710189ea50df54b84b06d820d96a21bf4b84c34fbc7f6a9c99a7699d34c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumeQueueStore.recoverOffsetTable (cognitive 28): ConsumeQueueStore.recoverOffsetTable has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3 (5 pts), ternaries 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":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fcf16cffa5d253addc097ce8f0d606d7444f83a49be26d499a692c892079b8"}},{"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":387}}}],"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":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7380680a909ccf5a324430c0989d2bce58563f0315bbd023af5d4869bdd8fd"}},{"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":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"c352e6bf44611aa51c955e3a26c04fc9ff97ba89ea634b4fc7195e2f9982de95"}},{"ruleId":"D2","level":"warning","message":{"text":"Broker2Client.resetOffset (cognitive 28): Broker2Client.resetOffset has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (19 pts), error handling 1 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/client/net/Broker2Client.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3d0bc19fd299053f29db96ad2e536eea1961d13769fb6e479ec6e96ec9d662"}},{"ruleId":"D2","level":"warning","message":{"text":"AckMessageProcessor.appendAck (cognitive 28): AckMessageProcessor.appendAck has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 4, 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":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d41c7856f5edcdcd5c3322d75570363c1c5c4773e34043f86059a0142492ff"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicConfigManager.createTopicInSendMessageMethod (cognitive 28): TopicConfigManager.createTopicInSendMessageMethod has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (24 pts), ternaries 1 (3 pts), error handling 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/topic/TopicConfigManager.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc0e5b8e3235c848034ca368253aaee9841b457bc051c89e967444e8ffa9c56"}},{"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":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9e6b2b6ce6cf9ad70c96dabd01224a1180d49787aeed5f8520b39da386b77c"}},{"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":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"62099b69f61c86d14495acf9bd61b0e82d8f24c25d95c3691ef4071cc67c7cf0"}},{"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":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e90b852800ce652262772d61cc26b3c20612bad54ea913caf45f074ca3c5e86"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.getConsumeStats (cognitive 27): AdminBrokerProcessor.getConsumeStats has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (23 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a59e05907a618951b6708e090c9de96a1f238d1ea739a08a9a024d7bccd7e2"}},{"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":"BrokerController.startBasicService (cognitive 27): BrokerController.startBasicService has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23 (25 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/BrokerController.java"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"545500d911bc5839d50cc9e12e2c982d7d022e3d8e27ac3cefcf7f570e65b95a"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerStartup.buildBrokerController (cognitive 27): BrokerStartup.buildBrokerController has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (2 pts), match/switch 1 (2 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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee0449b96e009df72c6cd57c0ef8ec2d7776478cc269d2a82d6dfd6ac018418"}},{"ruleId":"D2","level":"warning","message":{"text":"HAServerReader.processReadResult (cognitive 26): HAServerReader.processReadResult has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (22 pts), match/switch 1 (3 pts), 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":"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":"IndexService.buildIndex (cognitive 26): IndexService.buildIndex has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 1 (3 pts), match/switch 1 (2 pts), boolean chains 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":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5da927a7364fd360ad4f9e1614ed930b5414a27497b1abaad435c4ff2cde8e"}},{"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":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"3781f3babbe15476f22506704f5e126a1c6668a39766904e521684311e6faf12"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.enqueue (cognitive 26): TimerMessageStore.enqueue has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 2 (4 pts), 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":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d1a429bc8af62da45db906c4c4eb5e69c8bd74a3898b24b811a511c4848eb2"}},{"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":"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":"RebalanceImpl.rebalanceByTopic (cognitive 26): RebalanceImpl.rebalanceByTopic has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (21 pts), error handling 1 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 14). 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":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b8e1756f94fc95619737f5af39b9dded5e3fb404e28b2df53c1ef146e4ba5c"}},{"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":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddb02df6c953714a4e72346714f29ae879bce4e345f3081a1827a5ccc11ec4b"}},{"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":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61757229416579167194a77b4d8568eaec2fd9dad980c9dfa0e98aca4eddcc4"}},{"ruleId":"D2","level":"warning","message":{"text":"TieredDispatcher.dispatch (cognitive 25): TieredDispatcher.dispatch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (19 pts), error handling 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f334b973b630713e630009b678eb9a72a8a1d6c2d56f31a3edf49806ffca3b6"}},{"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":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8a5b682b5057f30a436f4bf6d7859fda0ba6c5a1baf32e1684a78fd19905d5"}},{"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":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"276a74220bcbae399978dc7d738973ea05dda5e56ed988adeea5b45442feaf97"}},{"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":"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":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8d7fb27cd34a65d2f728c5d3bb0a0c8ac873b1d5985ff2ddddafe04b7e1ba2"}},{"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":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"656a63ceb06f6bcf3980320308a8ab3ac2353f5e1b6887397ffcb61e249b4074"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerMessageStore.doPut (cognitive 24): TimerMessageStore.doPut has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (3 pts), boolean chains 2, 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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c12f4d7f546b43b5212b1f59a71fbf89005ca73c99487d6ae8bd0481a9bfd4"}},{"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":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b23ebf8968ff5d0a0338c23efdf9af206fc49b01cb2e9319e21d9501fd9b56"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyRemotingClient.getAndCreateNameserverChannel (cognitive 24): NettyRemotingClient.getAndCreateNameserverChannel has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, loops 1 (3 pts), error handling 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdfc75591592228ebf019a317b4f29252fdec536b9051559db3dd066763195d"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyRemotingClient.invokeImpl (cognitive 24): NettyRemotingClient.invokeImpl has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 1, 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc6e2c41be2b19f7ab7e80afbdc010ce1bcd2984273fb7365170746202b9645"}},{"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":"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":152}}}],"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":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b4a3ae420e86dbbbf44e73cc6722fb152151a54d47ad86afc6a54c8ded98aa"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryAssignmentProcessor.doLoadBalance (cognitive 24): QueryAssignmentProcessor.doLoadBalance has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 11). 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":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2056ca2aae19134f9b45902a0bfed2d1fe99ac7e14ecb17e2b95baadb87b6aee"}},{"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":"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":211}}}],"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":"AllocateMappedFileService.mmapOperation (cognitive 23): AllocateMappedFileService.mmapOperation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 4 (8 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":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdd048a33bc27079d85d4bd4dc7a6676d04979659dc46d1088afec3df3daf0a"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocateMappedFileService.putRequestAndReturnMappedFile (cognitive 23): AllocateMappedFileService.putRequestAndReturnMappedFile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3b8b333f26e058bec9a1b7f8ec46a0c6102f66f8a9e811174dc5741e3279cf"}},{"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":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c27544eb5fc34a2bd263a6b9ea811674b8a1d948583f282efffd13c3f88821"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyRemotingClient.closeChannel (cognitive 23): NettyRemotingClient.closeChannel has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 2 (3 pts), loops 1 (2 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c4a8f017736b98fe0e7f5ad72019862437efceb874d622094176b039f77c39"}},{"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":"GrpcConverter.buildSystemProperties (cognitive 23): GrpcConverter.buildSystemProperties has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20 (21 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcConverter.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba05939fa8fba270b856f3bfff79fdd4441c7c7c9a1a68c3eb05f740a2f9d84"}},{"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":"NetworkUtil.getLocalAddress (cognitive 23): NetworkUtil.getLocalAddress has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (5 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":"common/src/main/java/org/apache/rocketmq/common/utils/NetworkUtil.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1dad498da77b9e16b6a38b632d0aec4762c705eec049d05e9c738e7e27e410"}},{"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":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"42818aaf779ac5f996afeb2302184de5bb8798d5494f168f5ef39ab195386f96"}},{"ruleId":"D2","level":"warning","message":{"text":"SendMessageProcessor.sendMessage (cognitive 23): SendMessageProcessor.sendMessage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 3, ternaries 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e095d9b876929a096d7917d7599683d32c57adc8788c5309ac52cbaa17b9dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"SlaveSynchronize.syncTopicConfig (cognitive 23): SlaveSynchronize.syncTopicConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (6 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":"broker/src/main/java/org/apache/rocketmq/broker/slave/SlaveSynchronize.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff4eb8e80dcc7d6a176d903966a4c38723cf4b81906274019c13fe84a4560e6"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainAccessResource.parse (cognitive 23): PlainAccessResource.parse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3 (6 pts), boolean chains 2, 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5a483bd08f44b9dbfde78b0a73040b893baaf2e61f2311761f8de10cc9615b"}},{"ruleId":"D2","level":"warning","message":{"text":"TieredDispatcher.dispatchFlatFile (cognitive 22): TieredDispatcher.dispatchFlatFile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2, match/switch 1 (2 pts), error handling 1, 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"498b00f5bd3d6cf6418769ed9b965a897d6e263d1db5565d72e23e12914c3b9a"}},{"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":"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":"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":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"121eeed15b3b700a376ed5fa28da31de29c4ce982464861456849b823c45e3f7"}},{"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":385}}}],"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":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01b36e6468ed9ce190a800c39de5a2bd2bc86b38708c3a44b625985debe96f8"}},{"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":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad82bbd46d8265310e3735d4ccc1ad692c18ebbdffc0580925af448bb2cba05"}},{"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":134}}}],"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":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2595e6a611a2a5a00f15f13dc3fcbfa91c7fe14fa71e641ab48a17c98d0ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerController.\u003Cinit\u003E (cognitive 22): BrokerController.\u003Cinit\u003E has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (14 pts), if/else 6, 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/BrokerController.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"127d42dc2beaa5f532f1cf70bd7b3980ad96071ac4a42df6e1818d801cc0069a"}},{"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":"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":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c04e3a2cdba3983e9dfac7668fbfd279b374a33206430e43ce8c975d2d2120"}},{"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":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd339ee67dea78ec867b552771dff5b25382e95fda7e3d36bc9dbf0815ec723"}},{"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/DefaultMessageStore.java"},"region":{"startLine":2511}}}],"partialFingerprints":{"codehealthFindingId/v1":"52172a039e45680ff7bc8cdcc8b015c152493c4bc726958157fb2163f490d0f6"}},{"ruleId":"D2","level":"warning","message":{"text":"AclFileWatchService.run (cognitive 21): AclFileWatchService.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (7 pts), error handling 1 (2 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":"srvutil/src/main/java/org/apache/rocketmq/srvutil/AclFileWatchService.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08ba4b44e8848606776639a0d87206cb0733b44a5cd49a4bd7138b69329c8dd"}},{"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":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea240edb29086c1f1ebb2ec9ab80a7d87362ebf2b4481ad87fda3a85220a3847"}},{"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":"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":187}}}],"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":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4077a38d42c86759d58c48a3fc2b513635fea953bb386aefc182594357335c5"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceDataEncoder.decoderFromTraceDataString (cognitive 21): TraceDataEncoder.decoderFromTraceDataString has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 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":"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":230}}}],"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":"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":2502}}}],"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":992}}}],"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":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b5264a86e5733a45d9841979c753e658d47766cff0ad01728e080cce0a528a"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionalMessageServiceImpl.batchSendOpMessage (cognitive 21): TransactionalMessageServiceImpl.batchSendOpMessage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 2 (3 pts), error handling 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e03802388771c54ac5fac4dc0e82282a761def9982e1a61a48a0de82636bd69"}},{"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":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdfa50a3881dcf80a7d6d24c600544722b09f3a84fedbd628551fff4ba4865a"}},{"ruleId":"D2","level":"warning","message":{"text":"TieredStoreMetricsManager.init (cognitive 20): TieredStoreMetricsManager.init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 3, 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d53a186244be732c796e5ed3b6e149bf828bdc880ff58a47763045a6d7fe050"}},{"ruleId":"D2","level":"warning","message":{"text":"TieredMessageFetcher.getMessageFromCacheAsync (cognitive 20): TieredMessageFetcher.getMessageFromCacheAsync has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3, 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageFetcher.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"066b1b5ceb12a949918ba5ae05851e24508a5b4c57227804a90b398bf4a3df4a"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractWriteSocketService.transferToSlave (cognitive 20): AbstractWriteSocketService.transferToSlave has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 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/ha/autoswitch/AutoSwitchHAConnection.java"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"3354fe63f22ad6f3f602e5ab3dbc1bd93384da6105333c7865fba7a010b86732"}},{"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":648}}}],"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":739}}}],"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":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4becc9e1b79593ac02b3107943a4f1ac0e5d1a1ab73e9448e963a40da981cc8b"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageStore.resetWriteOffset (cognitive 20): DefaultMessageStore.resetWriteOffset has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (2 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"23963ca8ad3ab83d0eeb07f14865897d836e39eead2806ecec3162df83453dae"}},{"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":"SendMessageActivity.buildMessageProperty (cognitive 20): SendMessageActivity.buildMessageProperty has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/producer/SendMessageActivity.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1bf9e0e5a04a23976cbefbc31e100bdca569a4beb04f3f9dec284be8f6d2d9"}},{"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":"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":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f4300fe5ef68d35b5e8a3af06aaca5da5cc0f17bfd80b8c0a0f8c21fe5c719"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQProducerImpl.sendMessageInTransaction (cognitive 20): DefaultMQProducerImpl.sendMessageInTransaction has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 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":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdbfefaadf3e55681daab0fadbb65c1ff54871331cd366a06454624e60f16fb"}},{"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":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"208cb4fb3c300fee7be2de27fe7281d2364a183a525197b29a97373e9bf757eb"}},{"ruleId":"D2","level":"warning","message":{"text":"PlainPermissionManager.load (cognitive 20): PlainPermissionManager.load has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (6 pts), boolean chains 4 (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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c17a6cbd8af132ef31ff91d7455f44a2d39e1f3516f9261b56298a56474502"}},{"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/provider/stream/CommitLogInputStream.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f1f33f7cefaf524469c9746d695fba8500ad1684461f53af780882c15cb2c4"}},{"ruleId":"D2","level":"warning","message":{"text":"TieredMessageFetcher.prefetchMessage (cognitive 19): TieredMessageFetcher.prefetchMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, ternaries 1 (3 pts), loops 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageFetcher.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"720f947438b21da2cde02e5c4b0544e672ab250a4931d5f3c54bd676b92d8e73"}},{"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":523}}}],"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":"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":"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":"PullMessageRequestHeader.decode (cognitive 19): PullMessageRequestHeader.decode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. 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":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aad7d07bb949c008e14b9fdb577f8709b09679e289ecfff22f4a7f39cf7cbf1"}},{"ruleId":"D2","level":"warning","message":{"text":"HAProxyMessageForwarder.forwardHAProxyMessage (cognitive 19): HAProxyMessageForwarder.forwardHAProxyMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/protocol/http2proxy/HAProxyMessageForwarder.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c8252b75fa8e756ea48f24d0227c976d46b4a6a093f931ac886f54b7286eaf"}},{"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":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f971098551d53b18e2af09305c546e63e5ceb08e9be009ab75964bf6e5b77c9"}},{"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":"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":242}}}],"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":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"34020f7f42d3a7ddf659007e5b03c89b5b1c2c54fe3f50dcd9dcf4fb0420fb92"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultConsumerIdsChangeListener.handle (cognitive 19): DefaultConsumerIdsChangeListener.handle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 1 (4 pts), boolean chains 3, 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/client/DefaultConsumerIdsChangeListener.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b660b817acf632d387c9ca53585589593b1419df83b3847c26f3ce8fa3234ec6"}},{"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":"PopLongPollingService.polling (cognitive 19): PopLongPollingService.polling has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (18 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":"broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"373e5fd1f67023d4a771671894b68b78f7887b103b31529992f966caaf2777b1"}},{"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOrderInfoManager.java"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e31ae55ca24aca78ffff3d3613b099bee0ff905a7d32c3f304a2fe597f5dbb"}},{"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/offset/ConsumerOrderInfoManager.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bf2e566687c55e1c8d1efc81b7f9337a22aa10155cd90719d6b7a642a0f80b"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSendMessageProcessor.msgCheck (cognitive 19): AbstractSendMessageProcessor.msgCheck has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 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/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e79a905c6d010e9097e4140559121dfc50510c7922c833a2a2eb4cad2ca7369"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminBrokerProcessor.resetOffsetInner (cognitive 19): AdminBrokerProcessor.resetOffsetInner has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3 (4 pts), boolean chains 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bab9a0b08a80a7a5b0bbb90754de39532e5112439dbcaa3a3ea728b3b609b61"}},{"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":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec91a5e81208feb26bda1f3aefea7dcf1e08ec43480556642102f9dc08a32a67"}},{"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":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"34da725b495413da0a7a3d033f50053f2cb9714edd4650b7adcf1761ad2d221e"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAddressStrategyFactory.getRemoteAddressStrategy (cognitive 19): RemoteAddressStrategyFactory.getRemoteAddressStrategy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyFactory.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"540eeb68c53dbe958a2b0da62d9f204309400d0dd1c6644fd375eb3fc072acd4"}},{"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":"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":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"221f11023c16006c190eaffa9c7a943e69178198e4766d0a8e1427757c6b3302"}},{"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":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5805d7a5b45e23cdce205f4f6441eeef603874e0b1c69c7fed1364bd396547"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMessageStore.queryMessage (cognitive 18): DefaultMessageStore.queryMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 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/DefaultMessageStore.java"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"30eca8e3a26eb4243f42895995c96add6a4f0795d35332cc80995b6062633f43"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageExtEncoder.encode (cognitive 18): MessageExtEncoder.encode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (2 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/MessageExtEncoder.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"64be8f7ecda46a6b3766cd79a61f2a44adb8c7cec7267a980ed7838a6b77ad07"}},{"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":"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":"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":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1263a41cb17d7fe13cb98368cf5e4915d4e1624ca16f096adc86a349b4aa8c5"}},{"ruleId":"D2","level":"warning","message":{"text":"RebalanceImpl.truncateMessageQueueNotMyTopic (cognitive 18): RebalanceImpl.truncateMessageQueueNotMyTopic has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cddc9565a76e37f0e9a8b8002b1d5d799dc62ec60a9ed2d993b5e854084275"}},{"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":"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":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"90087c8749080d9cf3f6c9c4e0b9f550d9d888be435bb165dcf3352d863a241a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumerOrderInfoManager.autoClean (cognitive 18): ConsumerOrderInfoManager.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/offset/ConsumerOrderInfoManager.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7906263a21e35e4e4b00453242a0e754d4dbd427535763ed9e3be1d00847ad2b"}},{"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":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"942f7dd260c44a0ce3543292a930c90e313d59a728d8b5565ebde589eb659962"}},{"ruleId":"D2","level":"warning","message":{"text":"AckMessageProcessor.processRequest (cognitive 18): AckMessageProcessor.processRequest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 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/processor/AckMessageProcessor.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7c2342d068d72450d1c7ddc31a393e82293d5c6db155f5fef4ec4171ea2696"}},{"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":177}}}],"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":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"8534b96ee2207b8271ab342d3b95a1ca8ea086a83afe3bd30a0f44d79385098a"}},{"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":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"769d68f600a97657c47b508eeb271a32bdd77bfe83cfe05b9c6ee95ff30326ed"}},{"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":"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":"CommitLog.isMappedFileMatchedRecover (cognitive 17): CommitLog.isMappedFileMatchedRecover has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, 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/CommitLog.java"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84783fc7313f543a7ce8dee2e8cc99ac2229d3407ad1604b08e35af6ab8b1cd"}},{"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":527}}}],"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":"NettyRemotingClient.createChannel (cognitive 17): NettyRemotingClient.createChannel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6f4266ebbca398e6e80ebbac245cb57b713b69741530a696d16941e76f40cd"}},{"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":"MessageQueueSelector.selectOneByPipeline (cognitive 17): MessageQueueSelector.selectOneByPipeline has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 3 (6 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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/MessageQueueSelector.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2743a59b42afa999cf7cc57e0858b4dd0c61b6ceef311a1b1f1a89b953e783ea"}},{"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":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"826f6b744201210d267ef4861351d0300e0c28b453f876c9c401fc60adf21dbd"}},{"ruleId":"D2","level":"warning","message":{"text":"BrokerContainerStartup.createBrokerContainer (cognitive 17): BrokerContainerStartup.createBrokerContainer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 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":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"817a408cfdb0ddcd3e97c2c445b8242a61e980e402290d77ef321a5452b341e9"}},{"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":"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":346}}}],"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":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c883a713351f7e176cfa70459c8d8848c146a89a9eaa10df39d1814055203b"}},{"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":596}}}],"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":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"19319ee400561c5586dbd2dff60c07261c3953a9a6ac2736f635a6688f85a3c7"}},{"ruleId":"D2","level":"warning","message":{"text":"TieredFileSegment.commitAsync (cognitive 16): TieredFileSegment.commitAsync has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredFileSegment.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c440ec997049415774a308b870edb356236979488169978ee64ef342277486"}},{"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":495}}}],"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":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfa0f12691e12fa686c37c2ffb821ae62a1707dc764f5f51c414d8d56a54baa"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexService.queryOffset (cognitive 16): IndexService.queryOffset 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":"store/src/main/java/org/apache/rocketmq/store/index/IndexService.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd5f8f1746dc1cb6eb70d2b353dd6b223798c8bc949a9e146003bfda7d73cc5"}},{"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":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe3b1b15c394c9a57b03c05ad4c6442f74f9e26dc5821fd39302a49443e30cb"}},{"ruleId":"D2","level":"warning","message":{"text":"RocksDBConsumeQueueTable.binarySearchInCQByTime (cognitive 16): RocksDBConsumeQueueTable.binarySearchInCQByTime has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 1 (2 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/queue/RocksDBConsumeQueueTable.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebcae95845c3cd1f8dcddabaa6651e404881e7d04dd0c836012eee5a9190bb4"}},{"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":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"259b0cda495677555a501609131ca3c22986183c26bd8a73c6deb8196339a713"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanConsumeQueueService.deleteExpiredFiles (cognitive 16): CleanConsumeQueueService.deleteExpiredFiles has cognitive complexity 16 (threshold 15). Drivers by points: error handling 1 (5 pts), if/else 2 (5 pts), loops 2 (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/DefaultMessageStore.java"},"region":{"startLine":2470}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb1f900533d51c78a55e84809021f179cce6651792fe44c6d200b30d54609d0"}},{"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":"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":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f5704b7ed6d565d6c898b10d36e8c556d32917135a5397c0971b52051728c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ProducerProcessor.sendMessage (cognitive 16): ProducerProcessor.sendMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, loops 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ProducerProcessor.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"93719698d6d23f34c003f819d76edc90d3c8dfc2a7b1d9cc426a6b3934b70e8b"}},{"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":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b30c42f5a17812204c64ecd3d6639b724fd73878c534b5bbcfc4327f39d6bb"}},{"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":"NetworkUtil.openSelector (cognitive 16): NetworkUtil.openSelector has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (5 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":"common/src/main/java/org/apache/rocketmq/common/utils/NetworkUtil.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c16e2620d2b8bb015780e39092b8dbf80dbe6496dde561fb6f02c52c1898562"}},{"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":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9a896e1c806de3358445314f86e0f198f5e33a34ba4d9a6b593fbb6a55e0ce"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultMQPushConsumerImpl.start (cognitive 16): DefaultMQPushConsumerImpl.start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (4 pts) (nesting depth added 7). 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/DefaultMQPushConsumerImpl.java"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdfe66b06f05330bdeecd59fb6e34609059b72138c2134442b4dba7dd31c969"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncRunnable.run (cognitive 16): AsyncRunnable.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), error handling 1 (3 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":"client/src/main/java/org/apache/rocketmq/client/trace/AsyncTraceDispatcher.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5040688073d841abae64122f581d0b5a9c2f7e334cdf635651189a1e7017fc1c"}},{"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":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"272d51104a847f1bab11fc3a764b1de16f0481570ff2f9abb4c107b9ec98d447"}},{"ruleId":"D2","level":"warning","message":{"text":"PopReviveService.reviveMsgFromCk (cognitive 16): PopReviveService.reviveMsgFromCk has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3, match/switch 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd42e41640890de9fc16c6b4fdd009bdc49bf8dd14eb7ba98faedc7b46d93fa"}},{"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":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc2af1811d9834fa484d4977d3c3b470b57cbd3900782875955fee227ac86c5"}},{"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":"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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"3260b1d44becb7ba357a9f2c1fba3104b6754c999c8aed8d396956b138aafeaa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrokerConfig: TooManyMethods \u2014 342 methods. The bar is 30 methods; this is 312 over it, 11.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/BrokerConfig.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f149cb49c37357a297bcf5a2c0f1ed2c439dae53c4885816dcbc6c1446387ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageStoreConfig: TooManyMethods \u2014 341 methods. The bar is 30 methods; this is 311 over it, 11.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/config/MessageStoreConfig.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cd9e156ee10d26eff2f017e317956065eb35c8b7dd012aec05f0fcd59dfc03"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProxyConfig: TooManyMethods \u2014 292 methods. The bar is 30 methods; this is 262 over it, 9.73\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 2206 significant lines (blank, comment-only and punctuation-only lines excluded), 130 methods. The bar is 400 significant lines; this is 1806 over it, 5.52\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":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f04a8dd54f3346def9be73709fcb7ba27403f63953314d83e89a21e400ece28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMessageStore: TooManyMethods \u2014 162 methods. The bar is 30 methods; this is 132 over it, 5.40\u00D7 the bar. Most of these members implement store.MessageStore (110 of 155 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":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c21fcd7adfb611f630ce37c9cda91e0965a71be17e504c399a32ab5d356122b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrokerController: TooManyMethods \u2014 158 methods. The bar is 30 methods; this is 128 over it, 5.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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5446cdb844350d3fca7fffeab127d64cb41e6d43d4a8fbde04b8a736d05a5fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMessageStore: ClassTooLong \u2014 1991 significant lines (blank, comment-only and punctuation-only lines excluded), 162 methods. The bar is 400 significant lines; this is 1591 over it, 4.98\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":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"29508bed5e0c310efbc2a0ee433db8b4742cad6fb90b2f60b25d00db80ca98dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impl/MQClientAPIImpl.java: FileTooLong \u2014 2416 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: MQClientAPIImpl (230-3295). The bar is 500 significant lines; this is 1916 over it, 4.83\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":"ClassTooLong: AdminBrokerProcessor: ClassTooLong \u2014 1920 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods. The bar is 400 significant lines; this is 1520 over it, 4.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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5496e5fab6011d6352a5dc06cd2f9c817d872fb826b09d93248234b9238271b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MQClientAPIImpl: TooManyMethods \u2014 130 methods. The bar is 30 methods; this is 100 over it, 4.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/MQClientAPIImpl.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"639695f5f4a5b9039be9a69f23abe38f2c5d084226e82318618e3f2d3c05aaaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/AdminBrokerProcessor.java: FileTooLong \u2014 2094 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AdminBrokerProcessor (194-2818). The bar is 500 significant lines; this is 1594 over it, 4.19\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":"FileTooLong: store/DefaultMessageStore.java: FileTooLong \u2014 2088 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DefaultMessageStore (116-3327). The bar is 500 significant lines; this is 1588 over it, 4.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/DefaultMessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39eccb0a707697850b13146119c67dead129abc81f5396dede817b2dff5ef8bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractPluginMessageStore: TooManyMethods \u2014 117 methods. The bar is 30 methods; this is 87 over it, 3.90\u00D7 the bar. Most of these members implement store.MessageStore (110 of 111 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":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"af84f6d4142583ee729d066305a9fa5d1ca9df4c0b91e8fb6d38f275a56a5a62"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CommitLog: ClassTooLong \u2014 1477 significant lines (blank, comment-only and punctuation-only lines excluded), 69 methods. The bar is 400 significant lines; this is 1077 over it, 3.69\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":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8f1635ba17e03be827c92fe81bab33ba32e3495936a54d3089f35c9a978060"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQProducer: TooManyMethods \u2014 107 methods. The bar is 30 methods; this is 77 over it, 3.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/producer/DefaultMQProducer.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f186d79edf7cfadd51a0ff361877860b8a785b55d3240262dbcff9a09f10f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrokerController: ClassTooLong \u2014 1410 significant lines (blank, comment-only and punctuation-only lines excluded), 158 methods. The bar is 400 significant lines; this is 1010 over it, 3.53\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":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a02385490ada8fce0cf83988b4c57d365962fae00db091f52b898b7e265be85"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQPushConsumer: TooManyMethods \u2014 103 methods. The bar is 30 methods; this is 73 over it, 3.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":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"717e277be9f834a0d933b07b6338f42d6ece8abf56bddabebcef92d91850ffec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQProducerImpl: TooManyMethods \u2014 97 methods. The bar is 30 methods; this is 67 over it, 3.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":"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":"FileTooLong: broker/BrokerController.java: FileTooLong \u2014 1559 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: BrokerController (170-2422). The bar is 500 significant lines; this is 1059 over it, 3.12\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":"ClassTooLong: TimerMessageStore: ClassTooLong \u2014 1236 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods. The bar is 400 significant lines; this is 836 over it, 3.09\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":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcabcec03192de0e09b59b116a58d8c337b623783c759eccfa3bc4a51e5a184"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/CommitLog.java: FileTooLong \u2014 1526 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: CommitLog (72-2447). The bar is 500 significant lines; this is 1026 over it, 3.05\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: DefaultMQProducerImpl: ClassTooLong \u2014 1162 significant lines (blank, comment-only and punctuation-only lines excluded), 97 methods. The bar is 400 significant lines; this is 762 over it, 2.91\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":"TooManyMethods: DefaultMQPushConsumerImpl: 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/impl/consumer/DefaultMQPushConsumerImpl.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"15545121242691b05b8c3b8ce6125e8717579b1f1b05bfc097b96795ef84cafc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultLitePullConsumer: TooManyMethods \u2014 84 methods. The bar is 30 methods; this is 54 over it, 2.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":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultLitePullConsumer.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c99e45a5e3aed8e2ebc0604c1fba909609c1354c6453257e4552813cdf1a21a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TimerMessageStore: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 over it, 2.77\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":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0bbdc891c7a2bdba56e6ce40e618b4b59821add6763895c63fc1a682db3ebb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AdminBrokerProcessor: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\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":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dca0e633f63a053f1a310796f945760d0412bcc2ebadac8aad659b0c9702dd8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultLitePullConsumerImpl: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\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":"FileTooLong: timer/TimerMessageStore.java: FileTooLong \u2014 1291 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: TimerMessageStore (74-1871). The bar is 500 significant lines; this is 791 over it, 2.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/timer/TimerMessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebbdcfeb8a30a9e95e80187236e97d4a76589d760326cc54380bc3b5b1fbb3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: producer/DefaultMQProducerImpl.java: FileTooLong \u2014 1243 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DefaultMQProducerImpl (101-1813). The bar is 500 significant lines; this is 743 over it, 2.49\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: DefaultMQPushConsumerImpl: ClassTooLong \u2014 968 significant lines (blank, comment-only and punctuation-only lines excluded), 86 methods. The bar is 400 significant lines; this is 568 over it, 2.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":"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":"ClassTooLong: BrokerOuterAPI: ClassTooLong \u2014 925 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 525 over it, 2.31\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":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7069ba51db62e6a6fa35a1f3730890c704e1a32f8be57d65a3195761a528097"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommitLog: TooManyMethods \u2014 69 methods. The bar is 30 methods; this is 39 over it, 2.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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17a1ab060b77a7243f480f230608aea919a26bcb9c1440efe1a23332ad71ae5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PopMessageProcessor.processRequest: MethodTooLong \u2014 processRequest runs 230 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\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":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b08f9f0851aa859c1951f5b8c06475b5040a24692f6ca32ef2cdd7544d5956"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageStoreConfig: ClassTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded), 341 methods. The bar is 400 significant lines; this is 512 over it, 2.28\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":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3242fbda6e50a3634ef7dd62d4ec915dc28d05d2bf70f0e715624c48711b68f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQPullConsumerImpl: 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":"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":"TooManyMethods: TieredMessageStoreConfig: 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/common/TieredMessageStoreConfig.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b4a46b8348c0044ac4d56126e2cada1e372433ce5cca1936c057c6a9892771"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BrokerConfig: ClassTooLong \u2014 872 significant lines (blank, comment-only and punctuation-only lines excluded), 342 methods. The bar is 400 significant lines; this is 472 over it, 2.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/BrokerConfig.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"00400e1ace7d2329becbd15e20ed58e3d06d4119871992a06eab36ecdebf7658"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PullMessageProcessor.processRequest: MethodTooLong \u2014 processRequest runs 217 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 117 over it, 2.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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6a7452588f92f1db11fdf07a92a53c210edd8633d439f42923267dd5037581"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrokerStatsManager: 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":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c475bccf832eb7300d8d3171fed06803f555222b2178e1038359c6502edd5"}},{"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: DefaultMappedFile: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. Most of these members implement logfile.MappedFile (39 of 56 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":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"582adbb1f66922a8464a72275a881689f3bdac9329c4d2786caed4d518e5097b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BrokerOuterAPI: 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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1de3830b18673bd32e0c15a6caac2b979054ad43f93667a053601df3a9d1853"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientConfig: 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":"client/src/main/java/org/apache/rocketmq/client/ClientConfig.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9b3f41a869e93222924be6077f33edf434a76ff26f7949495da50e1ce4120d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: out/BrokerOuterAPI.java: FileTooLong \u2014 1050 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: BrokerOuterAPI (145-1475). The bar is 500 significant lines; this is 550 over it, 2.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":"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: consumer/DefaultMQPushConsumerImpl.java: FileTooLong \u2014 1046 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DefaultMQPushConsumerImpl (97-1564). The bar is 500 significant lines; this is 546 over it, 2.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":"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: RemotingCommand: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.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/protocol/RemotingCommand.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa57b5405e6ab8bdff59802cd0caf3d7fe2b7ca0b686dd7cd17f0c7b4223e476"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MQClientInstance: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.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/factory/MQClientInstance.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f252b67eb805ee1c75b69d0a369b445ab3ae6a7e84c8315c24f08ef20e3934"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMQPullConsumer: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.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/consumer/DefaultMQPullConsumer.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcfc0ee762db387a83eda9b5180466045f25f29e2d509b10d1941f34d3055e6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BatchConsumeQueue: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f04646f92672f72e13f2ce7d29b3b447533390f3e4c23e1d10e0422da944752"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MQClientInstance: ClassTooLong \u2014 795 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 400 significant lines; this is 395 over it, 1.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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e17a62586298517d7aa0f69001ebdc1119a7a1d6ed984366ce5c80b998ef4d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProxyConfig: ClassTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded), 292 methods. The bar is 400 significant lines; this is 370 over it, 1.93\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":"ClassTooLong: DefaultLitePullConsumerImpl: ClassTooLong \u2014 763 significant lines (blank, comment-only and punctuation-only lines excluded), 79 methods. The bar is 400 significant lines; this is 363 over it, 1.91\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":"ClassTooLong: ConsumeQueue: ClassTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 354 over it, 1.89\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":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0d0b6a65023267ca0c380be31ccd03d8c62791472ff89e955501216ef5b305"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BatchConsumeQueue: ClassTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 340 over it, 1.85\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":"ClassTooLong: NettyRemotingClient: ClassTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 340 over it, 1.85\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":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6708a46927d11145c90a4940f592394ad00b60b7a8972a8fc65c6e6cb87eb1f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/MessageStoreConfig.java: FileTooLong \u2014 918 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: MessageStoreConfig (26-1808). The bar is 500 significant lines; this is 418 over it, 1.84\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":"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":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d0aeba19d44980178a7510b506aab6196d49b01afa91596b0f0e5cbf944a63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMQPushConsumerImpl.pullMessage: MethodTooLong \u2014 pullMessage runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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: 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":"TooManyMethods: MappedFileQueue: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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":"FileTooLong: common/BrokerConfig.java: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: BrokerConfig (28-1783). The bar is 500 significant lines; this is 380 over it, 1.76\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":"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":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65a05161384767d5cfe7c598ba506e28c31ea0df0149a1c0a16c09e16507715"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConsumeQueue: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3565ce1dbd883b13bc4c6d3aa9a88b29d037d4f1b9aa797510fa52f8a78e5d60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: factory/MQClientInstance.java: FileTooLong \u2014 866 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: MQClientInstance (91-1334). The bar is 500 significant lines; this is 366 over it, 1.73\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: 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: ControllerConfig: 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":"common/src/main/java/org/apache/rocketmq/common/ControllerConfig.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5734b1bce56ca215079b7e333f04d65c9692da41c21cb985132b545bb10683f2"}},{"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-1112). 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: consumer/DefaultLitePullConsumerImpl.java: FileTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DefaultLitePullConsumerImpl (79-1302). The bar is 500 significant lines; this is 323 over it, 1.65\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: netty/NettyRemotingClient.java: FileTooLong \u2014 813 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: NettyRemotingClient (92-1181). The bar is 500 significant lines; this is 313 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":"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: config/ProxyConfig.java: FileTooLong \u2014 791 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ProxyConfig (41-1474). The bar is 500 significant lines; this is 291 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":"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 624 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 224 over it, 1.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":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"14771253514eaa36edd803ebfd3e60f53954dcda334c52fb61175b5b3298d63b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/ConsumeQueue.java: FileTooLong \u2014 779 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ConsumeQueue (44-1196). The bar is 500 significant lines; this is 279 over it, 1.56\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: 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: ConsumeMessageContext: 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":"broker/src/main/java/org/apache/rocketmq/broker/mqtrace/ConsumeMessageContext.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5c37233b07129c1837fb664fad22b86fd46477c395c192b1a69bfb3246c659"}},{"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":"FileTooLong: queue/BatchConsumeQueue.java: FileTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: BatchConsumeQueue (46-1173). The bar is 500 significant lines; this is 266 over it, 1.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":"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: 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":"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":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4ac3d16516fb0d5bd95f5cce4ae6ab56c8e1f6b0970ec35cefc757ab78f303"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SendMessageProcessor.handlePutMessageResult: MethodTooLong \u2014 handlePutMessageResult runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\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":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2abd6d3dc229a1b4535ec50aab66b4cb3ff1ac288ce5f7c334e2ab849a97505"}},{"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":"ClassTooLong: PopMessageProcessor: ClassTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 185 over it, 1.46\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":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"55da6da8fb5a370135a6a51724b62c259a184c7bffdf762004adc9bba6aa311d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMQProducerImpl.sendKernelImpl: MethodTooLong \u2014 sendKernelImpl runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"51939155b1d47c7ffb288c7a2a554ece6c6867814918338cc2aa78bca611baf3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConsumeQueueStore: 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/ConsumeQueueStore.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"331ab34ee70172c22939ad74f4c14140e55ef8f4c6c07f1d97881c86851df10e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CompositeFlatFile: 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/CompositeFlatFile.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03aef7b43b2f09adf2ba92aa28e430e72a54a8f1c59c300ff255dfe22c54152"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TieredStoreMetricsManager.init: MethodTooLong \u2014 init 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/metrics/TieredStoreMetricsManager.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56aeef9eac31c4561ef1a1f0605cb10cd48ce51b1c7173663f63bbf3cd975a1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PullMessageProcessor: ClassTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 171 over it, 1.43\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":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46de664c7893bc1bd19a01da58c62d3f03d5b62f46a190bc04d6fc6e68a3222"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMappedFile: ClassTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 400 significant lines; this is 160 over it, 1.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":"store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda0a6c203b5c388d09d5f3fab1bf253ce455f744238af942997fd456be80cb9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RebalanceImpl: 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdf7887a0a42f363834f86de9ee5b1f83071612d30d9ef43056ca4134506f40"}},{"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":"ClassTooLong: PopBufferMergeService: ClassTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 150 over it, 1.38\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":"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: RocksDBConsumeQueue: 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/RocksDBConsumeQueue.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bea440309ea5a86e78cbcc3724ea3767ddb204dd80f0b6b61f0af08e2391f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MappedFileQueue: ClassTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 400 significant lines; this is 139 over it, 1.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":"store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8de0668e5fde55f31af0421f119fa603204517b47d3c468e3e9450ca20f702"}},{"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":"FileTooLong: dledger/DLedgerCommitLog.java: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: DLedgerCommitLog (64-1016). The bar is 500 significant lines; this is 164 over it, 1.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":"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: BrokerStatsManager: ClassTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 400 significant lines; this is 129 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":"store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea97cecb2776f3c1b0e8fd31de272f25d09adf03e21372cd3d98e3ca00a63d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/PopMessageProcessor.java: FileTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: PopMessageProcessor (96-907). The bar is 500 significant lines; this is 161 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/PopMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abacf24b1f75a46b416f15432ce092c7439605fd8226b421197c333f872bb5f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScheduleMessageService: ClassTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 125 over it, 1.31\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":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18813549f4c7126cb69b344f9a22f84b2e357423ccbe1c614227393798f9123"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommitLog.checkMessageAndReturnSize: MethodTooLong \u2014 checkMessageAndReturnSize runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ba5b8b5dd9bfd177329ca3248bff1cb06b11fea2f416f400241c95e27d50a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Message: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.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":"common/src/main/java/org/apache/rocketmq/common/message/Message.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"21649821bb17a1601865d471318d0ba45bd5558039963f90115c432be8460b08"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultMessagingProcessor: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. Most of these members implement processor.MessagingProcessor (33 of 37 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":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9952c79816890b09e997e60a8928e40d1b191e46930e801702ebdf4b8aa6d6b3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RebalanceImpl: ClassTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 116 over it, 1.29\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":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a98a50fa84f6e24d2ecbc2039adf0adf0864e73fe4e4e799e44bff3037d7c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PopMessageProcessor.popMsgFromQueue: MethodTooLong \u2014 popMsgFromQueue runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"740c1e6ded7eff42af71664f61f7d64dfd362e90a0e6f638f8fef9391262a2b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMessageStore.getMessage: MethodTooLong \u2014 getMessage runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d31c8af053b42c7fb296bcadf7bfd0ef0e4759608b1d5aa08668ba56b15cb4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultMQPullConsumerImpl: ClassTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), 67 methods. The bar is 400 significant lines; this is 108 over it, 1.27\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":"MethodTooLong: AdminBrokerProcessor.processRequest: MethodTooLong \u2014 processRequest runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"515c8462bd66d4c89d9be04f8de3e6fbdd7b471aca07c3fd9177f58bca0f67f8"}},{"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: DLedgerCommitLog: 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":"store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f27f5dadd480985b8f93c08bf52de4212c0c5158b4d6f514ea1e19fb059962"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/PullMessageProcessor.java: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: PullMessageProcessor (80-882). The bar is 500 significant lines; this is 131 over it, 1.26\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: ReplicasManager: ClassTooLong \u2014 498 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 98 over it, 1.25\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":"ClassTooLong: DefaultMQProducer: ClassTooLong \u2014 497 significant lines (blank, comment-only and punctuation-only lines excluded), 107 methods. The bar is 400 significant lines; this is 97 over it, 1.24\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":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d79b96d1911aee7039ba84eaa3ed0de5d5d2bd1762aad70102dad273c04ba3a"}},{"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":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"355439ad241b62318a87d926b0ec1ac0d6f6dbb09faf2e55c50eb5674923b2c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlainAccessResource: 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ada392440e6fef2c43e5450928c385ae10fcbc16c976fc29fd00c16ba04058"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RocksDBConsumeQueueOffsetTable: 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":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueOffsetTable.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bd19cc145d0d99f76692b473966cd3b6ade78edc793e72802f42d9387fc38e"}},{"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":996}}}],"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":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48b34f92f8d35960d04ea29ffd3c3916ced6f5a01beed002fd3bc5b264f113b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: logfile/DefaultMappedFile.java: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: DefaultMappedFile (61-929). The bar is 500 significant lines; this is 102 over it, 1.20\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: TopicConfigManager: 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/topic/TopicConfigManager.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"245b9d750efa9b1d0e895f8782dbb2b544d5634411e401b56754ece10c29acbf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyRemotingClient: 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/netty/NettyRemotingClient.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d27c95b420613aaa25d73eda858285612971cc1755c87899f647e52a1d030d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TieredFileSegment: 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredFileSegment.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f767b77e3ceb36273393105d8fb6ce72c2bb27fe5f0ac1c2c6d1fe9723f994dd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageDecoder: ClassTooLong \u2014 478 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 78 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 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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: 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":"TooManyMethods: MixAll: 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":"common/src/main/java/org/apache/rocketmq/common/MixAll.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6726a58b88140970fb8cbe43b7a65e08c763b24c0acb0ff21db28d70aa87d98"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyServerConfig: 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyServerConfig.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ce64e930920cf5ba58daf19db2f559d01757c391dd2e11502e29b61d502453"}},{"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":"ClassTooLong: UtilAll: ClassTooLong \u2014 465 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 65 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":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"082404b24bb3ca1adcd65363720569268c8ff9b9a4a97e6ec98a689a33311d47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultMQProducerImpl.sendDefaultImpl: MethodTooLong \u2014 sendDefaultImpl runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d818cc99286304a48370141618c113a4c9d29ec18fc09c3d4ad354fc1aeb3f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommitLog.asyncPutMessage: MethodTooLong \u2014 asyncPutMessage runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"7add052d7b629d0f264358b2e4ae1103e6ee25c2de59139b23e8bab1fd114967"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/PopBufferMergeService.java: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: PopBufferMergeService (47-881). The bar is 500 significant lines; this is 78 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14788792788e1c852e42acbc5b522005a7db7a745c14fa5ff8e47179a0654020"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TransactionalMessageServiceImpl: ClassTooLong \u2014 462 significant lines (blank, comment-only and punctuation-only lines excluded), 28 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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2bf49d02caa59389cad480834fbb600c1e4f0f5cb0c6d41e6514be3de3e75d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NettyRemotingServer: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 60 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a722a358d6f0477d95f6d5136239ee37735e31567aa93395e56a7bfe46c93e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PopReviveService: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 60 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76e75025a1c55033100af51945084d52db0bf4c2125a6c0c9f2f33893c585cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schedule/ScheduleMessageService.java: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ScheduleMessageService (64-850). The bar is 500 significant lines; this is 69 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/schedule/ScheduleMessageService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee294c49d0afa43c688475097d42bcc32fdb908cbd0dfda5f75b73759af26b0"}},{"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":"FileTooLong: store/MappedFileQueue.java: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MappedFileQueue (40-911). The bar is 500 significant lines; this is 60 over it, 1.12\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":"FileTooLong: consumer/DefaultMQPullConsumerImpl.java: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: DefaultMQPullConsumerImpl (74-843). The bar is 500 significant lines; this is 59 over it, 1.12\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":"ClassTooLong: SendMessageProcessor: ClassTooLong \u2014 446 significant lines (blank, comment-only and punctuation-only lines excluded), 11 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c461f098e9970d2317c9af18374e8f6739f89dc0324b4ecfc2fc7e6d0ad1a8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultRequestProcessor: ClassTooLong \u2014 445 significant lines (blank, comment-only and punctuation-only lines excluded), 30 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":"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: stats/BrokerStatsManager.java: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: BrokerStatsManager (43-778). The bar is 500 significant lines; this is 53 over it, 1.11\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":"TooManyMethods: SubscriptionGroupConfig: 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/subscription/SubscriptionGroupConfig.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77a85f84364684b3454fe1779b4c6911a959174b6599b2de7938f714b09e5af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RocksDBConsumeQueueStore: 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/queue/RocksDBConsumeQueueStore.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b57a85ca1f0a9402f7c3817035cf8a744d990c10c6df10438196397b4a6303"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: consumer/RebalanceImpl.java: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: RebalanceImpl (49-849). The bar is 500 significant lines; this is 46 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":"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: PeekMessageProcessor.processRequest: MethodTooLong \u2014 processRequest runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1835971182b0b96fe7807d16ae13846ee3e4ad4f8b630870560ad54d5432bfb4"}},{"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: AutoSwitchHAConnection: ClassTooLong \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded), 17 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":"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":"FileTooLong: controller/ReplicasManager.java: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ReplicasManager (67-879). The bar is 500 significant lines; this is 37 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/controller/ReplicasManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccded2a3971b6675177f1f83d9547381ffe63e1cb4ba3e4d416585b3662f4e1c"}},{"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":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db0cc6858fec0cc44f6f8818d458b88830cd0e2a71d9365e458a8f76ce2acbc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PullMessageRequestHeader: 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/protocol/header/PullMessageRequestHeader.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c595370f8427e36eef3f5081c020505a8c4d222acecbc5b65e99e9930d1f1b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SendMessageRequestHeaderV2: 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/protocol/header/SendMessageRequestHeaderV2.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bf96a783b95b833939c7abafcf4a792c58a24aa9ad0ac0e9b52c62f10d6f48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: netty/NettyRemotingServer.java: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: NettyRemotingServer (91-812). The bar is 500 significant lines; this is 32 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":"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: 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: producer/DefaultMQProducer.java: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: DefaultMQProducer (64-1382). The bar is 500 significant lines; this is 30 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":"client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daba02ab3754b2c7dbedb73eb19a45e6c1cefaf8574742ce010e13180d217d76"}},{"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":"MethodTooLong: CommitLog.asyncPutMessages: MethodTooLong \u2014 asyncPutMessages 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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"96143f414207312ba1a31f9385bee9a60dee194fa32bab58e1f5e223796093cc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubscriptionGroupManager: 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":"broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9a6f717cc55d15d497cfb49f6866bf8e7985a3577df82cc34347cf7d45dd10"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyRemotingServer: 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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"67db8d8875c05114d2fba9ea8f50736cbaf2ec20c71873cce3eb85258d370235"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DispatchRequest: 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":"store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"912520326328482f33b1c6a7c13aa89851cc3088c253b45495eb4325155bf17b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TopicConfigManager: ClassTooLong \u2014 412 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 12 over it, 1.03\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":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95ee62e92d4cee7a657d9c2e71195315b358cb6daf092b458f93016a0ac1313"}},{"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":426}}}],"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":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c23b2619a5cb1cbf8a3fcb1cd4b0cc88f945636b317c1abc36510ce87ff4da6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MQAdminImpl.queryMessage: MethodTooLong \u2014 queryMessage 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":"client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc901afe3755e3510ca58acca58de054302de9581a6189b81b68bd9121b6430"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: processor/PopReviveService.java: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: PopReviveService (64-689). The bar is 500 significant lines; this is 4 over it, 1.01\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":"FileTooLong: processor/SendMessageProcessor.java: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: SendMessageProcessor (78-686). The bar is 500 significant lines; this is 4 over it, 1.01\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":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:474-553 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:556-740 \u2014 These two members are variants of one another: 54 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":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"20636fae386686d356c777626370cb3147ab66d326c338618cf68b605033e80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:585-634 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:636-711 \u2014 These two members are variants of one another: 44 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/factory/MQClientInstance.java"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea5c4c7a1726940ba62055cc4fccd2da32ad117e57ad287183fc1d310d859d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1628-1699 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:56-111 \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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5731638e2d37f1ca8bcd41c80547d10e8f11571e40f61237675d97ec036de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:362-381 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:385-413 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:417-442 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:445-463 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:467-486 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1442-1457 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1583-1607 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2073-2089 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2131-2149 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2742-2761 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3048-3074 \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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d0f94e69e2bac15a821028f754d05280f43d4aa126bd304198c69e8dc94e28"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:196-211 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:214-229 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:232-247 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:251-266 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:286-301 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:305-320 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:323-338 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:342-357 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:361-376 \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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde65796003a811f4c1d8463db615fc4bc9a03682e473b5979e59b46d44dee85"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java:111-166 | broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java:69-129 | broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:66-174 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:82-224 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:60-117 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:197-490 | broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java:302-581 \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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a2590b4d2c6968fe8e014070e25910f405e808a7d308fc7a6edad4e40b6984"}},{"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): 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/AdminBrokerProcessor.java:727-762 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1445-1469 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1732-1757 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1788-1813 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:289-312 \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/AdminBrokerProcessor.java"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9411580641b7ec9d0ff398fe3f518afa339acbdbc3b356aeb4a4e16b137e66d"}},{"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/ChangeInvisibleTimeProcessor.java:161-200 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:596-622 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:624-660 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:662-699 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:701-730 \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/ChangeInvisibleTimeProcessor.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a469af0222cae9c8a450fbd8f1ea989188055b6e723eb10e56428bf673258ee0"}},{"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:87-224 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:82-224 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:197-490 | broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:77-135 | broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:138-181 \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":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f96df19ddbaf88a2df254451a2841351ae2ce8786f231fe1012172137dddd0"}},{"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:201-219 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:247-265 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:284-303 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:305-324 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:326-345 \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":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4e6850feffe1f16217a849f53ce2b041e0aa182e439025e5b22943f72f48c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:319-405 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:692-804 | store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:123-189 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:211-265 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:54-111 \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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcbf8a7a88246b7e7e28781c2f2fca250b5518dcb16a8766a3012d5dbd6d154"}},{"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:400-420 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:600-619 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3105-3121 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3273-3294 \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":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10b3d2d9a8cb69103269b931a889eaaac7ca7556bcdbcd500c4e37630de3d20"}},{"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:192-209 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:211-227 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:229-245 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:247-263 \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":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4b108187dea03a8b9b5d27a79b44b6361253d586063414554e1dd9ea4f5131"}},{"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:1339-1360 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2292-2320 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2325-2347 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2621-2650 \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":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18944f069175b464a8ddbe78d7527cd6eced1596548f4093d3a6dbd49bdb598"}},{"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:1636-1656 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1835-1855 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1876-1892 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1895-1910 \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":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c06b8b662cbd3c1e8b5e9ef489880f5dd595961addff021ecce3c3e252881e9"}},{"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:2174-2201 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2204-2229 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2874-2904 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3218-3243 \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":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e1f1505e907d84baef3302bdef0dd817399a9c975123b5704d13ec5c4ac14b"}},{"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:131-184 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:139-197 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:116-168 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:133-191 \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":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3851088c324d7883f358acef44fd9471844c7478c2c323c7c7f43f759e182810"}},{"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:364-402 | common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java:55-85 | common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java:59-97 | 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":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"52aa101a64bd57e571dc1c900d2e2712d941ed3725a1030c01c6e5d634cdce09"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:523-542 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:558-575 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:578-595 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:597-614 \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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0291b19608132a70c49248b209f7f9e5f8cae3894716bb0fa0006b104daca304"}},{"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:900-1075 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1077-1236 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:402-418 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:523-664 \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":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b35191406a685ddd97020ebfcc6666d73498486b35e58adbaa7b230e99291e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java:94-151 | common/src/main/java/org/apache/rocketmq/common/stats/StatsItemSet.java:47-104 \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: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":"common/src/main/java/org/apache/rocketmq/common/stats/StatsItem.java"},"region":{"startLine":94}}}],"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:140-182 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:134-176 \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 11 separate duplicated blocks between them, totalling at least 138 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:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":140}}}],"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:365-402 | common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java:60-97 \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 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. 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":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3b72da5f5163dbbe56f256514bd84f037abac9d5238f528b89e6b1d6df9400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201336 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/config/ConfigRocksDBStorage.java:136-171 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:93-124 \u2014 before extracting anything, compare \u0060common/src/main/java/org/apache/rocketmq/common/config/ConfigRocksDBStorage.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 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/config/ConfigRocksDBStorage.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8576adb06dac71188be6a39c8f9dd61bf5a388904e7868281b4219dfcea2ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:137-170 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:121-154 \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 8 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. 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:137\u0060 it does not close everything it opens, so those exact 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:136\u0060 calls \u0060setBrokerName\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:119\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":137}}}],"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:1120-1153 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:1098-1131 \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:1120\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1120}}}],"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:1162-1195 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:1139-1172 \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:1162\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":1162}}}],"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:192-223 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:181-212 \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 8 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. 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":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b573c889f78d0f07e7aba12e61e3d607fb4db64884aa84eff6755c4ccf10388f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:379-405 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:777-804 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:379\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":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"566f4d1724d9b94c7e9d2e6d762bd51913c9bd4c8f43af7a2bc55da4345e9207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1412-1437 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1048-1072 \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":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5fd4b475741266be061f9de3367f0e0ddd45c2f25393fa866ba598a7aaabaa"}},{"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:525-550 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:687-710 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:525\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":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f450fb61c530f9df1a4634ed95769a559eee75dfeafc7c616e518dbe5249dfc"}},{"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 (23\u201324 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2657-2680 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2687-2709 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2716-2738 \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:2657\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":2657}}}],"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:99-122 | broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java:165-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java:99\u0060 it does not close everything it opens, so those exact 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":99}}}],"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:645-668 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1285-1308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:645\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":645}}}],"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 (23 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:409-431 | common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java:34-56 \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 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. 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":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f003861724b26fde3e59a40f75aa786a43e7e76d166db1cb8008c340b657dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:244-263 | 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:244\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":244}}}],"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:492-513 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:636-657 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:492\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"423eb9f42f732a85fd446680deb0cf477dac353975617aa76163473ce43b835d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:889-909 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:381-400 \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:889\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":889}}}],"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 (20 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:381-400 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:422-441 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:381\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":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb68a92acb01a95cffe8dbb5195025b9c9d3e7f59693a74634dc372dda7c422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2182-2201 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2211-2229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:2182\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:2178\u0060 calls \u0060setValue\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2207\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":2182}}}],"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:489-508 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:609-627 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:489\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":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a59dc7e916777a671afa4a89e415fa5112a2f5306cb375520b53485af96f8a"}},{"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): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/stream/CommitLogInputStream.java:112-131 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/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/provider/stream/CommitLogInputStream.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d698078c5ce5d27f201c979e529294e6557f975c4189a827157d7fe7c6fd32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.java:125-143 | namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java:158-176 | namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java:197-215 \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":125}}}],"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:350-368 \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): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1640-1658 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:63-81 \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 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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:1640\u0060 it does not close everything it opens, so those exact 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":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7ed093c15caf13f1ace8214282f5f17ebe65f1fb0b484a6907a5f0b65739a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:616-634 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:694-711 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:616\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/factory/MQClientInstance.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"1597a59e159d536ab1289886cf7e814432564e66af83c4f987ef921553aa356c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:350-368 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:405-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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:350\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":350}}}],"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/CommitLog.java:1034-1051 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1194-1212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1034\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":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7b12df3ef5e6ffb60b33e17d1bdb6416d84e2b61c98458284172bb813f0fe2"}},{"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/processor/AdminBrokerProcessor.java:1562-1579 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1616-1632 | 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:1562\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":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"610745b7b0754a64ffab12e3f91556fe7395f3144bf77104284cdea1f37d2ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:278-294 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:768-785 \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 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. 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":278}}}],"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:1542-1559 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1599-1616 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1542\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":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4549dbaee179644c70a745592ba6ed3d19de9b56545cc7af5d12fffb8aa8596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1054-1071 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1215-1232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1054\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":1054}}}],"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:1675-1692 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1783-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":1675}}}],"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:707-724 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:520-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/ConsumeQueue.java:707\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:704\u0060 calls \u0060checkMultiDispatchQueue\u0060, \u0060getMessageStoreConfig\u0060, \u0060multiDispatchLmqQueue\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:519\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":707}}}],"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:872-888 | 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:872\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":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"f260af864241a7fa39e5221f5aebd752f9c03f6184b2ab63480f2cb77fb18bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2184-2200 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2213-2228 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2888-2904 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3227-3243 \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:2184\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":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaacee94cdbf976377996393aad89fb48f31b0420ffb175ab709cabb3a2c5ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:742-758 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1449-1465 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1737-1753 \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/processor/AdminBrokerProcessor.java:742\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":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae18cbf384259b24b710a538e8c48cc1d0f905e161af33e8ee127ead3ae1eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:815-831 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:845-861 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:815\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":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7128ea38774c6c358a97ff2a1c01c568e29035d0042f846d66e6e3abf930223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:752-768 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:130-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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:752\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":752}}}],"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:1259-1275 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1293-1308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1259\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":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c2d9aad27568d06d18c1d9b663c8f56e208bbbd71719e435f2239f52ec2b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:65-81 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:69-85 \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/ConsumeMessageOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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 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. \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/ConsumeMessageConcurrentlyService.java:82\u0060 calls \u0060newSingleThreadScheduledExecutor\u0060, \u0060ThreadFactoryImpl\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"286a3430d4bc62d01d9a0f78c68f5721040cdb6cb11dc95af0f84613c2be460d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:66-82 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:66-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. 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 \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":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bf369816f4eeb173a567b3915eea9138be120f0b13834c405695bd98f52e9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:598-614 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:656-671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:598\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd27c46b3f9e7d581f6dd7ac19b5109ccf1c7259bac8902c248e6c256ce5adc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java:296-312 | client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java:331-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java:296\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/DefaultMQProducer.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7fa328e039d6f816c0e527e13af19ad17dd9670918e6521374a25cb3a5fff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java:161-177 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/channel/RemotingChannel.java:191-207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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:161\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":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4577f63274edd1e8a2899adbf3d7c8c4aee94cbf68d70df22fec1b28c0ac7025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ConsumerRunningInfo.java:268-284 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/ConsumerRunningInfo.java:290-305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:268\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":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d9dc4ec1c9a7f8680c7a2e7782080c6bd58f5dd2958e3cd59ef31141d35db0"}},{"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:201-216 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:232-247 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:259-274 \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:201\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b1361b6713fd4c432a5a4d6fb1fcb82b6f1bc3db452d5127e88aaee00acc34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java:266-278 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:63-78 \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/BrokerStartup.java:266\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/BrokerStartup.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2415380fdec291d6d9b5ccb1d128fd2e643434c3adac1fb4c2fc9ce852c365"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2444-2458 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2491-2506 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:2444\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":2444}}}],"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:182-197 \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:468-483 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:504-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/mqclient/MQClientAPIExt.java:468\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":468}}}],"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 (16 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:317-332 | store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:338-353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:317\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":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6743c11a72dd953d025920985605fb3a8dfdfb46acc96774a56541b790172c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1565-1580 | store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java:462-477 \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:1565\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a23d015b0fbaac97e9881f9fcfb39bdf7405715ad5cf78e2b9878fe806870e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:307-322 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:900-915 \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 after the matched lines, \u0060store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java:324\u0060 calls \u0060get\u0060, \u0060position\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:917\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/MessageExtEncoder.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"970d92424185dba109f91134ab0dbc477f325ff1813399813477af0328bcb697"}},{"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:719-734 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:717\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:653-666 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:670-685 \u2014 both copies are in the same file, so extract the block 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":653}}}],"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:794-809 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:916-931 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:794\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"740f7fb67af2ef7d95fba96613beeb85fd3abecc17769354c5f319a82571521e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:421-435 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:487-501 \u2014 both copies are in the same file, so extract the block 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":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4205fcc12324c541d6a27479affcfc738951140a1e9a1ddc1f1c997ffa6b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:80-94 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:61-75 \u2014 before extracting anything, compare \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 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dc8a7a6665ca83cd93006f5792c9a1776622b2ed9e5073a5db07ff1ab8739a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:252-266 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:233-247 \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 11 separate duplicated blocks between them, totalling at least 138 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:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d53a90d326ccbde6085b663cb3a91440cc7c20a5c56faed5f3a3957028a202f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:361-375 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:278-292 \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 11 separate duplicated blocks between them, totalling at least 138 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:361\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/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"a491cbbfca05b27d24b6959022d35c11688348648aea0ac4b6f99be1e87858eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:141-155 | remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:159-173 \u2014 both copies are in the same file, so extract the block 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":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bde786aca2b5930f88d384f0aac119c9f79b8a47acda9428ff33d2f7f9c6798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:937-951 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1102-1116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:937\u0060 it does not close everything it opens, so those exact 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:934\u0060 calls \u0060get\u0060, \u0060updateMaxMessageSize\u0060, \u0060generateKey\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1100\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":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f6368653565512856640b9752a4618f4d2edb6d039d5b5a8449dc1a779e3cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:953-967 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1118-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 \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:953\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":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"941601099289b621ba04f25591ca4474258ae3e10c23c54d08e8f4e3e32fc4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:749-762 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1456-1469 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1744-1757 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1800-1813 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:749\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":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcf6175ebb8ee9cc272dc8de1379c0d1912e54a745601e8b8c8fbb1d640cc83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:160-173 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:172-185 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:144-157 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:166-179 \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/ConsumeMessageOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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:160\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":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee94cec674be411c2f7e7e2ad18b7ff5b6d5a2755c6b0c5c62656a7a4e0d4fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:351-363 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:745-758 | store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:158-170 \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/CommitLog.java:351\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/CommitLog.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"df77b5c5684677063e087aeaa4f2e971ccb335fa7fc7fd8a3d6f37bcf9682b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1674-1687 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:97-110 \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 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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:1674\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":1674}}}],"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:123-136 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:332-345 \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: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 before the matched lines, \u0060proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java:331\u0060 calls \u0060getQueue\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/latency/BrokerFastFailure.java:122\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":123}}}],"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:911-923 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:950-963 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:911\u0060 it does not close everything it opens, so those exact 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":911}}}],"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:928-941 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:965-978 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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: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":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee18a27627d289bd8f80013d74b5dc407ab33ae750fb8ad092c42ddbe2a7df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java:123-136 | broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java:79-91 \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: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AckMessageProcessor.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"10790002d9a4e2ae57100b1a2355593dc4de7fa82a50ad7c801245853f490621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java:134-147 | broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java:191-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"db154d4f2c86ae7e1d10cc377230f30c565ef480441871c5d29909c3381e5186"}},{"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:2918-2931 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3201-3214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:2918\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":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"023e91c2ad347f89b74726635f9398d865b47782ca1c3d07ca7561c451c954ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:826-839 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:859-872 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:826\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":826}}}],"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:845-858 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:943-955 \u2014 both copies are in the same file, so extract the block 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":845}}}],"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:153-160 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:68-75 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommad.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/GetBrokerEpochSubCommand.java:47-54 | 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/CLusterSendMsgRTCommand.java:57-64 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java:50-57 | 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:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:62-69 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:88-100 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:55-62 | 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:75-84 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:199-206 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:53-60 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:154-161 | 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:72-79 | 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 29 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:88\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/BrokerConsumeStatsSubCommad.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":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f39073731c51e10b9a826b2ebf1fe94098a6730bc1d6118e87a9b2d7daf729"}},{"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 (11\u201313 lines \u00D7 5): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:106-117 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:116-126 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:94-104 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:275-287 | broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java:325-337 \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/PeekMessageProcessor.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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:106\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \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:338\u0060 calls \u0060setForbiddenType\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:118\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":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce9ca199349c7278b0b198fec34bdfbe51792c286f43dcfa877e5f866faade8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/offset/BroadcastOffsetStore.java:30-42 | client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:81-93 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:62-74 \u2014 before extracting anything, compare \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 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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/consumer/store/LocalFileOffsetStore.java:81\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/offset/BroadcastOffsetStore.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a1f42f498934858789c39cf87c942f8c8d4db5990de4980d145716e427bce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:437-449 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:473-485 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:509-521 \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:437\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":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdfaa6d05687658b3d3b26fa6e90acc87ae83c2b228bc18082afcb8fb8a89f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java:221-233 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java:345-357 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/BrokerStartup.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a7eceb1aee8bd009d30a843d0d290673e5c64dc361f3e20a9cc2f546622a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:287-299 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:344-356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:287\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":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b694f11b4e011c78387e7538c4d3d319584b9a38027b4f4aa9af39f08f0ee5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:141-153 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:159-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 \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:141\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/offset/ConsumerOffsetManager.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21aa44a989f5e302d6fc06e91a1706c761ddf20437263dc09479efd77f422e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1677-1689 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2329-2338 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1677\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ac8733aa6d12a20e6252819bc8d5c3b5ae72177d58b1fd1edc14ba1382f8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:219-231 | 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:219\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e3a80b21a4f86bc5ce322c2f38b4b8b392c66ea39351c85dc83e83b2b95dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:118-130 | broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:163-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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:118\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":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e052e28f37b8cf18e5f44580aed2b87c503e7970568dc165ac6b29942481206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:338-350 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1129-1141 \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/schedule/ScheduleMessageService.java"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecb36fd4de243872688a4f2c7280d9b20b265aab03ef56ecec8d4bab12f57cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2095-2107 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2115-2127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:2095\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:2114\u0060 calls \u0060setClusterName\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2094\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":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"f511029565959f802c06cd407d25c825fd27560e0eaa06b372dae2917b7566cd"}},{"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:483-495 \u2014 both copies are in the same file, so extract the block 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:956-968 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ProducerProcessor.java:183-195 \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":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb3bc86fa335e7ed65dc5d7af773ccc570bfbeb98388f7791f7554bcf60f11a"}},{"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): namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/ClientRequestProcessor.java:90-102 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/GetTopicRouteActivity.java:59-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \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":"9a49734f0b1dd4caaaaff98ae9734735e7c5456cc0407667bf5f0e2fd4075352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:1742-1754 | 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:1742\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"268ff05324732a81eea47e391cead9ad5f977121c956b0becfd006600d6e15e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAConnection.java:66-78 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAConnection.java:111-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 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. 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:66\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":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a983a7b9f51e712d3631ebea70d9b0cb725480f3ff263a7de7d4be40e652899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:369-381 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:402-413 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:431-442 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:452-463 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:475-486 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2078-2089 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2138-2149 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2750-2761 \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. 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:369\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":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4853af42e01bc38fff567c23384909d636c64615a1c702736b56d1644c174c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:90-100 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:100-110 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:78-88 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:256-267 \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/PeekMessageProcessor.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f93725d822a9a1daa1cd1ed392d7f13f5dfdbda290b4084dfa40c0a8929631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2512-2523 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2528-2539 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2545-2556 \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:2512\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":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"3343e431b5b42fcfb25c1859ac7265d76617850d64b74ba9dffa6501aaab283f"}},{"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:149-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/filter/ConsumerFilterManager.java:374-384 | broker/src/main/java/org/apache/rocketmq/broker/filter/ConsumerFilterManager.java:395-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:374\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":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"758e27456b7e5443afde07f8d70d8988a5f576aba94fec53f395f2f29b5c1ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/longpolling/PopLongPollingService.java:322-333 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:195-206 \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:322\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":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eb603f26ea79407ce68984e441feb55a864e2b31b2e41a55ebfe6d657d24d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:55-66 | broker/src/main/java/org/apache/rocketmq/broker/offset/RocksDBLmqConsumerOffsetManager.java:50-61 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/RocksDBLmqConsumerOffsetManager.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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/offset/LmqConsumerOffsetManager.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a231c97cd612195733b9465b0095c91c0134e17a6e809433c6b22a7c29c312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:972-983 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1763-1773 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1763\u0060 it does not close everything it opens, so those exact 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":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"64441068a3fd0824002ebeb84425eec26360355786ebc0e122bf86e588a6e60b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:269-280 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:386-396 \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":269}}}],"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/NotificationProcessor.java:189-200 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:263-274 \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/PeekMessageProcessor.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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/NotificationProcessor.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3c9b498a5ab94e5b3f99b4049c48a8f43aa8e2d2c79a19c632d17cacd7b0ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201312 lines \u00D7 5): broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java:193-196 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:603-606 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:649-660 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:688-699 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:719-722 \u2014 there are 5 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 5 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/ChangeInvisibleTimeProcessor.java:193\u0060 it does not close everything it opens, so those exact 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 before the matched lines, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:647\u0060 calls \u0060incPopReviveAckPutCount\u0060, \u0060getPutMessageStatus\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:686\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/ChangeInvisibleTimeProcessor.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c505210b6587e40315776d97cd29067f599ea4e038872a59d20534c5f9444941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:308-319 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:306-317 \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: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. \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:321\u0060 calls \u0060put\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:318\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":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d7eb056f71e9d6fddb23640d1c535fa4df93d2622e0cfbf35f28a3ff0677e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:454-465 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:477-488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:454\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/topic/TopicConfigManager.java"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de22a009985149a2dd8f69e974951889087c7d4a680d80bc91c658659034780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:98-109 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:79-90 \u2014 before extracting anything, compare \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 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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/consumer/store/LocalFileOffsetStore.java:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7144e8d8b59c8e16022bd79aa82aa7a45bc4ef8f46d797652772990cb84183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1446-1457 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1596-1607 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1446\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":1446}}}],"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:1798-1809 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1820-1831 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1798\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":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"829d9129831ef70ba7da1a14ca5a799b2156f97fc8875086d3f007791ad20635"}},{"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:792-803 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:841-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. \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:789\u0060 calls \u0060getQueueOffset\u0060, \u0060getTopic\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:839\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":792}}}],"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:218-229 \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:455-466 | client/src/main/java/org/apache/rocketmq/client/impl/mqclient/MQClientAPIExt.java:491-502 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:455\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":455}}}],"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:78-89 | client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:123-134 \u2014 both copies are in the same file, so extract the block 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":78}}}],"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:196-207 | common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java:210-221 \u2014 both copies are in the same file, so extract the block 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":196}}}],"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/remoting/MultiProtocolTlsHelper.java:101-112 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/TlsHelper.java:215-226 \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":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80460dec2beba4e6741ba89c4cae0a647c9f40c703b7e7f5acfe4984fd04aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): srvutil/src/main/java/org/apache/rocketmq/srvutil/ServerUtil.java:30-41 | tools/src/main/java/org/apache/rocketmq/tools/command/stats/StatsAllSubCommand.java:152-161 \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":"srvutil/src/main/java/org/apache/rocketmq/srvutil/ServerUtil.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2470d70d309a400062fdf798e093abd7477bc5debc953ecdf5e3b511ab0fdac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2816-2827 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:3107-3118 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:2816\u0060 it does not close everything it opens, so those exact 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":2816}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bc78ee85ec0b1945b32938651c352057cb4a4c74572ecbcade8f7189bcb773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:243-253 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:92-103 \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/SparseConsumeQueue.java:92\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/BatchConsumeQueue.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5e5c2a348edfabd527d6c04013b0bc24e78c7ef3902b3a3931c7e582a101fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): common/src/main/java/org/apache/rocketmq/common/UtilAll.java:369-379 | common/src/main/java/org/apache/rocketmq/common/compression/Lz4Compressor.java:60-70 | common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java:64-74 | 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 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 \u0060common/src/main/java/org/apache/rocketmq/common/UtilAll.java:369\u0060 it does not close everything it opens, so those exact 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:380\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":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5f501e86d167cc4ae345d277e977283209fd6345deb09c16507e417705756b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:531-542 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:565-575 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:585-595 | namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:604-614 \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 \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java:531\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":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e5c68247796e40edf35aadf66ee0fb3e2d51e972d363594f4e7fbdcf1fed4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1542-1552 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1599-1609 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1656-1666 \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":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"75774e890c31420b897244569d16ea5472abe3083d04544c41a66cafac23d434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1058-1068 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1079-1089 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1101-1111 \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:1058\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:1099\u0060 calls \u0060hasUnitFlag\u0060, \u0060values\u0060, \u0060iterator\u0060 and \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1077\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":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c27afc5f20a3627aee8306e6414fe175610cf491ac719abb0ed9ae0c1af051c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:103-113 | broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:236-246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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: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":"broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da5a14a2756f06bb5fafc86420275b24014cc3da8b4543b84529bcead1edabe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOrderInfoManager.java:96-106 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOrderInfoManager.java:144-154 \u2014 both copies are in the same file, so extract the block 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/offset/ConsumerOrderInfoManager.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9818c73b0c78ca5ab0f16c8aa03549f2eedae4bfafd32cfef4c98dba2b95f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:41-51 | broker/src/main/java/org/apache/rocketmq/broker/offset/RocksDBLmqConsumerOffsetManager.java:36-46 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/RocksDBLmqConsumerOffsetManager.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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/offset/LmqConsumerOffsetManager.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9187b542a4909d281548aa5bb929092608f801d218100534cae55968436e4c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:838-848 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2823-2832 \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:838\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":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"004cce5b603528b6d010fc6c6230ca2d12656c3de9ae78f81475edb9d2eef353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1090-1100 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:787-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:1090\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/out/BrokerOuterAPI.java:1101\u0060 calls \u0060getExtFields\u0060, \u0060get\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:798\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/out/BrokerOuterAPI.java"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8baca40fdd1837eee671acf156d5a7cbfcbec74f370b7f46357b797d13a7111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1159-1169 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1957-1967 \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:1159\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":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b459a8c5dba1d7d378243cb10011f0409134382df6bbfd57f7f7bc8233d623a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:871-881 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:267-278 \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:871\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":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac75cb7d036a2493aa2d456f3968953950a79deedb3cc5de4b2fe388c779003b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:361-371 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:666-676 \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:361\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":361}}}],"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:126-135 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:154-164 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:154\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":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f458a34a574987324e8cc4007e97eaf15f7043ce32ca3283a215a9a30e2d6500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1646-1656 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1845-1855 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1646\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":1646}}}],"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:1882-1892 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1900-1910 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1882\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":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6993c9a038515b7f9234625d787ff16fca56ebf7f50f711a20d1d63d1b9f14f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:402-412 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:415-425 \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 8 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. 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:402\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d2fe3ea7857a5c6058c3c6788121630f53f284273cb1882affe34bb17316ef"}},{"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:289-298 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:321-331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:289\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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:300\u0060 calls \u0060getProcessQueue\u0060, \u0060commit\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:331\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":289}}}],"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:524-534 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:548-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/DefaultLitePullConsumerImpl.java:524\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":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d512ce73a3d1de374e8865c869e7a8a7f4188752835b072eab189261a382af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:586-596 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:637-646 \u2014 both copies are in the same file, so extract the block 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":"client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cf1da1c4f75473731d7e0c51327954cb6ebcfb867f50eb111c8b079864e0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1595-1605 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1626-1636 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1595\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1595}}}],"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:1652-1662 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1696-1706 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1652\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"409ee4400066d5447e560e8f096b3242c04caf4252eed8ad6b86cb337bdecb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/ClientRequestProcessor.java:98-108 | 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:98\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":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a27c4fe46a0678ff189b75acf86c5df4c373eba8d568f6c04fe203243d6df6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java:172-182 | proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java:196-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 \u0060proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9681b7da8e7aae310e40c9f048972c1710111ad01836b13088059506ee403e9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java:109-119 | proxy/src/main/java/org/apache/rocketmq/proxy/service/sysmessage/HeartbeatSyncer.java:147-157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:109\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb038696a3a8c7c902b4bad96247c40a5307be115155d8705b75af678906060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:420-430 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:471-480 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:420\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, \u0060remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:419\u0060 calls \u0060getChannel\u0060, \u0060info\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:471\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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a333c5caa82d2bb056440af077f1a0eaf23d7bcc87e9bf643a1dbe2c8a7fe186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:134-144 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:148-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 \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:134\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":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f8ad66ffa5fa190dcb91f7f834562c2238519dd99127c27bac2f0df20ccd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:942-952 | 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:942\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":942}}}],"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:96-106 | store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java:112-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/DispatchRequest.java"},"region":{"startLine":96}}}],"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 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. 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 11): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:368-377 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:401-410 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:430-439 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:451-460 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:474-483 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1445-1454 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1595-1604 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2077-2086 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2137-2146 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2749-2758 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3062-3071 \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. 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":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebc935e4ab197b10b75e317f103300a40546cd0c1eaf377897c7c02dd0bb1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:82-88 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:70-76 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:245-254 \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 6 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. 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:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3381c1153c6ccba9b3ae2b1b3cf18d506cd96c2ab2f3f569d34a471bb796304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1842-1851 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1880-1889 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1898-1907 \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 before the matched lines, \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1878\u0060 calls \u0060properties2String\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1896\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":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"315bffeaf2d49416b32bfec8b6aedcd6c96e11125a1322e2538dc4202dfe4358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:487-496 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:607-616 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:641-650 \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:487\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":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c20e16e231a0db8505b6ae9e2385324c13c2c8286e7df48f7b15fdcbf2b8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): common/src/main/java/org/apache/rocketmq/common/config/ConfigRocksDBStorage.java:141-150 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:51-59 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:98-106 \u2014 before extracting anything, compare \u0060common/src/main/java/org/apache/rocketmq/common/config/ConfigRocksDBStorage.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 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":"common/src/main/java/org/apache/rocketmq/common/config/ConfigRocksDBStorage.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"10216b2783ccedd0f2f15ddd884c5fa36ad76829116d3e6bc0564193df6fb644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:133-142 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:147-156 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:175-184 \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":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee3c755ec18b98e44efd7803070b98cbcab3d2efa1e76a35d705ff575e2b295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:2125-2134 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2137-2146 \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":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"855a85dfbc3914c118673b0631f470ce20d5ed223b1a842ac068e621f7c84428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java:195-204 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java:317-326 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/BrokerStartup.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/BrokerStartup.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d7405b2b7d5ce182ebe5c7ded4f0bcfddfb1d41a9a23213d864c3a3d59289b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:276-285 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:333-342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:276\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"12826f6b35adb39943712139149cd29a13efb3a663ddce2543945241cf292b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:410-420 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3285-3294 \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:410\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":410}}}],"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:609-619 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3112-3121 \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:609\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":609}}}],"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:868-877 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1320-1330 \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/out/BrokerOuterAPI.java"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68134c26ca9f3a965e811e34192d4f3bc13edf971d68909a1f50e826d2d5a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:890-899 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1372-1382 \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/out/BrokerOuterAPI.java"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d91db0de5b1e44a05442e0b70e00484977eed241e2da3414e5c6cbc676d35e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1128-1137 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1982-1990 \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:1128\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70282680151558542719f75c3da74a9e6dd8ffbf5fc562fece3eda259df3230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1708-1717 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2348-2356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1708\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:1706\u0060 calls \u0060setPullOffset\u0060, \u0060max\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2346\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":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff79cebe17dfb97aadf9b065b146f656ec9c6bea7e2c683b18d29acb08c47f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1793-1801 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:296-305 \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 \u0060container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:296\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":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"54de8b20e78642e44e023b5896521f7f440e134b33f0bf57ad79c9276642abb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201310 lines \u00D7 6): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:126-135 | broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:154-163 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:137-138 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:157-158 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:358-360 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:393-395 \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/PeekMessageProcessor.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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:126\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":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6328e3427f5fad8f3dbeae7fb9373814fa0ef9979e745bb9cceb422552278a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:142-144 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:189-197 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:452-461 \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/DefaultPullMessageResultHandler.java:142\u0060 it does not close everything it opens, so those exact 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:142\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/DefaultPullMessageResultHandler.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"02166490ac9c5ee9526dc5b2ca1150b9dcaeaf8036a65377e6fa274d463bca48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/store/LocalFileOffsetStore.java:173-182 | client/src/main/java/org/apache/rocketmq/client/consumer/store/RemoteBrokerOffsetStore.java:178-186 \u2014 before extracting anything, compare \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 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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/consumer/store/LocalFileOffsetStore.java:173\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/consumer/store/LocalFileOffsetStore.java"},"region":{"startLine":173}}}],"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:2970-2979 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3012-3019 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:2970\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":2970}}}],"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:389-398 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:305-314 \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 11 separate duplicated blocks between them, totalling at least 138 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:389\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":389}}}],"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:1050-1059 | 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:1050\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e36749c5121074ac9511a8063c83559e7aabeaf488b0155bad3d0cc911f313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:224-233 | client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java:238-247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:224\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":224}}}],"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:170-179 | common/src/main/java/org/apache/rocketmq/common/UtilAll.java:182-191 \u2014 both copies are in the same file, so extract the block 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":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd52b421b985adda17c90237e7228a0f53ece5ea3fe0938e138638d57d31361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/config/ConfigRocksDBStorage.java:185-194 | store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:142-151 \u2014 before extracting anything, compare \u0060common/src/main/java/org/apache/rocketmq/common/config/ConfigRocksDBStorage.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 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, \u0060common/src/main/java/org/apache/rocketmq/common/config/ConfigRocksDBStorage.java:195\u0060 calls \u0060setStatsDumpPeriodSec\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:152\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/config/ConfigRocksDBStorage.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa78e9b30ceb667efb5ff95c8a4c33197d47597bcd818e9144b2f393e21a833"}},{"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): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:116-125 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:207-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:116\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":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"64817c82ffa3b8c719305d9a9d31d6357a080481652012a910b97e7197a1011a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:202-210 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:318-327 \u2014 both copies are in the same file, so extract the block 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":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4d4ab04fbf22232ead8a7fd36ddf65c789d68f1f84843e0125d634d851720f"}},{"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 (9\u201310 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:322-331 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:55-63 \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:322\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e724735e1dd9e60f152962f2917a58205bd32ba2b45cce416588bf546fc8d644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java:43-52 | 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:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":43}}}],"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:690-698 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:703-712 \u2014 both copies are in the same file, so extract the block 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":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"8585913dae455ae155534e59d08f930d167db47be968975df99ca194c4c2739f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java:138-147 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java:260-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 \u0060tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java:138\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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05c9a4194231a7f435605daca6ed96720ac5c575e307fda97e1049be7a8cb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 29): proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:154-162 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:65-73 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommad.java:71-79 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/DeleteExpiredCommitLogSubCommand.java:47-55 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java:48-56 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/SendMsgStatusCommand.java:59-67 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:47-55 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/CLusterSendMsgRTCommand.java:58-66 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java:51-59 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:57-65 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:59-67 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:90-98 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:56-64 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:50-58 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java:51-59 | tools/src/main/java/org/apache/rocketmq/tools/command/message/CheckMsgSendRTCommand.java:50-58 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:80-88 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:126-134 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:72-80 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:196-204 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:50-58 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:151-159 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:45-53 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:55-63 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:66-74 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:69-77 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:70-78 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:75-83 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:67-75 \u2014 there are 29 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 29 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/BrokerConsumeStatsSubCommad.java:81\u0060 calls \u0060Option\u0060, \u0060setRequired\u0060, \u0060addOption\u0060 and \u0060proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:164\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":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a7c097082683d52cc5a9b39dbaa0e6533ff35d88e89411a0361ac4eba2ba99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 28): proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:156-165 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:83-92 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommad.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/GetBrokerConfigCommand.java:54-62 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java:50-59 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetColdDataFlowCtrInfoSubCommand.java:56-64 | 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/CLusterSendMsgRTCommand.java:72-81 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java:53-62 | 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/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:88-101 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:210-219 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:56-65 | 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:72-81 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:75-84 | 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 28 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 28 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: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. \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:154\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":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f36341f55ca0e6991b333d28c60624a2fad3d114ab62292870edb717739cedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:211-219 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:257-265 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:295-303 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:316-324 | remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientImpl.java:337-345 \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:211\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":211}}}],"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:1644-1652 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1843-1851 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1881-1889 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1899-1907 \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:1878\u0060 calls \u0060properties2String\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1896\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":1644}}}],"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:924-932 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1092-1100 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:409-417 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:538-546 \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:934\u0060 calls \u0060get\u0060, \u0060updateMaxMessageSize\u0060, \u0060generateKey\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1102\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":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"473549728183ff2dadd94a124f694f956716a648a94b239bfecd5a1272b14aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:408-417 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:608-616 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3111-3119 \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":408}}}],"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:1532-1540 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1589-1597 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1646-1654 \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:1532\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d243ce517d3c5e6b409e482e2b723538d137237ad501c5168a2ecb4c58e8469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:322-330 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:377-385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:322\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":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa41c322a7c2d3d0a0d6ccea19853d17028d7842194e58e3cd86f3904bbbfb9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:77-85 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:93-101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2a777bec07601599f11c9173ec9705a03b11b7d0bfc395b0fd6531457953b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1451-1459 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullAPIWrapper.java:131-139 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1451\u0060 it does not close everything it opens, so those exact 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 \u0060pullResult\u0060 to \u0060PullResultExt\u0060 in one and \u0060PullResult\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":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0c08a4d24da93158a316e451215989067bf48f100aec39f987e36cda0fd657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2634-2642 | broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/DefaultTransactionalMessageCheckListener.java:72-80 \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:2634\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":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba32a004e58c9a0703a44707bfa85765fb7b2ddfe7b99c1b547d9eaaf22a9573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:114-121 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:176-184 \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: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":114}}}],"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/DefaultPullMessageResultHandler.java:149-157 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:195-203 \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: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc20cda57af3c52aaf46e57ad3c8a7502229c0641001216279663fbef7d34e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:129-137 | broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:154-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e8b2ff614cbd9974dd948a06a0e9f1b4d45482534bcc30c3ae48ff6d069782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:288-296 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:396-404 \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/EndTransactionProcessor.java:288\u0060 it does not close everything it opens, so those exact 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/EndTransactionProcessor.java"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"258b7522f75c635c83aa419cf59570e1668f705f4c61f346a736a7bdf64bf093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:372-380 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:397-405 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:372\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"191386c432ba60338a5bb5bd17df503d17391ff49735d6ef5379c499d62bba0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:332-340 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:572-580 \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:332\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":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60bf38c985696806b68afe6f0806e4f6d9108eee4fb1bc31e958040129c72d1"}},{"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:388-396 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3049-3057 \u2014 both copies are in the same file, so extract the block 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":388}}}],"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:420-428 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:519-527 \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/ConsumeMessageOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":420}}}],"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:746-754 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:787-795 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:746\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":746}}}],"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:102-110 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:193-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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":102}}}],"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:1040-1048 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:1085-1093 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1040\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71c46f755270b08cb70efdb01d8333801772dce4b086e59214bd5f44741f6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:50-58 | client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:118-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":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3973a1a3db1e3b9540333d5d8bc75f091704547451004f02fa26a34b5622315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PullMessageRequestHeader.java:108-116 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/SendMessageResponseHeader.java:60-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PullMessageRequestHeader.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeed2bda706a65a6885348037bc3f69539c4378ac52d4af8a64e9803dccbfad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:163-171 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:246-254 \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: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/ConsumeQueue.java"},"region":{"startLine":163}}}],"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:414-422 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:385-393 \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:414\u0060 it does not close everything it opens, so those exact 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:394\u0060 calls \u0060position\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:423\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":414}}}],"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:836-844 | 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:836\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":836}}}],"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:528-536 | store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:571-579 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:528\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":528}}}],"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:377-385 \u2014 both copies are in the same file, so extract the block 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:236-244 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java:397-405 \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:236\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4062ec7256c7782a6c436e2f693a8df367788a15cd6fcea67e2d5ffbc602515a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:319-327 | store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:343-351 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:319\u0060 it does not close everything it opens, so those exact 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:352\u0060 calls \u0060getLong\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/queue/SparseConsumeQueue.java:328\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":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30959705e98f656a95bdef755ab4a107337aaa757ca33288e88508c4070b081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java:185-193 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java:215-223 \u2014 both copies are in the same file, so extract the block 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/metrics/TieredStoreMetricsManager.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af04c71fbf04b6110bbf744698fdd97d2b127f27b74da5d1eec57da8e5bc210"}},{"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 (8 lines \u00D7 6): client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:144-151 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:162-169 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:178-185 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:194-201 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:210-217 | client/src/main/java/org/apache/rocketmq/client/impl/admin/MqClientAdminImpl.java:226-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: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. 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 \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":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a787cbe5e8308917244e99b7e80c4442e5a6ffab80da8329e3628ae505c058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 5): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:89-95 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:99-105 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:77-83 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:255-262 | broker/src/main/java/org/apache/rocketmq/broker/processor/PullMessageProcessor.java:346-352 \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/PeekMessageProcessor.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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: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. \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:353\u0060 calls \u0060setForbiddenType\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:96\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":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83594552a5c73bc4ffd626c61dd00029dab42ca33bcc6f0117be582954b05df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:408-417 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:608-616 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3111-3119 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3285-3292 \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":408}}}],"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:193-200 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:212-219 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:230-237 | client/src/main/java/org/apache/rocketmq/client/impl/MQAdminImpl.java:248-255 \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:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bfda3c09529f86db127f31452614ebc0d4f96fb60499d519fd1665c84f9f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.java:151-159 | namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java:227-234 | 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 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/controller/CleanControllerBrokerMetaSubCommand.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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 \u0060controller/src/main/java/org/apache/rocketmq/controller/ControllerStartup.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. 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":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"838fbcfb72202f81f913d052a24d3b929d2bc8676c51570a219229711f51fbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataCgCtrService.java:90-97 | broker/src/main/java/org/apache/rocketmq/broker/coldctr/ColdDataPullRequestHoldService.java:73-80 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:2283-2290 \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/coldctr/ColdDataCgCtrService.java:90\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":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fb154e3186147c6e53ac8011b40a5f4f63ef3f4728394ea4eb1098ea368143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:73-80 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:89-96 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:378-385 \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:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"df76915b12c988f201e7c499d196bc504ec8e31d8838143725ef738387fb67e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:796-802 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:835-841 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:240-247 \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:796\u0060 it does not close everything it opens, so those exact 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:803\u0060 calls \u0060string2Properties\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:842\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":796}}}],"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:115-122 | broker/src/main/java/org/apache/rocketmq/broker/processor/ConsumerManageProcessor.java:206-213 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingManager.java:242-249 \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: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. 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":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2b6db74ab54fc6c459410f0e6e8e14e926406d690a9e434540173373fdf223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:80-87 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:90-97 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:68-75 \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/PeekMessageProcessor.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java"},"region":{"startLine":80}}}],"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:306-313 | proxy/src/main/java/org/apache/rocketmq/proxy/config/ProxyConfig.java:302-309 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:304-311 \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: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":"broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java"},"region":{"startLine":306}}}],"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:598-604 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:656-662 | client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java:937-944 \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:598\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":598}}}],"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:1563-1570 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1621-1628 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1691-1698 \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":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bca87f85deeec54a28f2857c3ad3286370324abe795b47cfd58c2fb8f1d72bc"}},{"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:139-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 \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/out/BrokerOuterAPI.java:361-368 | broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1350-1357 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:361\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e68d3d82bf53ab14ffee846592c2daaf5595980522a770d38cb0b7994f2c389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:605-612 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:639-646 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:605\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":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"16964059a58a8f21b71a31a6e043e394ccecfc0ebb6809a57ea3aeeb2db6eba6"}},{"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:674-681 \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:683\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): broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:328-335 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:611-618 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:328\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36a39b248d91075f1156794c874eabc5593ae7d192ad4591257ed0b255f8099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/subscription/SubscriptionGroupManager.java:153-160 | broker/src/main/java/org/apache/rocketmq/broker/topic/TopicConfigManager.java:506-513 \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":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0192bc66a10d67f607d96b280442ac169599cc6f0bc1c344994ee9385d828d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java:264-271 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java:273-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/v2/route/RouteActivity.java:264\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":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b955ed0796a45cb938a279387f8145a804410a4499763e737d4c47c2c34712b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java:46-53 | proxy/src/main/java/org/apache/rocketmq/proxy/service/relay/LocalProxyRelayService.java:70-77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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 (5\u20138 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:111-115 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java:121-128 \u2014 both copies are in the same file, so extract the block 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ExtraInfoUtil.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1770e8d0314f6f3c7feab6f3b5cc90cd1b7cd6d46b85b759d9d2524866b70bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java:62-69 | store/src/main/java/org/apache/rocketmq/store/AllocateMappedFileService.java:79-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":62}}}],"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:1083-1090 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:524-531 \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:534\u0060 calls \u0060setStoreTimestamp\u0060, \u0060currentTimeMillis\u0060, \u0060getStoreStatsService\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1092\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":1083}}}],"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:2338-2346 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2360-2367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:2338\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":2338}}}],"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:797-804 | store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:824-831 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:797\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d547fea2fc292dacae2e0ce7cabf498648cb49fe3a511b736a2b1700f7dc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java:219-226 | store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java:380-387 \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:219\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":219}}}],"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:225-232 | 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:225\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":225}}}],"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:689-697 | 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:689\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"3356a5791e3ef9fb88b919b9959783e59d0ba77b3c853acd023abb18fd223834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/posix/PosixFileSegment.java:176-182 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/posix/PosixFileSegment.java:222-229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/provider/posix/PosixFileSegment.java:176\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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/posix/PosixFileSegment.java"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35180650c76130d9195aa9cfe1067cdaf16b61be356f53eb65bd22f690cb70f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:205-211 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:223-229 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:241-247 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:260-266 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:295-301 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:314-320 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:332-338 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:351-357 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/GrpcMessagingApplication.java:370-376 \u2014 all 9 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:205\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":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0076faefa26a74c84f75bef88c0dc452953b66774c2ff4e890759722c3caa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:741-747 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1448-1454 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1736-1742 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:1792-1798 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:295-301 \u2014 there are 5 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 5 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:741\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a377c239eea8a2c60d19c74ab4e27124cca0cae0bda0ef9734b0de02d448a8ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:154-160 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:200-206 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:463-469 | broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:112-118 | broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:157-163 \u2014 there are 5 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 5 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:154\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":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1852331fe4f5ef310ddba6d2d51c2f5330325df53217d28e3b3e78ed02ae8f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2490-2496 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2568-2574 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2600-2606 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2771-2777 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2800-2806 \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:2490\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":2490}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd01c30fb6c34e0eb33d3cada07ca92adc705aded9e53e39cd428344dcd179c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2463-2469 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2655-2661 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2685-2691 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2714-2720 \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:2463\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":2463}}}],"partialFingerprints":{"codehealthFindingId/v1":"2222a53b28d9b9cddf3c835a1617fb0f2439202ea6b8b2211152f3911fbc6efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:225-231 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:394-400 | 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":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8ae73ca96f86781e54edf30d850291efe392f7b8af735968cad3785765be98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:298-304 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:271-277 \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:298\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"96401008c93a71146c30c0844379e9322b02ec197e11b44f57f0c848c3a7aca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:181-187 | broker/src/main/java/org/apache/rocketmq/broker/metrics/ConsumerLagCalculator.java:191-197 \u2014 both copies are in the same file, so extract the block 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":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f024f3763757482495d3a5b71233b0b96f3d30ca6240ee563b4dd9b487f881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java:71-77 | remoting/src/main/java/org/apache/rocketmq/remoting/metrics/RemotingMetricsManager.java:72-78 \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/metrics/PopMetricsManager.java:71\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/PopMetricsManager.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d93c86f38c068a8de085d057af60c3f3c57693231a48dd63d6f042402dce6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/out/BrokerOuterAPI.java:1208-1214 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3144-3150 \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:1208\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":1208}}}],"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:1501-1507 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2018-2024 \u2014 both copies are in the same file, so extract the block 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":1501}}}],"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:480-486 \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/slave/SlaveSynchronize.java:89-95 | broker/src/main/java/org/apache/rocketmq/broker/slave/SlaveSynchronize.java:108-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/slave/SlaveSynchronize.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/slave/SlaveSynchronize.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2375117c1be9df67e498c5b2674e57899c3836465e6f375b29aa5ca21f0669"}},{"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:230-236 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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:1475-1481 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1496-1502 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1475\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a8e8df6e5147783b2b1498710bf63d5b376533821d6d58c47a52a355b498aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:252-258 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:226-232 \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 8 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. 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:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":252}}}],"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:392-398 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:405-411 \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 8 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":392}}}],"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/DefaultMQPushConsumerImpl.java:432-438 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:586-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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:432\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/DefaultMQPushConsumerImpl.java"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24cb2ed1503fb4736f2439292599e75b66727285f26de4e0c6bc845d5561039"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullAPIWrapper.java:223-229 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:362-368 \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":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bee58766f1bb497446c468b581e563c85a0d431fb0b564b49888bdaa9c1050f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1538-1544 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1568-1574 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1538\u0060 it does not close everything it opens, so those exact 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/producer/DefaultMQProducerImpl.java:1575\u0060 calls \u0060executeRequestCallback\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:1545\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/producer/DefaultMQProducerImpl.java"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2f6e87b81fc3988e93b513d40b950416bae9bc0089d2b46afeb570c6d874de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/producer/TopicPublishInfo.java:80-86 | proxy/src/main/java/org/apache/rocketmq/proxy/service/route/MessageQueueSelector.java:203-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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/producer/TopicPublishInfo.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sendQueue\u0060 to \u0060ThreadLocalIndex\u0060 in one and \u0060AtomicInteger\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/producer/TopicPublishInfo.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf301593cea8aa28483e8abeb265ef86626119e7f14ce1fb6cb0905b65581633"}},{"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:325-331 | 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:325\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62934071e8adc4ad122d87b2db92d030d03bfe1a8dc836a6424a15be2dd35bf"}},{"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): proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ClusterTopicRouteService.java:43-49 | proxy/src/main/java/org/apache/rocketmq/proxy/service/route/LocalTopicRouteService.java:66-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ClusterTopicRouteService.java:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/ClusterTopicRouteService.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0edfdfc689f3689a8bd099cf1b26deb0eeb01f665d2a9191abe4bc0dacb494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1657-1663 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1769-1775 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1657\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":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e57768892d29879bb63f5f424b7d70402247e20857431818f8b94a4f50f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2539-2544 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:2554-2560 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:2539\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/DefaultMessageStore.java"},"region":{"startLine":2539}}}],"partialFingerprints":{"codehealthFindingId/v1":"2800effc48838beebc5eab26772a1753d6ec573fd24bbeaf00a15983856083c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:99-105 | store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:116-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060store/src/main/java/org/apache/rocketmq/store/MappedFileQueue.java:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":99}}}],"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:115-121 | store/src/main/java/org/apache/rocketmq/store/index/IndexFile.java:204-210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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: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. 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":115}}}],"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:782-788 | store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:811-817 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:782\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":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"6723f9c1959d663737e29d457ba6ab1f8ec5a3b9410efcb2b5e93f3e53979dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:470-476 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:481-487 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:470\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":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"72369c774f2a1eb619e2dbce98984f20fc661f07e61b06bc7daf348b6c7dd56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java:177-183 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.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 \u0060tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.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. \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:206\u0060 calls \u0060setUnit\u0060 and \u0060tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metrics/TieredStoreMetricsManager.java:176\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":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8a36bc7d8a0ef8ac15e220c09de6ee93528834870184cb6aa6189853a53be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 31): proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:153-158 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:67-73 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommad.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/GetBrokerEpochSubCommand.java:47-52 | 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:50-55 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:61-67 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:92-98 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:55-60 | 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:74-82 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:198-204 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:52-58 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:153-159 | 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:71-77 | 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 29 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. 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/BrokerConsumeStatsSubCommad.java:71\u0060 calls \u0060addOption\u0060, \u0060Option\u0060 and \u0060proxy/src/main/java/org/apache/rocketmq/proxy/ProxyStartup.java:153\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":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef98b6d7ec4b66083080f692f8453145367c2b832617178188658b44a52106a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2012-2017 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2463-2468 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2655-2660 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2685-2690 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2714-2719 \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:2012\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":2012}}}],"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:2443-2448 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2463-2468 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2655-2660 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2685-2690 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2714-2719 \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:2443\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"affea73ceaa82ba3ca19f6a047396bafbe301a2098c347a378bb8df694516bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1344-1349 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2305-2310 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2332-2337 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2635-2640 \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:1344\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7302d4a4813e09313b3d5a429ba68f8d1bef9db3504a2efa07c1c31cd5acf39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java:266-271 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:62-68 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:60-66 \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":"broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64c2b5947b4b09fd109a3ee44882aae52b778e99c29508067315a87689cc04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:605-610 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:639-644 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:674-679 \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/processor/AdminBrokerProcessor.java:605\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":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f2163b7338d9c72b966a17871cb88f1ebceef79a884bcd207d7dba090b2b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:143-148 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:121-126 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:137-142 \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 11 separate duplicated blocks between them, totalling at least 138 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:119\u0060 calls \u0060setAutoCommit\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:141\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":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d420e3dc1d68f47a1bb0db5ea48dcba032ba220b6cb12a40eb8bfb372f374c"}},{"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): store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:446-451 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:468-473 | store/src/main/java/org/apache/rocketmq/store/stats/BrokerStatsManager.java:479-484 \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":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"788d3589c5c0f938ad9806634fbe4997f325f806328d58af029dd327e04e2ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): acl/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java:49-54 | acl/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java:82-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 \u0060acl/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java:49\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":"acl/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b869f335d97493b7a157c086c7cc7e6a5d26486a918fc67054a3df9a81bd719c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java:123-128 | acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java:132-137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d8641289107ff6a5ad3a74391e07688ec211d269c6929db7461a31b4ad2362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java:141-146 | acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java:221-226 \u2014 both copies are in the same file, so extract the block 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"675a2030f1fb8d910448b1064a4cb76b38cc86ffee4b3dfa754715654190e4ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1666-1671 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:89-94 \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 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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:1666\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af157c1fcb3f06f45618b09edf1a4babe265f7fbbcb8d81e4ed513644ac8703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:95-101 | broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:210-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 \u0060broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.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. 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":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0124d0e53ef22b1f50c0f5ae3790b2b40d86c8c1a4901b17c330bea4673218d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:163-168 | broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java:212-217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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: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":"broker/src/main/java/org/apache/rocketmq/broker/failover/EscapeBridge.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9764ae7e6428f6d10064ee56da4737cf8120e2147e38253fac2d66be095bb5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:257-262 | broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:296-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 \u0060broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsManager.java:257\u0060 it does not close everything it opens, so those exact 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":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a610b291681310bf7142156c53ee38887cb78946c5c2bcc74f987f517e8904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:799-804 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:926-931 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:799\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":799}}}],"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:1554-1559 | proxy/src/main/java/org/apache/rocketmq/proxy/remoting/activity/ConsumerManagerActivity.java:100-105 \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:1554\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb029aa52d1a3fd871f2833e15913e6b7454e7c64fa16ed92d69c0adad4af03c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java:219-224 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:710-715 \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":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"9830847cb252b5630c06f18846f0875a7db0b5d246c146e575108f235335fb72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/EndTransactionProcessor.java:298-303 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:406-411 \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":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c591d28c33f11d2436eb9e5cce8a08a6d0ad5da5742a7354e0b77451c28d0b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:139-144 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:159-164 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea61734a2ab724ffae84a95b98bbc55de0cf0573ef5a2dee4ae1b3012c312495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:630-635 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:670-675 \u2014 both copies are in the same file, so extract the block 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":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d70196e74e2821822ddf9d1ffdc01789043628872c4de54e71231f54718a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:792-797 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java:806-811 \u2014 both copies are in the same file, so extract the block 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":792}}}],"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:363-368 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:363\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":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2237ad25bd8f2dca0dd79151177fcbafd362979094de9d334f600b18c3373d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:373-378 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:408-413 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:373\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":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a097b356a4256bd91d4943207f4f6410b27d15d92b56e03063b318a8e919c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java:208-213 | 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:208\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dbb1a46031ca039b98ca8afd6671ac7ce16f5a7c6d511823cfc278c96a526c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1161-1166 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:280-285 \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:1161\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1161}}}],"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:1216-1221 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:258-263 \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:1216\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":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95c3134a91132c07d45b0d9687093d08aa6ac98b10490442805e77417b54cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:165-170 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.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 \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:165\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf685969d23c96cc61ec619bf1901e4dc2c7cfe75b1c8ee4d156e5992f8315a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:480-485 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java:600-605 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:480\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a7a7a4b5336034a0018aec310b7d7e0254dd0b6911c5e3202685a1030c5d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:198-203 | common/src/main/java/org/apache/rocketmq/common/message/MessageDecoder.java:317-322 \u2014 both copies are in the same file, so extract the block 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":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"10da48e36df5ddc12abcc14ad40982abe0c0426aab2f431e2a86d9da9e1c0175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java:298-303 | controller/src/main/java/org/apache/rocketmq/controller/metrics/ControllerMetricsManager.java:333-338 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:298\u0060 it does not close everything it opens, so those exact 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":298}}}],"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/ProxyAndTlsProtocolNegotiator.java:194-199 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:795-800 \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/grpc/ProxyAndTlsProtocolNegotiator.java:194\u0060 it does not close everything it opens, so those exact 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: \u0060ByteBufUtil\u0060 names \u0060io.grpc.netty.shaded.io.netty.buffer.ByteBufUtil\u0060 in one and \u0060io.netty.buffer.ByteBufUtil\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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/ProxyAndTlsProtocolNegotiator.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c688aaee2368ee84bc0f3995481ff5bafc28a06a56dee701c027351d95556cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java:150-155 | proxy/src/main/java/org/apache/rocketmq/proxy/metrics/ProxyMetricsManager.java:190-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:150\u0060 it does not close everything it opens, so those exact 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":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"569c5363c839bbf3810b85f1465dba781a179b098b9d5d9151aa34983faaefb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:109-114 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:200-205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:109\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"662ad677e34582893c7103e591aa880867012bd6e0ca376549e2375d6b65a8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java:324-329 | remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java:338-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:324\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":324}}}],"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:114-119 | store/src/main/java/org/apache/rocketmq/store/GetMessageResult.java:123-128 \u2014 both copies are in the same file, so extract the block 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":114}}}],"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/processor/AckMessageProcessor.java:121-125 | broker/src/main/java/org/apache/rocketmq/broker/processor/ChangeInvisibleTimeProcessor.java:77-81 | broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:88-92 | broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java:76-80 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:253-259 \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 6 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. 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:121\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":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0ecd0d91be1f5d47f3263f72b37fab69473fddb1c66ef0e19deff235eae370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:362-366 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:372-376 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:397-401 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:407-411 \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 \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:362\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":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"11933921391357336eb78231190ffcf5d965cb504fcf0918d974ca9ffd761217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:105-109 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:141-145 | broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:159-163 \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: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":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6362e0176744f5a527393b9fe63a7710037b2b9a97bd1a73df683916bdd9c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/subscription/RocksDBSubscriptionGroupManager.java:55-59 | broker/src/main/java/org/apache/rocketmq/broker/subscription/RocksDBSubscriptionGroupManager.java:70-74 | broker/src/main/java/org/apache/rocketmq/broker/topic/RocksDBTopicConfigManager.java:68-72 \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/subscription/RocksDBSubscriptionGroupManager.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/subscription/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3081a7c0244ec6bd21ae0440e672cff0e070220ee34f59311445f4b04d9448a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:2840-2844 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3028-3032 | client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:3090-3094 \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:2840\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":2840}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1d7875cb96dba7978f3d91e6cbe428eb1d2871b8daad8bc36b403d281a6800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1050-1054 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1071-1075 | namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1092-1096 \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:1050\u0060 it does not close everything it opens, so those exact 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:1099\u0060 calls \u0060hasUnitFlag\u0060, \u0060values\u0060, \u0060iterator\u0060 and \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java:1078\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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java"},"region":{"startLine":1050}}}],"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:711-715 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:802-806 | 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:711\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d097254a32bf1e2ff0c4ae37ae6e800e788778bc9aea6b5b50e3a27ab579d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java:173-177 | acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java:256-260 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java:173\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"42eee2aece0accf248c0b7a02d0a0d51c68c6436581a6e9add6973840eab13d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): acl/src/main/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyFactory.java:186-191 | acl/src/main/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyFactory.java:208-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060acl/src/main/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyFactory.java:186\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":"acl/src/main/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyFactory.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"051467e424528b4aaaa8eb9da6f96a38e9ee03801aad8c66b5eb754675ab6764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java:1660-1664 | container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java:83-87 \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 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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:1660\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":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"921f74715e2c9708dde506aed3bcc1bb91d8a71b6418f78e5f70c1912643e765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:437-441 | broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:507-511 \u2014 both copies are in the same file, so extract the block 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":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac8f54b9d6ae6d3a3b132ebb16826a7d36d61b6499476a38ae7bd0fde52dc92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java:301-305 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:456-460 | broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:739-741 \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:739\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, \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:452\u0060 calls \u0060getBrokerStatsManager\u0060, \u0060incTopicPutLatency\u0060, \u0060getTopic\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessor.java:298\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":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e481855f93f9214b7beba2f65e73de71cf223c7ca1fd71a5a9dac77a1764ed07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java:1123-1127 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:266-270 \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:1123\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cdf4a2f2bb3e4b95b604a3637a2d6af4d988b40342edd18cdb8f2c0b373894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:378-382 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:295-299 \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 11 separate duplicated blocks between them, totalling at least 138 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:378\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":378}}}],"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:393-397 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java:1371-1376 \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:393\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":393}}}],"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:1033-1037 | 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":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"850cf89fcd74125a187638f05e5b6e80235fb9a9664ede1486f347e43216a0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/trace/hook/EndTransactionTraceHookImpl.java:57-61 | client/src/main/java/org/apache/rocketmq/client/trace/hook/SendMessageTraceHookImpl.java:54-58 \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 (5 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/message/MessageQueue.java:71-75 | common/src/main/java/org/apache/rocketmq/common/message/MessageQueueForC.java:64-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060common/src/main/java/org/apache/rocketmq/common/message/MessageQueue.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. 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/MessageQueue.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e276af48f213469f3fc2ae2abffd2220dc3cbc5bc9d70463550eeceb6d67d37"}},{"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:283-288 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/client/ClientActivity.java:299-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/client/ClientActivity.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a9f9cdf652d9134fcbe7a4ea0be51d8622f43816d6862aea1d50d98cebcf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:429-433 | proxy/src/main/java/org/apache/rocketmq/proxy/processor/ConsumerProcessor.java:452-456 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:429\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/processor/ConsumerProcessor.java"},"region":{"startLine":429}}}],"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:321-325 | store/src/main/java/org/apache/rocketmq/store/CommitLog.java:695-699 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060store/src/main/java/org/apache/rocketmq/store/CommitLog.java:321\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"6874777637f23a4e55c66c8ebb66326edabce04ae60bd55da763829e1825249c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1856-1860 | 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:1856\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"046102ef3bf0d772b7e67699439fdf3f8807a6ff8f9df8a4935dcd046ff809ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java:178-183 | tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredDispatcher.java:344-348 \u2014 both copies are in the same file, so extract the block 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/TieredDispatcher.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afb22a22f462657e49b6dd726078d1f62da29c8692d1cc197cdad33fd13f717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/subscription/LmqSubscriptionGroupManager.java:25-45 | broker/src/main/java/org/apache/rocketmq/broker/subscription/RocksDBLmqSubscriptionGroupManager.java:25-45 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/subscription/LmqSubscriptionGroupManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/subscription/RocksDBLmqSubscriptionGroupManager.java\u0060 as WHOLE FILES: 94% 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/subscription/LmqSubscriptionGroupManager.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f66a7a2836d4b92b0339d44b2def88151fdf2a88af89f21387e4c18bbf74ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/topic/LmqTopicConfigManager.java:25-55 | broker/src/main/java/org/apache/rocketmq/broker/topic/RocksDBLmqTopicConfigManager.java:26-56 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/topic/LmqTopicConfigManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/topic/RocksDBLmqTopicConfigManager.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. 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/topic/LmqTopicConfigManager.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1796f0c09fc79b7e5d53ba9ea1074c3c374f382bc5087aa1173c3c18dbeb34e8"}},{"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 (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 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ChangeInvisibleTimeResponseHeader.java:1-60 | 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/PopMessageResponseHeader.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/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-61 | 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 (55 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/GetEarliestMsgStoretimeRequestHeader.java:1-55 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumeQueueRequestHeader.java:1-74 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ResetOffsetRequestHeader.java:1-93 \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 (62 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PollingInfoRequestHeader.java:1-62 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/StatisticsMessagesRequestHeader.java:1-80 \u2014 before extracting anything, compare \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/PollingInfoRequestHeader.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/StatisticsMessagesRequestHeader.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 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/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 (48 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/QueryConsumeTimeSpanRequestHeader.java:1-48 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/ResetOffsetRequestHeader.java:1-93 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/UpdateGroupForbiddenRequestHeader.java:1-62 \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: 91% 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 (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:29-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."},"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 (48 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/DeleteKVConfigRequestHeader.java:1-48 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/GetKVConfigRequestHeader.java:1-48 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/PutKVConfigRequestHeader.java:1-58 \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: 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/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 (69 lines \u00D7 3): remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/QueryDataVersionRequestHeader.java:1-69 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/RegisterBrokerRequestHeader.java:1-122 | remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/UnRegisterBrokerRequestHeader.java:1-71 \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: 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 \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 (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java:254-262 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java:369-377 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/BrokerStartup.java\u0060 and \u0060container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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/BrokerStartup.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"58042eaa870c5e1e24b14b8c53d6a7a5b60f65ed88126fe52eea30621463ac6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:70-78 | broker/src/main/java/org/apache/rocketmq/broker/offset/RocksDBLmqConsumerOffsetManager.java:65-73 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/RocksDBLmqConsumerOffsetManager.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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/offset/LmqConsumerOffsetManager.java:70\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/offset/LmqConsumerOffsetManager.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4a9c4ca31d24e3d83c032f131999b6fbcd2fb59f58fc0696f744976e843d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java:124-131 | store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:3244-3251 \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":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c749747ff551764083d0d848c2649fbd93ebefd59ae55466d771fff73d2d2bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/subscription/RocksDBSubscriptionGroupManager.java:37-43 | broker/src/main/java/org/apache/rocketmq/broker/topic/RocksDBTopicConfigManager.java:37-43 \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/subscription/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"310e917812aa238f948688c95c4fa9862502c79acdfd7327b834ea0a7791b42f"}},{"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:449-456 \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/DefaultMQPushConsumer.java:445-450 | client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java:350-355 \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/consumer/DefaultMQPushConsumer.java"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0b081a8fc5e0d5a1a7cbdb560ad1fdd7c9bb2f1ee51134ed1f3d7accf90f60"}},{"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 (7 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:107-113 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:117-123 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:93-99 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:111-117 \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/ConsumeMessageOrderlyService.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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/ConsumeMessageConcurrentlyService.java:103\u0060 calls \u0060shutdown\u0060 and \u0060client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:89\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/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc57b1302f5f3efc77f1be15b27c68ef6ab99282373ece15d3e35c7618b0c088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java:349-356 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:266-273 \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 11 separate duplicated blocks between them, totalling at least 138 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":349}}}],"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:400-406 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:316-322 \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 11 separate duplicated blocks between them, totalling at least 138 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":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"852ed839b2a4a0e84fc39b1579f05a7554bef04fd28f4c367e1c14a9529089e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:1143-1150 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:403-410 \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":1143}}}],"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:1153-1162 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java:413-422 \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":1153}}}],"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:661-668 | client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java:475-482 \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:161-169 \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 (7 lines \u00D7 2): common/src/main/java/org/apache/rocketmq/common/utils/NetworkUtil.java:148-154 | remoting/src/main/java/org/apache/rocketmq/remoting/common/RemotingHelper.java:97-103 \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/utils/NetworkUtil.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb7d94b8efe7fc446222397f518d27b427d473d522693f6e2fb8c62c3351b51"}},{"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 (9 lines \u00D7 2): remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingClient.java:845-853 | remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java:337-345 \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":845}}}],"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:880-886 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:321-327 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":880}}}],"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:889-893 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:330-334 \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":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc59c3dff57a601229d34ee2dd0d87e487cedd1edb15aa8a548c951dc306df8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:896-900 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:337-341 \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":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"986028c8f65c19ea3bc67bf3b4b952035b7d9036e9725ea1eb508fa446fc56d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java:937-942 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:935-940 \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":937}}}],"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:945-951 | store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java:943-949 \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":945}}}],"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 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":"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:435-440 \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 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":"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 (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/client/ConsumerManager.java:326-334 | broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java:253-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/client/ProducerManager.java:253\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":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f66888e408fc9875131fc54dc6d59b22d0da1b08ab003d5515cd8a721aaf2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java:91-99 | broker/src/main/java/org/apache/rocketmq/broker/offset/RocksDBLmqConsumerOffsetManager.java:81-89 \u2014 before extracting anything, compare \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/LmqConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/RocksDBLmqConsumerOffsetManager.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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/offset/LmqConsumerOffsetManager.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b976e673964dd5a25458a0458e389c3843e36bf649c5b2f2482ce0287e75ac"}},{"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:204-210 | container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java:58-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8203c67efbb30ef77e7367415683e93a26c5c47caefb7839b48022ae2654221c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/subscription/RocksDBSubscriptionGroupManager.java:82-90 | broker/src/main/java/org/apache/rocketmq/broker/topic/RocksDBTopicConfigManager.java:79-87 \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/subscription/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4945be3fe69ee807c39a5ec7e84be96069d24cf36c7d7c5c8d478ca3d6bfe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/subscription/RocksDBSubscriptionGroupManager.java:93-99 | broker/src/main/java/org/apache/rocketmq/broker/topic/RocksDBTopicConfigManager.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/subscription/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcec022d6956937a2978fe4a52cbeb8d577e84c26f4b64fa2fb424391d19586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/DefaultLitePullConsumer.java:223-228 | client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPullConsumer.java:117-122 \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/DefaultLitePullConsumer.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6896feca19797cf44e9bfac0d914b62b1197fb13a1404051405869896c1f5b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPullConsumer.java:407-415 | client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java:523-531 \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/DefaultMQPullConsumer.java:407\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":"client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPullConsumer.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e1890da2da3703604f3754616167abfc7dc239fc8b1edbe1a052bcceab03d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java:347-356 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java:334-343 \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 8 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. 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:347\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":347}}}],"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:103-110 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.java:97-104 \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 11 separate duplicated blocks between them, totalling at least 138 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":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb57ebe88c689d05aa7889c4bc96ae1d7743b7e0d42f83c81f7ac1247d14673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:180-190 | client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:192-202 | 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":180}}}],"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 (13 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/CommitLog.java:1391-1403 | store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java:704-716 \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":1391}}}],"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:190-198 | 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":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6400900b496d53d7cbf0a68be1b49c424cad5172db5d550e2d51f9c57d4d7b0e"}},{"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:2703-2707 \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 (5 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java:2628-2632 | broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/DefaultTransactionalMessageCheckListener.java:66-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"8285b9c71ce6e42269c495f83dd069749dd5cbb8ada156a3a244b817ee58aa1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/DefaultPullMessageResultHandler.java:124-131 | broker/src/main/java/org/apache/rocketmq/broker/processor/PeekMessageProcessor.java:246-253 \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:124\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":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cae015299a2c8a5d55c20ea0ec1e911bef2a69068f1547777cac62c6d7e25d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/NotificationProcessor.java:67-71 | broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java:198-202 \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/PopMessageProcessor.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 65 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/processor/NotificationProcessor.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c4396fd69c6d0a31b33d07246b3b2c751948b9290c59d31c28b2ee22d41020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:292-297 | broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java:575-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java"},"region":{"startLine":292}}}],"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:1112-1116 | proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalMessageService.java:247-251 \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":1112}}}],"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 (9 lines \u00D7 2): client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:157-165 | client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java:204-212 \u2014 both copies are in the same file, so extract the block 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":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02d794c28e160a58b226a3ea9ca3706fc9c384eae1cdea675aac1ed0d00100d"}},{"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:185-192 | proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/producer/SendMessageActivity.java:351-358 \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":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6487435ed102bcbab8b4efd63dfb8436bd2bc050711b49ed9b0df06d26e90e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:776-780 | store/src/main/java/org/apache/rocketmq/store/logfile/DefaultMappedFile.java:805-809 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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: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/logfile/DefaultMappedFile.java"},"region":{"startLine":776}}}],"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:1609-1614 | store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1644-1649 \u2014 both copies are in the same file, so extract the block 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. \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/timer/TimerMessageStore.java:1651\u0060 calls \u0060format\u0060, \u0060Date\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:1616\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/timer/TimerMessageStore.java"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fc26ba79ad7700777769300ef1251168f107eb4c8060aabdbde73b68b0d645"}},{"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 (37 shared lines): tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:47-92 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:49-94 \u2014 These two members are variants of one another: 37 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/acl/UpdateAccessConfigSubCommand.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa236eddbae7225ec339b386f54521a5fd1c510a1f90b2c2dbbaf0c2396e823"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (25 shared lines): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1335-1418 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1433-1508 \u2014 These two members are variants of one another: 25 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/admin/DefaultMQAdminExtImpl.java"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b37378dbeb7f0c914ca43f93146ee46ab3598b06ae95797e1aeea2347d6282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:77-115 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:48-78 \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/command/message/ConsumeMessageCommand.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28d9bc32568d8191add1a5dae0a8c2522ff5582fe1234c999ba2f440ac70ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:115-157 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:48-78 \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/command/message/PrintMessageByQueueCommand.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f227cd9c419baf6704a355b88a34c5228f95bcc4ce8ca8e4c823c35dbd1194"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:47-92 | tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:77-115 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a51018a5e76c9055337445ddf9a2aac531b669b249d3014bdb53c48c0ebcec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:47-92 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:48-78 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"495893bec9f6f4877212b122a152a539d8f3c6575e76da2a7fffe57173e7667f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:77-115 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:49-94 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddd1554b953669908cb2dc05830a8f2f4b124b85759f34f00fd92cdb759eee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:48-78 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:49-94 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd040f8cb32805586ff62fa9c4fc71362cc9a028ee619eb8bdcb28d0f75a01ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:77-115 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:69-101 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30540dc78c6d83713890e473e4d6f24e2d92bee5a9558f3f12529e4944f335f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java:77-115 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:193-219 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/ConsumeMessageCommand.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"516bbc34ea08b557c25422c6294f9d9a2a590797aac3e3e85553968b75d9a098"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:69-101 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:193-219 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"77329b4a49b1035fa1a8975614b22dff755cd8751041e8bbf58596ab7413161b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:69-101 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:48-78 \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/command/message/PrintMessageSubCommand.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e22ac1d981f88ba9d43db018cf8dc593e0b5b9514721ddf352141102a81df92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:193-219 | tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java:48-78 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea98a84a5c65f602c8ff5717142312c26cba1c361ef7116d7c71bec1ee3d9c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:47-92 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:69-101 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96c7d497100b5fe256253f6bcf86e3fb4bb922bec783d02c54a9ad7852a64c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:47-92 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:193-219 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec5efbbea949a3a2c8a21667511abf3d7a46b658ceca2fc753880eaf862c758"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:69-101 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:49-94 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ae49735eb50faee7f794694a1586bd76bf16d219081e72d662db9524af1ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:193-219 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:49-94 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1be6e6401e4a9846280ca2989ed9073e9af48351efb25736f79f69bc60e8bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java:69-101 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:43-65 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageSubCommand.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb87465e47a3038a4f53c206812a7332b719c2af05eb83bbc4e184c7c3444783"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:193-219 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:43-65 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a2792dc71372add0ad79d6b02243621e6976450e8e32287db4042de63a886c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java:44-66 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:46-72 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateBrokerConfigSubCommand.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"461ee6149ce127dd630c7a25be2bfaf3c766ec1a69867add0e84d70cbd334fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:72-110 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:46-72 \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":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"728a2538318f466002b6fdd95dd61b4a27920e781b77eec9417e36e6fb180d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:43-65 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:49-94 \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/message/QueryMsgByKeySubCommand.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"22185a0be5c432fe9ab0a52ce861368d81c1c0a0eebbdc3994f99a80c78499a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:72-110 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:49-94 \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/operation/Consumer.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6786b23c3546d26e1fb833bb9809708263479634d3ad5d599fbe785df3ee1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): example/src/main/java/org/apache/rocketmq/example/operation/Producer.java:66-108 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:46-72 \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/operation/Producer.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb513941934cf8ab890c05771e8646506bfc246a6765e92f0d9de23f3d879de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): tools/src/main/java/org/apache/rocketmq/tools/command/acl/ClusterAclConfigVersionListSubCommand.java:71-115 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java:70-111 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:96-184 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateGlobalWhiteAddrSubCommand.java:70-115 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:60-92 | 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:113-227 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:98-202 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/acl/ClusterAclConfigVersionListSubCommand.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"744e2ef8f924535a47fc4ccc2e9f8ac21630144dcb8d7d7fef6165faf3bbc49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java:70-111 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:96-184 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:113-227 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java:61-107 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicSubCommand.java:98-202 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bb26cac20c74aee5c5af7af3e14c61c66a67088c92f4455d7d51309a81b004"}},{"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:355-384 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:506-571 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1090-1120 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1142-1170 \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":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c651922d761975a944f6c838fc0e6e83c1e5b09c012d946038fd9f4e346214"}},{"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/container/AddBrokerSubCommand.java:54-69 | 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 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/container/AddBrokerSubCommand.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeb395501819131ebd975633c72ee1c112e9a43c9f1e66d300c4e68de908664"}},{"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:68-70 \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 (28 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java:64-91 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java:69-96 | tools/src/main/java/org/apache/rocketmq/tools/command/ha/HAStatusSubCommand.java:66-93 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetBrokerEpochSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/ha/GetSyncStateSetSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 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. 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 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:95\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":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80f3ed7ebf2fae7ceb366bde0f72ad96208e20c20c2a27e92b30423dcb7921b"}},{"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 5 separate duplicated blocks between them, totalling at least 55 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 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 (18\u201319 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java:121-138 | tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java:188-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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/cluster/ClusterListSubCommand.java:121\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/cluster/ClusterListSubCommand.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f205f645365edfbd593767f8470708b5d13e54c696df4fcf40b39c8dcd5d008b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:48-66 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:83-101 \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 5 separate duplicated blocks between them, totalling at least 53 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:70\u0060 calls \u0060commandName\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:102\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":48}}}],"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:67-83 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/GetColdDataFlowCtrInfoSubCommand.java:69-79 \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:79\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 12 separate duplicated blocks between them, totalling at least 126 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 (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 (11\u201314 lines \u00D7 3): example/src/main/java/org/apache/rocketmq/example/filter/SqlFilterConsumer.java:39-51 | example/src/main/java/org/apache/rocketmq/example/filter/TagFilterConsumer.java:35-48 | example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java:43-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 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/SqlFilterConsumer.java:39\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":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a9fa9a7d06ebfd2857bc803c67b0c81a0b58894b42ae9a27db25c6e22758b3"}},{"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:373-386 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1109-1122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:373\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":373}}}],"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:1440-1453 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1471-1484 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1440\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":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a92ec3a8076f1a6793aaad3c56cae870f8ff0c94f6c4dc1f7967d15fe67f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommad.java:42-55 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:47-60 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommad.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 60 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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommad.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f248b93d4fec34c8fd66652d34af5ef59f8a07ecc523d72bf4c2e611ff3f258d"}},{"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:122-135 \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 8 separate duplicated blocks between them, totalling at least 85 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:149-162 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:100-113 \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 6 separate duplicated blocks between them, totalling at least 60 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:149\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":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0362acf835c412ae6fa739e7d8e227b0cefafa25bd741ec730f8f89f3b1cc4a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java:81-93 | tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java:99-112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:81\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/metadata/RocksDBConfigToJsonCommand.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"193eff88260bcfb600f77b03b52548290f004f1b760099a81cc1d3f68bd6496e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1402-1414 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1493-1505 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1402\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":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e84ada6980da7c3c74f2e68ed5d7bdc21b755d16f81c31a4d70f5767af53ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java:101-111 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:174-184 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:217-227 | 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/acl/DeleteAccessConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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/acl/DeleteAccessConfigSubCommand.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/acl/DeleteAccessConfigSubCommand.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"775ff7e72d893127660701a802002ecf821a0a59517bf65054bb8835ace24e3f"}},{"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 (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/message/QueryMsgByKeySubCommand.java:77-88 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgTraceByIdSubCommand.java:95-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 7 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. 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":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbe2b7094c6b0bf2a4e1c5430eb24dafe4b6c010988e8d0350428ff54a31ca1"}},{"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 12 separate duplicated blocks between them, totalling at least 126 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 12 separate duplicated blocks between them, totalling at least 126 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 12 separate duplicated blocks between them, totalling at least 126 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 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 (8\u201311 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java:72-82 | 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 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/acl/DeleteAccessConfigSubCommand.java:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/acl/DeleteAccessConfigSubCommand.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"32757bf7fcea15f6bac981a5f75d3e2ed8e4b3669277b86d42b2a5153f96d4fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java:86-96 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:160-169 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateGlobalWhiteAddrSubCommand.java:93-102 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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/acl/DeleteAccessConfigSubCommand.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/acl/DeleteAccessConfigSubCommand.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3f23eeeb95f797a1eb670eb76d026db4c9c77fffb6ea619ece618174ed750e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/acl/ClusterAclConfigVersionListSubCommand.java:57-67 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerStatusSubCommand.java:53-63 \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/acl/ClusterAclConfigVersionListSubCommand.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/acl/ClusterAclConfigVersionListSubCommand.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c72a84dcb4d0881b074def41609ba3ce785c4e03862580fb27161ce681d3379"}},{"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:163-173 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:115-125 \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 4 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. 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:163\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":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe572cb744d0fcea2dbed14c6a5085d657a2a2481c76cf7c59e29d458b28cccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): tools/src/main/java/org/apache/rocketmq/tools/command/acl/ClusterAclConfigVersionListSubCommand.java:55-64 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java:50-59 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:48-57 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateGlobalWhiteAddrSubCommand.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/topic/UpdateTopicSubCommand.java:50-59 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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/acl/DeleteAccessConfigSubCommand.java:61\u0060 calls \u0060Option\u0060, \u0060setRequired\u0060, \u0060addOption\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/acl/ClusterAclConfigVersionListSubCommand.java:66\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/acl/ClusterAclConfigVersionListSubCommand.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e2f8fac4141d0c41f20933311a048d4af6dcf15a656ddd387099a7bbd08711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java:53-61 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:51-59 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateGlobalWhiteAddrSubCommand.java:49-57 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:59-68 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:60-69 | 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/acl/DeleteAccessConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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/acl/DeleteAccessConfigSubCommand.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb6c180b305d4693e4538ba8666f394e693e02880af322806a654e0186f4373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/command/acl/DeleteAccessConfigSubCommand.java:85-94 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:159-167 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/UpdateSubGroupSubCommand.java:198-206 | 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/acl/DeleteAccessConfigSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 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/acl/DeleteAccessConfigSubCommand.java:85\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/acl/DeleteAccessConfigSubCommand.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ad3dfa9984eeb9042b6cbdd82a467fa596ef2a7885921ab6e617014be885b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:56-65 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:48-57 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateOrderConfCommand.java:48-57 \u2014 before extracting anything, compare \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 47 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/CommitLogSetReadAheadSubCommand.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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3891a949f8ae18e0e765b10d7318c152488f114f4fba789c0f7005ae25f68695"}},{"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 (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 12 separate duplicated blocks between them, totalling at least 126 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 (8\u20139 lines \u00D7 18): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:78-86 | example/src/main/java/org/apache/rocketmq/example/operation/Producer.java:72-80 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:59-67 | tools/src/main/java/org/apache/rocketmq/tools/command/consumer/SetConsumeModeSubCommand.java:55-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/message/PrintMessageByQueueCommand.java:117-124 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:45-52 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:48-55 | 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:82-89 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:50-57 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:60-67 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateStaticTopicSubCommand.java:69-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 5 separate duplicated blocks between them, totalling at least 55 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/controller/ReElectMasterSubCommand.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":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a17fb770175a4a416d035973181141903b1b3d4d349f54c76197b3c825cfad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateGlobalWhiteAddrSubCommand.java:57-66 | 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:65-73 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:59-67 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/GetConsumerStatusCommand.java:48-57 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:89-97 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/SkipAccumulationSubCommand.java:53-61 \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/consumer/SetConsumeModeSubCommand.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 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/acl/UpdateGlobalWhiteAddrSubCommand.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/offset/GetConsumerStatusCommand.java:46\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/acl/UpdateGlobalWhiteAddrSubCommand.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94318c78ee8551d608e41e1c5e88b1adf714bf95342bd7a1641c58e9788c993"}},{"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 (9 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java:61-69 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:56-64 | tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataCommand.java:60-68 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java:58-66 \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/controller/CleanControllerBrokerMetaSubCommand.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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/consumer/ConsumerStatusSubCommand.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"01340a34f7b92ecfd74be7783ed2b110aeef67a9c005edc0c58cf6b3481a4ffd"}},{"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:99-107 | 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:360-368 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1147-1155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:360\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":360}}}],"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:420-428 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:507-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. 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:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a825c256dae0fc6ca072cfa82af44a9b0b4fce699671595102a1d4ecf1b586d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1370-1378 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1380-1388 \u2014 both copies are in the same file, so extract the block 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":1370}}}],"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/acl/UpdateGlobalWhiteAddrSubCommand.java:106-115 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/UpdateTopicPermSubCommand.java:158-166 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateGlobalWhiteAddrSubCommand.java:106\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/acl/UpdateGlobalWhiteAddrSubCommand.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d900cdc9c239fb017396f2910832bfd764a2ea78c110e466ca069142e9026a2"}},{"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: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 \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:136-144 \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/export/ExportMetadataInRocksDBCommand.java:53-61 | tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java:50-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataInRocksDBCommand.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67c0f6dcade0beedd63a9757fa862ff7597ba1360164af86d23949ddf8e0fee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 22): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:83-90 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:64-71 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommad.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:58-65 | 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/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:71-78 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:195-202 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:49-56 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:150-157 | 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/queue/QueryConsumeQueueCommand.java:68-75 | 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/acl/UpdateAccessConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 6 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. \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/QueryMsgByKeySubCommand.java:45\u0060 calls \u0060setRequired\u0060, \u0060addOption\u0060, \u0060Option\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommad.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":"c5e9dd5fc7e0090f5ba35e7ad4b5f4383056bd7489a4edad34a4254e7c9f711b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 18): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:80-87 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:61-68 | 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:55-62 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:52-59 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:122-129 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:46-53 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:57-64 | 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:87-94 | 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:65-72 | 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 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/acl/UpdateAccessConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 6 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. \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/consumer/DeleteSubscriptionGroupCommand.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":"e25e501594c321ad32ddfda1e5c7ec66106d2b93f68b19bafd6e91c04733875c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 15): 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/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/message/PrintMessageByQueueCommand.java:118-125 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:49-56 | 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:83-90 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:61-68 | 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 5 separate duplicated blocks between them, totalling at least 55 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":"058534d1537fd424d75196733dc632f4a592ff6be9c375d011113ce44c1b21b5"}},{"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): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:84-91 | 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:51-58 | 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:155-162 | 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 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a184de95ba086efdcc1f133e042d761959e2592d3a3c7e09cf89aa4bb7e3b0"}},{"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:54-61 | 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 5 separate duplicated blocks between them, totalling at least 55 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 4): tools/src/main/java/org/apache/rocketmq/tools/command/container/AddBrokerSubCommand.java:55-61 | 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/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 12 separate duplicated blocks between them, totalling at least 126 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."},"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 3): tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerSubCommand.java:56-64 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:161-170 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicRouteSubCommand.java:51-58 \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/consumer/ConsumerSubCommand.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":"tools/src/main/java/org/apache/rocketmq/tools/command/consumer/ConsumerSubCommand.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed618d5dd01e879eaeb15a04e1abcfc32d4399976fb90644c267b23648b5024a"}},{"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:979-986 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1733-1740 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:979\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":979}}}],"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/acl/UpdateAccessConfigSubCommand.java:130-137 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:142-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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/acl/UpdateAccessConfigSubCommand.java:130\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d22d4b93b3dea22d0cacf24d41ad996916bccc1b0a86eeb5f738a0d688ab6b8"}},{"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 20): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:82-88 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:63-69 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateGlobalWhiteAddrSubCommand.java:57-63 | 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:57-63 | tools/src/main/java/org/apache/rocketmq/tools/command/controller/CleanControllerBrokerMetaSubCommand.java:54-60 | tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java:124-130 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:59-65 | 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:89-95 | 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:67-73 | 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 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/acl/UpdateAccessConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 6 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. \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/acl/UpdateAccessConfigSubCommand.java:59\u0060 calls \u0060Option\u0060, \u0060setRequired\u0060, \u0060addOption\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateGlobalWhiteAddrSubCommand.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":"example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"511a57101ffd9cce36cf00ecbaccceea48022a4cba1589d1fbbe0e2cd978d2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 17): 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/acl/UpdateAccessConfigSubCommand.java:59-65 | 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/message/PrintMessageByQueueCommand.java:120-126 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:51-57 | 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:85-91 | tools/src/main/java/org/apache/rocketmq/tools/command/queue/QueryConsumeQueueCommand.java:63-69 | 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 5 separate duplicated blocks between them, totalling at least 55 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:57\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":"78226b6631d844cce40a53d814d0bfc4811b986f4004abc8e215df7e151c85b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 13): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:86-92 | 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:53-59 | 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:157-163 | 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 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 13 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 13 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/broker/UpdateBrokerConfigSubCommand.java:61\u0060 calls \u0060Option\u0060, \u0060setRequired\u0060, \u0060addOption\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/broker/CommitLogSetReadAheadSubCommand.java:64\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 4): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:363-369 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:531-537 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1099-1105 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1150-1156 \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:363\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"194287562995a54fe8490a2e2e2053e82a25cde830c02095a155be255f566fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:71-77 | 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:200-209 \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 8 separate duplicated blocks between them, totalling at least 81 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":"4cd75ba69668d87e8af7d2bd961b9a1f09c7eef793bd49b06edbe1ed8234015b"}},{"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:1441-1447 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1464-1470 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1472-1478 \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":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c57c3511187de16c7f122ee093495c3763eab701c1f0b63b7cda03d26e7bc26"}},{"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 23): example/src/main/java/org/apache/rocketmq/example/operation/Consumer.java:82-88 | tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateAccessConfigSubCommand.java:63-69 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/BrokerConsumeStatsSubCommad.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:57-63 | 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/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:71-76 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java:195-200 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByKeySubCommand.java:48-54 | tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java:150-155 | 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/queue/QueryConsumeQueueCommand.java:67-73 | 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/acl/UpdateAccessConfigSubCommand.java\u0060 as WHOLE FILES: this scan already matched 6 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. \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/acl/UpdateAccessConfigSubCommand.java:59\u0060 calls \u0060Option\u0060, \u0060setRequired\u0060, \u0060addOption\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/command/topic/RemappingStaticTopicSubCommand.java:66\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":"db53b92b39467d30cf1b2346ce0330b83df8ef199affc7d5155aae4f8d080dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:71-76 | 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:200-208 | 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 8 separate duplicated blocks between them, totalling at least 81 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":"4eb83d414674d4ef13fff733ed552fb73223c93f489d988fe0406366f7749e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): tools/src/main/java/org/apache/rocketmq/tools/command/acl/ClusterAclConfigVersionListSubCommand.java:83-92 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/RemoveColdDataFlowCtrGroupConfigSubCommand.java:70-75 | tools/src/main/java/org/apache/rocketmq/tools/command/broker/UpdateColdDataFlowCtrGroupConfigSubCommand.java:80-85 | 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:162-171 \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 8 separate duplicated blocks between them, totalling at least 81 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/acl/ClusterAclConfigVersionListSubCommand.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. 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":"tools/src/main/java/org/apache/rocketmq/tools/command/acl/ClusterAclConfigVersionListSubCommand.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d69d0d8638105473860c66b9e49a4ddd337ef786f39e3afff638d2c8fb9514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1348-1353 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1440-1445 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1471-1476 \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:1348\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:1446\u0060 calls \u0060countDown\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1354\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":1348}}}],"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:616-621 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:653-658 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:616\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e69fd61c53497f62615c2a6d60f8ab900bbae8fa1c80552e2e24d084d08cdcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByOffsetSubCommand.java:75-80 | 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:86-90 | tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeOldCommand.java:102-106 \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 4 separate duplicated blocks between them, totalling at least 32 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:75\u0060 it does not close everything it opens, so those exact 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:72\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":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bee24082b99b2dd833b0e930acf8f258dafe1842610688d738948c6ce979f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataInRocksDBCommand.java:109-114 | tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java:81-85 | tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java:99-103 \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 \u0060tools/src/main/java/org/apache/rocketmq/tools/command/export/ExportMetadataInRocksDBCommand.java:109\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/export/ExportMetadataInRocksDBCommand.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa5faf0f02a6c00050bb64e9eb6c6e04d4675a1258f804608c7c96c42938a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:767-771 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1873-1877 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:767\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"092efbbad6803eb586fa5321cef40e93948bdde7564536d7d80bf1d7a177de29"}},{"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 3 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. 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":"57a46e2ceda35c2de5052e994d521cc95c20bf6739f5f21b1bed44b221daa27d"}},{"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/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 | tools/src/main/java/org/apache/rocketmq/tools/command/topic/TopicStatusSubCommand.java:47-52 \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 (6 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/command/message/DecodeMessageIdCommond.java:40-45 | tools/src/main/java/org/apache/rocketmq/tools/command/message/DumpCompactionLogCommand.java:50-56 \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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/DecodeMessageIdCommond.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d30db7f5e87702e015832d3b5a8714a028697681094d078d630c6c109525655"}},{"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:37-46 \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 8 separate duplicated blocks between them, totalling at least 85 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 (6 lines \u00D7 2): tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1395-1400 | tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1486-1491 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift 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:1395\u0060 it does not close everything it opens, so those exact 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:1482\u0060 calls \u0060countDown\u0060 and \u0060tools/src/main/java/org/apache/rocketmq/tools/admin/DefaultMQAdminExtImpl.java:1391\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":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d390f80563cc915432d75a378908d6fd1a48d0fd792238f31c364516d4a65d"}},{"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":"Off the main sequence: rocketmq-remoting: rocketmq-remoting: abstractness 0.08, instability 0.17, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8f9b0ef9b60df810d1895736440f554aec78f00202ba66aafca99e347a07da07"}},{"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: 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":61}}}],"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":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d963298b4a8e7829c7168438dca864fab9594a19ecdf7c9697da66ebbb72836a"}},{"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":"acl/src/test/java/org/apache/rocketmq/acl/common/AclSignerTest.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b59c4601ff4c1b172aa82dbf75ad942dc97f8a47680b0bd5596a9c6d955eb6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: checkResourcePermsExceptionTest1: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/common/PermissionTest.java"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f98105effd7c135f20b27cb4dad38491cfa7214b2676298eec47a652f2d82be"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: checkResourcePermsExceptionTest2: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/common/PermissionTest.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf40c0443146a0e605da2700d9565bddbab563b67150dec3041d872d7d55825"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: checkResourcePermsExceptionTest3: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/common/PermissionTest.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d76443500f3ffa828a7d2738f45b46003720a383bc5285f078411e4b9d8d8d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: checkResourcePermsNormalTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/common/PermissionTest.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"037e1dd350e9decaf8cda272bd7f44f15813040ffff752d901cc04b5bf0337b2"}},{"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":"acl/src/test/java/org/apache/rocketmq/acl/common/SessionCredentialsTest.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2f74043cf68d8e911e80ee2712dfc830c0d0b067fac778c800a5105c14d6e5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: createAndUpdateAccessAclNullSkExceptionTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/PlainAccessValidatorTest.java"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"376b4f874859cc715898678edaafd6ae1131d0976f8b7e8846ef1c2abf99805e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: validateForAdminCommandWithOutAclRPCHook: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/PlainAccessValidatorTest.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0404e95a17074663aa04c61898dcd0e4bdf613623ea7a66f760154538a84f1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accountNullTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/PlainPermissionManagerTest.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee20510718d1d0feb4d05757194f47501b476c8518a22c217ef0cdc7ea37ca8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accountThanTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/PlainPermissionManagerTest.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bc7cf2a4925e11eb66d34b25aee05318e141f4a8e6e01196a3280975d03033"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: checkErrorPermDefaultValueNotMatch: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/PlainPermissionManagerTest.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbbe72339792e970b34f5b9b1c2624f09949c5b26df8fa942b24b5dd7b280d1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: checkPerm: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/PlainPermissionManagerTest.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a3cc279f85878dcee0f0e6141f1721fdd23fc304bcb3731d70f3a8578468bb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: checkPermAdmin: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/PlainPermissionManagerTest.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5925c0cf8ca598cf3415e0edaf8063f3eba68007c5e9cb15119c2e21638f790"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: passWordThanTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/PlainPermissionManagerTest.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a592337da8f7063d9492f14cfdf25185aeac2942c06e57b67cb34f32235a5e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: passWordtNullTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/PlainPermissionManagerTest.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccc2b4862429ac631ca9fa9598df36db2af37845c451febb6fbe7f374b6ea72"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: multipleNetAddressStrategyExceptionTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyTest.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1941aa627288797d2f6c033a5dba6d1bc3dc9f03b00a5c5a83179c55da7e46a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rangeNetAddressStrategyExceptionScopeTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyTest.java"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36b767ff0dbd1678651c5f6c1f67b3693823c99e0995d464cf5907f7d66ee7c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rangeNetAddressStrategyExceptionScopeTwoTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyTest.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bcc53dde84637ff0a81c8b67c80e833efa903d68875f323f436c5712e9a45e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rangeNetAddressStrategyExceptionStartGreaterEndTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyTest.java"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe6066b0716661f8e52746378d015e87e1062307956e05e2c48fe83d66174c9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: verifyTest: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/test/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyTest.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aa8ef9fb86835ad7695e6db1b2420e43a14f1f9f9379ef18b02b54e36aa341"}},{"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":144}}}],"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: 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":150}}}],"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":76}}}],"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":93}}}],"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":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5d71278a6d01e655e478f3637bf4b89dd1dbd8bf98317cc3317238f44a167a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSendCheckMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb780038a290f7b776aa74dd3fc8bbaaacd50f6f8d6f0376e39d6a1d0bd3dc60"}},{"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: 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":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cbfcfc858d3efc16d3a08d051b620a19b1094edadb61b03cc47778bdaa59ad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCreatePlainAccessConfig_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":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19090fec5a80def42b2015073e5b72e997f2e4956ae931540bda246e40c7e88"}},{"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":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b60bdb1c22ba262041133427097750315868fa969a367888af0bd79a0d446be"}},{"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":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c32f8b1203b22cb72d346018dac7c477c645012f506e249ea32f3710feccfd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeleteAccessConfig_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":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ef9483b8944ff81fcb5cd5a95ad5f5b9d10756ff47b2fc7e1fe85aa38ddf54"}},{"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":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"32de753e8d33620d77add3421d58c9d012421ccdd92e026934abb5061a43079e"}},{"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":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aa1ca371b8875ae9e3ed237a0c1bb6827574d7384998e49e9ec1d70295a814"}},{"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":430}}}],"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: 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: 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: 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: 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":59}}}],"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":45}}}],"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":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"915f53302550a555c2b7ba290af98c9e54d5304044ded4b18a7a3f6ccf512174"}},{"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":66}}}],"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":216}}}],"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/BrokerPreOnlineTest.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dfce173e77b3a074ee63b59a437cc41b0eda1c13daa32e84d9e2ee6f05c05a"}},{"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: 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":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b171949db660961a35232a6741c777c65ce5ec0bb6e36931ba1fb9e00fbdfbee"}},{"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: 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: 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":"error","message":{"text":"No assertions (empty test): test: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/test/java/org/apache/rocketmq/remoting/protocol/statictopic/TopicQueueMappingTest.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"97255b6ec5267f0ac141757848e473cf4561af52bca70a3a5da1261001b6afc1"}},{"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":106}}}],"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: 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":110}}}],"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":151}}}],"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":310}}}],"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":398}}}],"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":110}}}],"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":75}}}],"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":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0d6fda4256562378d7ba256c89f4c18a371ef2b8f8aa3e2c1fda6466ce3628"}},{"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":100}}}],"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":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"73633ad1ad87798866780ce76153e2b70d19b78ffa8b4293d6ad5019dbe6143e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerSendAndRecvDelayMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c0913439bd339f1980d54a5764a0ad3b145380a93b69ef5e2fc5341b14aafd"}},{"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":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b508ef141a4091f16d5f15231c261db23382ff454ab6190838c1e00f4004c9a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTransactionCheckThenCommit: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab19a100ef6a7d4018f5ae0f99a8b3fc1027b13a5d8f2e98032430a445274d39"}},{"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":98}}}],"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":63}}}],"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":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a42d118d1c64bbefcf2e1d38157292dfa9bbf76a36bad17a4d3898b7e28001"}},{"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":88}}}],"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":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f1cdfd3a2a497fff010dd85b4adfae1fb38f4734467c3b7ec3df42be9c9d3b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSimpleConsumerSendAndRecvDelayMessage: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e272d739b31253be581a5172aa4cdbb002aaf849250e7b87e6c3fcf14608965"}},{"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":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"295aba2b41b66fd722335625547ee8d391423fd7bf6788f2daa32c798fbcb6b1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTransactionCheckThenCommit: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffd6a31d3b35b6191cec2f77c2cdf904df31b55011b80f9c3aa4a209f25b00d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMultipleResetFutureOffsetWhilePopOrderlyAndAck: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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/OffsetResetForPopIT.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf5013a0cc16bd0496d1299676845b525e2e4937ba78ea2b10bfb724326adaf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMultipleResetFutureOffsetWhilePopWhenOpenBufferAndAck: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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/OffsetResetForPopIT.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef036cd65f671f2ee55fe79abef470f5da58dddf1dbe0102f88344257ac052f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMultipleResetOffsetWhilePopOrderlyAndAck: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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/OffsetResetForPopIT.java"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"917da5470e768116e9db588a01fe0bf955f1c31bf71b013bc89bb7ebec194d18"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMultipleResetOffsetWhilePopWhenOpenBufferAndAck: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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/OffsetResetForPopIT.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"33beeb066fcacce569c0e9e54eeed3c84a9ea65a66ebdfc47d80777c1a18bd0b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetFutureOffsetWhilePopOrderlyAndAck: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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/OffsetResetForPopIT.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0a0189978e3675b43d11681f2aa36c7a10d22840e600a05811a60d285eb7dd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetFutureOffsetWhilePopWhenOpenBufferAndAck: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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/OffsetResetForPopIT.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bbf08322a83ef9ff25e561dda4cdf76dacc88a8ff36d50846a0a5a1e3d0bdd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetOffsetWhilePopOrderlyAndAck: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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/OffsetResetForPopIT.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4255964d8054dedbd3352b14fdf8b690d3752f18438707a67d61e5328ace7fde"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetOffsetWhilePopWhenOpenBuffer: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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/OffsetResetForPopIT.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31ba4078a36c88d6d5e98a8c310d23e4eb64d18eb172a76c9f602757d85b31a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testResetOffsetWhilePopWhenOpenBufferAndAck: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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/OffsetResetForPopIT.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2c2b8022652bd28d2efa69848b68e7faf92fe1ba40b7cfc30c7746a66752f4"}},{"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: 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":38}}}],"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":43}}}],"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":52}}}],"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":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"826c01100231dd02565c4a4f326addb7ea6c00996d2864a6ac96b06e144eb2ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testShutdownAndDestroy: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted 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":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edb2e0183a20985208a4a5072ddbbbe622bc377f6a6256d7068a663711be55a"}},{"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/BrokerConsumeStatsSubCommadTest.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0facdc69304ca5b87cfaebd96394961e1b287cc39dd215b1ea160d9163b4009c"}},{"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":53}}}],"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":54}}}],"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":54}}}],"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":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"579c321ee5a3d1ab99d8ad7e2781095c6080c7fd5fb82894321cd5ee4c2bac79"}},{"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":240}}}],"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":181}}}],"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":205}}}],"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":229}}}],"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":53}}}],"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":"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: store/src/main/java/org/apache/rocketmq/store/CommitLog.java: store/src/main/java/org/apache/rocketmq/store/CommitLog.java changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in CommitLog.asyncPutMessage at line 900. 1 of those changes was a fix/bug commit, and the other 5 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 2023-09-08..2023-12-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272023-09-08 11:25:22 \u002B08:00\u0027 --until=\u00272023-12-07 11:25:22 \u002B08:00\u0027 --full-history --no-merges -- store/src/main/java/org/apache/rocketmq/store/CommitLog.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":"store/src/main/java/org/apache/rocketmq/store/CommitLog.java"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9faac1003a5d6f9874033ec57e7ad1d81e8e2b59088a1f778928fa7052d5ed4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java: broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in PopMessageProcessor.processRequest at line 196. 1 of those changes was a fix/bug commit, and the other 3 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 2023-09-08..2023-12-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272023-09-08 11:25:22 \u002B08:00\u0027 --until=\u00272023-12-07 11:25:22 \u002B08:00\u0027 --full-history --no-merges -- broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopMessageProcessor.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62b86daa511124390b4bcd498e6e85bc665c8ff08cf6a98a83e6f4fa0506b2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java: broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in PopReviveService.consumeReviveMessage at line 298. 1 of those changes was a fix/bug commit, and the other 3 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 2023-09-08..2023-12-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272023-09-08 11:25:22 \u002B08:00\u0027 --until=\u00272023-12-07 11:25:22 \u002B08:00\u0027 --full-history --no-merges -- broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6cc4252a09f1d3b6d9d2f871a079956f8e373d67bc7ef9e82da921413f5995"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java: store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TimerMessageStore.doPut at line 1068. 2 of those changes were fix/bug commits, and the other 3 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 2023-09-08..2023-12-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272023-09-08 11:25:22 \u002B08:00\u0027 --until=\u00272023-12-07 11:25:22 \u002B08:00\u0027 --full-history --no-merges -- store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed047a85b041f48672bfc5e0fa3b9e0a3468aa098c0a6f4c9afc41981559fbc9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java: store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in MessageExtEncoder.encode at line 175. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2023-09-08..2023-12-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272023-09-08 11:25:22 \u002B08:00\u0027 --until=\u00272023-12-07 11:25:22 \u002B08:00\u0027 --full-history --no-merges -- store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.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":"store/src/main/java/org/apache/rocketmq/store/MessageExtEncoder.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"479f3f5520e8e949dca20a6d98c8f25ab0c37a063d83bc92d52a0fece0e36abc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use direct IO to avoid polluting the page cache \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/provider/posix/PosixFileSegment.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4df7ea43dfcbbc6b7b0d58807967fe9ba3f2416c3f9835ba583a8a76a2f8c89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check coda/size \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/file/TieredFlatFile.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b46eb5034a7e396146b3f6d14e4b63ba93af4fa1a44fe4ab6ac721c4d73de09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle update segment metadata failed 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/file/TieredFlatFile.java"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0e58043594e824b09d116fb81089f388ec8a132ff4bd93dc02191026400ec0"}},{"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":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a306f7390697b6f57f6e83ca1ff1144836bc424aa50176d8fce2423f4eff40f4"}},{"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":1022}}}],"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":1185}}}],"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":709}}}],"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":721}}}],"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":522}}}],"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":533}}}],"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":380}}}],"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":620}}}],"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":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5468a61a7c883f2d85ccd6374d42fb479900c5ecda5dc8dff3e0ffbddafcc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \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/RocksDBMessageStore.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad137d800ee11dae820f68cd23af78a8fe0452e9f6b9f24ee2483b0cbc53802"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \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/RocksDBConsumeQueue.java"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ef554fd194ec8bf5ef07fe43859749fc6bc6cb410071b09232be41509ba4a5"}},{"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":754}}}],"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":262}}}],"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":390}}}],"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":"TodoComment: // TODO: use MixAll.isPropertyValid() when jdk upgrade to 1.8 \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":"client/src/main/java/org/apache/rocketmq/client/Validators.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f5c88fb711b7c4ab110b4208b6670ce8bd6cf2416b417d24b106cbb3344beb"}},{"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":331}}}],"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":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c5e980721827292c43af62aa4448a62cf93e681a92239f226ba59a08e48054"}},{"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.4/10. The most over is \u0060store\u0060 (31280 LoC, 141 module-visible types across 18 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":"b403e6eee23c88a0a1370bddbc0c72c4644495ae"}},{"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":"009f6002a122f0081b0cd87893714fd8035600cb68582365a69a15a004740977"},"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":"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":"339ea6a970dd6b7cd9129b757ad883cb108fadde6c14a99588d91d1730991e25"},"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":"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":"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":"438765878006e5d38223095f9a25fe6a9462eb4c9147fe329497ab68333f6003"},"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":"45f871b5a7b91d4f9166bbebc53477b9e6e7d10fe7edeb898ba68f2a8652b084"},"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":"bca9db0f27cbf8f92b707ec602bc67149bfececbd8a4f7457f3f2db12740c16d"},"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":"49210906c0ecced0fb532757f7eb3f40f847418627ee4676e7a9a82c6fc2819a"},"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":"37a7ce26b75ac9920b8da9144f9cb2e8d5a727db3aea14be41ec86dbfccaa5f9"},"taxa":[{"id":"CWE-269","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-4","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":"5e849231ce78170d5b8cef88fc3c7786b71836b9ee30b6cd37b3fff2e69059ad"},"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":"e8842369565678576e73b1823da9e3865c7c17b15370726a9df2a221081f0a88"},"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":"cc8ba0e8535135227579cc1e2b49266b12037644f8f585aac39d89397943f976"},"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":"700f9b7e028c13f7fe9a92a10918371a4c5e8d0a85e271b2af3915032871340a"},"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":"54530b00720ae750cad376991243334a66974936d938fa8d0171fd8cdf569e87"},"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":"b1e88bae3c39eca3206295446ea61b117aa3eaaa0eee9d4420bda43741d9ce42"},"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":"413cb2c0697d9c4e25e8c6caae7c84e70fa55435f86d23bd6093ff6ce9d9c117"},"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":"23d633293b31e0fce6b484a5610ac24f671e1a6424e59cd13b2cdbe0378b1781"},"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":"677e6c998e1c591b3c716653105f55b4476c13c61888d492bd3575eca629009b"},"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":"213b9e7e34f9d6d8c92694734994b2c373ad916688cdbf82ace177c73cfabf60"},"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":"5814482901bd60acdcf2655a4586fdc34c0bd9fddaaab5d8b9ced2225e2e22a1"},"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":"5cf4d7b54382bef79ed297f96ab10d8f8c1a70a5220ef2fba7c5066accb6d897"},"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":"0e2e59393af1e7904b978aebb9b1c2a6526485e944abbfa1fc6083273f295e3a"},"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":"ce3b6a065774707498e1dd35fbb9bc09329b18107a2b08c4c0448f1acbf3508b"},"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":"000907f458769a1798da7a6b8bd2319351d3821a78639d1429bcd3de5f9d3504"},"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":"7a0c1eb18e304990172c3068737acad5f41d49d1bb34ffab5dad6f0e179985f1"},"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":"23382487ca89ca094f0f8b193a4e976a2c3b65c5e2035c75c58ce8dba960c6e6"},"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":"88b2e0d26dfbb2c8874051f09bb4bd1e678c433ae35db92325c2ae78727c0e98"},"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":"a7aa7afe79b91ccf80a34de1313cae739b118095e35bb4d7b03ac7ce372f6d42"},"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":"6e14b4032081ed6bcbb4f73d494ffe9cc55016e9d0d071f457892ed14f4a5647"},"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":"af84ffbfcb8e0bc811d545c831da552853e98bac16449d063e08b111198e876a"},"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":"1951bbcdd77f68d0adf452156cc2752c01e646ecc67694a306df4121246e55ae"},"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":"a163c4744dc0573ff3c7f9088df695a855549fe5cd0f1f0378024b255b3e4aee"},"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":"e62eb5bd6e2ef88d809b80c90a05d06f7185dc61cdc3d6718fd4c47c55215910"},"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":"fc2f96380066c9056a88b70186f1785ca0c9dee794d3b933adabff9e7852ba20"},"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":"4085cf3a17fc87ae2743a57700d225ab5bc06a12f482eb646a3450faca2cdcde"},"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":"fa97292b056b15185bcb9a429f4b902e693d3d9bee6e2e650c00fb66c3ac09d1"},"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":"2a3a207f2b835103b4078f1cee7ab0b327d0badba7d17dd83317ebe6edf5393b"},"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":"3f9aa7ccc70bd014e740263f90be567aa5aebb316f3ce9e638dd6aa590bc6c68"},"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":"7a9dc2651d04706e8f79cfbc065a2abfc39746a525c0b41d640be34d310fcfce"},"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":"124d223e47c206d86f6d205c4e56b866f5398b3bf87ee117d469c6fe646021b6"},"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":"5ba5fbb1b473df8dd3c64e1c18e3af1f7552ea1b4daf3c4d48119befd99e83f0"},"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":"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":"73d915a25a88c2ae6da2115e2d2006eb2411125af3a3bd54c207c9912e0078b1"},"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":"31b59978dea65015a0b5dd71f74ece83550c8469e5bcf52e0ce99ab267605d39"},"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":"9bbbee60488d0f8a181d9ab4b1b74d9e87985b7e27f403f6b9b81ec89c596003"},"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":"5d359967959c86a4bcf0e10e7264645112df9d9ccf3340e28c9d320582b4f483"},"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":"81856d1487ca6cac78b79a7f116cfb6ede5942d6f1d98153869925fbcd2dbe1d"},"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":"b14f6d31be4b4ab1dcfde2644d87470e2317d48e4ed3c57ce75500b96159effd"},"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":"2649e6d9edc89b8c3cde5d36812cfd1cee5555b8c9563f08bf670dbb84cfdbfc"},"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":"65b2474fa3b7851e9239743475beca1b3b8a078b0f5aa4c9774ec47fc9c59036"},"taxa":[{"id":"CWE-330","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":"ea049b0650aa94b76c104f090f3095916ae1dbc4b700b8cb126e7478b71f70ca"},"taxa":[{"id":"CWE-330","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":"1d25fdd8b9f6b6966ab9ff4360993abf5d7a83537c2309bfeec38ba7daa8a30f"},"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":"236810e431a3e1e9f178c145078ee72a9aa9541b4f645ff28adf3c7a8f736c8d"},"taxa":[{"id":"CWE-330","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":"4812444fcad27da820ef7b5f9f541a4d232e6039fc6faa35620a02488794d660"},"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":"91490af9c026d5d43e34ef7e8291cb241c0f18c304c882e6c75abb5faad91fd4"},"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":"3eeb404f66cf2b16d84f6c4901151f1726f503103b384a86c2fec52c33f32ae9"},"properties":{"dependency":{"package":"com.alibaba:fastjson","version":"1.2.83","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":"e624027aeca9a8bf65be5fea35df1014692573a6bf95a42e0f6ad9d5f5b55424"},"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":"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":"952baebd00768aab6d0c37224411f2a16af7b82483d3c4a60b097b1fe57db21f"},"properties":{"dependency":{"package":"org.yaml:snakeyaml","version":"1.32","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":"2b51ff9b0b84f9fc2dd1364d6b78dde01eff4c52421a1077fa1619d7993368f1"},"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":"76ca354f155e938104c56b916e07af1afc7ce6ea1a3c41897788a5a3f757054b"},"properties":{"dependency":{"package":"commons-io:commons-io","version":"2.7","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":"2a04a632237f528fade3acee66b7650a14321a2b11a807356504bf92b5e58b3b"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"31.1-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","SNYK-JAVA-COMGOOGLEGUAVA-1015415"],"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":"1ed4d3652c0f0258a02d7ec34b5aab18a599d70bc297438d8b843b3329ba0274"},"properties":{"dependency":{"package":"com.fasterxml.jackson.core:jackson-core","version":"2.15.2","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":"7dc6fe5c212e6cb471d3c54320d3350fb0dea9126c75476532794964076ecb31"},"properties":{"dependency":{"package":"org.lz4:lz4-java","version":"1.8.0","advisory":"[GHSA redacted]","aliases":["[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]"],"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":"da4687b777c48a531f4b08422875c34e474ae320084ce342e657024a3bac9751"},"properties":{"dependency":{"package":"io.grpc:grpc-netty-shaded","version":"1.50.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":"e4e6c239419f1ee975bc008807b9cb030f3b3e5b437ea442b085b443f54cb27e"},"properties":{"dependency":{"package":"commons-beanutils:commons-beanutils","version":"1.9.4","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":"2411041c419d36d8e59bd47f580a86eb904871c1d0abfd95d28ec48515351b92"},"properties":{"dependency":{"package":"org.apache.commons:commons-lang3","version":"3.12.0","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":"079e69e0723be45e75339b4f9c04daad41b55e2805c0df5a4a5a706c4dec77ad"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk15on","version":"1.69","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":"6508a6d747a186a0d86c08b4f917a226688561911c7e567aecb995f99240285b"},"properties":{"dependency":{"package":"io.opentelemetry:opentelemetry-api","version":"1.29.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":"f3ac23a8ca741d9e7520a3ec7084d04e180995ae445ff870c870d4a9d63c1d43"},"properties":{"dependency":{"package":"com.squareup.okio:okio","version":"3.2.0","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":"0bef6d49e4030f701fd14e11ebacf7fc7ed261b2d04704e7fdc49c19f0d5ed88"},"properties":{"dependency":{"package":"com.squareup.okio:okio-jvm","version":"3.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 700 of 700 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 700 separate risks. Counted over 700 of the 1249 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"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/impl/MQClientAPIImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"713060f2e420945c399cee188700b4e0405c60ec0ce398a8a6d2d5ffa03a883a"}},{"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/AdminBrokerProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af203d1e37893467c2a4b5588299500040b48b7fe07f7c44d6f7b91650cda8b"}},{"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":"store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da836f958e115074800898283c778d3978e8a2ab4010aaf60f89cb9fbe2ba48f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/CommitLog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d4d14827495c9f2a90a58fb58c7b95ed79f9c0433a36fee0af583a331dc1db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BrokerController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9942abec962552d953a5a58470d47d7d12da81cc20e88a5affb13900f3a4785"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultMQAdminExtImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf2ccb3e254593e7eb4a801dc20adc9adfa63d9b44631ff983a1cc58ec33d45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultMQProducerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf1979e36f9beb2695e7d8c93dc4c9b270972c09f6e82bc3144c4857953f88b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/TimerMessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18364e3d449c745563c892e0a4b5d593a14dba9cf73260ebfa5c8ef67b91e6ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultMQPushConsumerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"308b29f4acadbc6eb18376bdd3139c3176f0e5b9e271978f63e825b5223a9e3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/out/BrokerOuterAPI.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35bd6509a7ee92809b86e3073e6fa97e97557eabb3bd57a18e183bfe4c75e2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultMQProducer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edccf28fb1f3e0b158839d2830cb04290106b074f2e5d3dcf82c3bf3d5fbf7e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/factory/MQClientInstance.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c89e8a72df8b243b04cb9000316ff686738408165b13b89e516ec28d0b8c888"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/config/MessageStoreConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6176a3babc11ff9480048f2c7327d45137a206415e4d604713978906965c72d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BrokerConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb9d10b86c22af59f89f40cb7f7a26d94397402aa7338c0125caa1b20108743"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultLitePullConsumerImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa232fa978233c53ec305db1638d30286902c6657d2a04e24f57e963773db11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/routeinfo/RouteInfoManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6f1610e4f34a70339f3e3512c4e5f0c9ee8839a89d833ee018fdd67993346f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/NettyRemotingClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"175b39894dd82e961307fd3a792d09f995322495aacf09f2e83b1810cd2a9063"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/config/ProxyConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d06d39f14a81f92c76033621eebb7fbfd8f8448326435e0d7f7b0d20e5d0796"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumeQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda94a759d55e9f6888f109f6ca2bde3466113603865c107c2568433c708749e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/PopMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"746f4a5aa1c2d787cf6c01ec02daa87f6910993c9572309c1b78ddef4109974e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ec620ecabe52790dfd188466bc6270df0a02c56cdee7394bc6dd32b627a6b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/PullMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f523a3cbe6a25b0412dc382103ba6e94f68db667c787ab7496d167e55d5aa4c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/dledger/DLedgerCommitLog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"457a8bcf6ec883e21fc0f0f3c43a67f07161aafa6ffa1c099cd90e0c146ce9e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/controller/ReplicasManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afee692fd97f7da4a9a2af50219ada10c8688a43fecf6484fddee1a360966da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultMQAdminExt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bc96674286ca8a275f40a245d565585a44d48acdaa8dc7f7a686fd990e38e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/PopBufferMergeService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aac0f59a3a7db440cfcb94994cc3f8c683bc0c7caf54f40ba2fe92f7c6e84c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BrokerStatsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c3af4ff58ea76d1d41c70de35733bd16c57a4cfc5ab9f50ddee18cbaf00aa8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/SendMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a4552877cd66b98825539ef9709bb2c3e51444cb19d20abd005a4a4ef5129c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/RebalanceImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da45d7f907b49c71cf6ecbadd97f6aeedaeb58fbed9861a860a9d60894bce62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/schedule/ScheduleMessageService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"264412f4120722ea8da6a797cd3a5fdf93d1ba7f7b3c483a154136697693bf70"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultMQPushConsumer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c085ea35535409d6ca31e2d9f48bf41f08947d5f83f516bb9fad5b66cbb547"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopReviveService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2455c8b27033b81c915bde9fcb49ca6f679fa62568a9a21009402a0f31e8a89"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/NettyRemotingServer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49ff37c485fd79ac920b0b6bed41fe1d502d2ed3e1eb2fcad3f39c311ed563c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/AutoSwitchHAConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02dc97b095c1c0cc04cbce71fa5ca94d7ddde0f81fd6663e995423da6088306"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultMappedFile.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f4d4215aad981c0eac4693bd981a497284408f126aca0e9d52e928cafabb38"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/TransactionalMessageServiceImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7f3bfdf4e3ea64777a1e9e32da468d7c68d28590ba664831801a83777ea28b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c280c30e327426f939dc4f8cb3eb2642fed9665cc347b98b8ab67050de91a8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4977427f813b894710d07fcde687baaf10ff3cdc5d2d2458536af848719b0288"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/RocksDBConsumeQueueOffsetTable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b63be38f8ed7c3ba5a6ccd80079a942e9d0772a8ea4ea860c5804f63c0226a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/metrics/BrokerMetricsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6d29963f6c1f3edaab5628a297347d47680ff547110ab62b0f2ee26fcf65e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/NettyRemotingAbstract.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89ac4348427efa54bc12cb19b59c22188b9daf581b9871875afe5bf316cee42"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/TieredMessageFetcher.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba49f95147bab56a35564f054246a04490afac7b2527c153a7c650c07add63e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/MessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7ab1b0a6ff04164aa9a0f7801747f3b188dc1091769f73e970eb3033fb27d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"421a4f5b2c05457dc68b5cb121ef21d9342c36503893b92b63ece184e8b3ab8e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/TopicConfigManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed188ec58b864efba79d7592a23a21d5a82353aa2d06f394b4779e7ae7f671f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/AbstractSendMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8017d9cd7155ea9fec0f79ce4808512eb1210d71d47789017776f820841734"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/TieredDispatcher.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6865a5869a87e51ffb59bae930d74edc27e7bce86768eb42a66c899c78a63645"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/MQClientAPIExt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"402d7af382cc1e5ac4af05f2d96d420d04e0ec345c9763307987f6e2c53c440b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumeMessageOrderlyService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3cba6f2974a531c4d4b7d18d1d6b33fb41d5679b69c26dda74b04cd54d2dbf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumerProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d6583cf85bee16312da237104157454c6a87f316995068f72c15d20b332d9e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/LocalMessageService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c52da550e47b0cfd352f89b7ed2a5e010d6d50599dcb435f53d3619a20eb5b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOrderInfoManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb373bcf5c8557591011bf832e17d17414dd424b846cdf558e984af09386b17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/AutoSwitchHAService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8af66ca240b3d75fb77fdde32f873216c541c17573ea3c14a53f9352160bf24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ComparisonExpression.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"793f1ed9733c368616246ea6e59788cffb621ed61e09106dacd2b86912987016"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/file/TieredFlatFile.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af31535df2c231ddbaf3bfb9a0bc2abf8408abf85f71137dbb7b959b9121aa9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/client/ClientActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cf761836ae115408348cda0e81b03a041a2c106f624963732a1fdb95d44282"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumeQueueStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca38534d810609909ad9ed4665f469f7cfd2721e316b02113894580e3b20dcc2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/MQAdminImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"510c666704620e024c2c317f5d14c041bc1347b9d9a94db43be1867fcc76344b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/index/IndexStoreFile.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55e4502e593b3a137af53e48bbf8c8e4ddd0a786e09a72e09292f1e7c6b405f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/GrpcMessagingApplication.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb55184a5c8652642a55fcd09355617e9655210a18c8ee642a4fcc842dafe7f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de0004f7a61c10ca28811d73e0088f0cf5721580852be7b63e06eeb5e09252d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/metrics/ConsumerLagCalculator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ce977537dd816b8c2beedc63beb5bf9980dc16936a1303d778bfc30aa7bbb8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9247d1101495ee84df7cdff605efa7a6ee9ba075b415f49c70b2b063902eb1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/src/main/java/org/apache/rocketmq/container/BrokerContainer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a2f8d14cd0223f91082004d86d37fea7dd7c53609a63695df524252168ba14"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumeMessagePopConcurrentlyService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef81e4cd5e94c65e91d5bdde4ed8e542be7c1b4d0c7462576b3ffaef0820befc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultLitePullConsumer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3b27c43c2f5178d15b738e290b368ab46aa1e9bd702ed2f99f701ca3b84e20"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbb1e8ccb0089d0a6e5b8621cf5d30461b2e62e657337b5b3f1ad3b840972dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultHAConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02fd1450e7a826f608d66127c3b48c350b693dfe93e42f0a4c1a2d8db29c568"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/SendMessageActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef4a8e89776eff70839cd573bd44cd7d7f24b095faa7997d561981b7f2ce291"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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/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":"store/src/main/java/org/apache/rocketmq/store/plugin/AbstractPluginMessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0182f17cb806ca2bdc432dd82d4e3de888c2abba59be3a754f72021cf08618"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"proxy/src/main/java/org/apache/rocketmq/proxy/remoting/RemotingProtocolServer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8a5d94e5c906a5c6d869d9b07c8e9b16300e36260c5b71eade3c5c9346457b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/failover/EscapeBridge.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adadb30a3efaae269db2673c8ff9bb3c4c67c1b11a857d3e4aeb530fc440e3ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumerFilterManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eef81846fb673bbed14dfe0bbd799e00b4e2f3ae7c8ea330afa3283a1a0fd8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37be15c903f27f7a232d27004176ad6bc5b0333529f41d5918e4ca4d6419240d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"container/src/main/java/org/apache/rocketmq/container/BrokerContainerStartup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"308c2cfd810b7854030171bb047d56387a9933885b0d35125a487711a3232f95"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/CompositeFlatFile.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ae62eb09bdcbb9ed98d8b2075222897f212c5d8e23388089b58c5cef45a4fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/TieredFileSegment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0158b0efa3055f3d7e4a1ed29557c445f570185e3a40d1bbc6cb927193406ed9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/EndTransactionProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39839fb53a0e840d3d50850a4a0b86a5bd0112fc052828cf412b51514ad2d00b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"broker/src/main/java/org/apache/rocketmq/broker/topic/TopicQueueMappingCleanService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd8198854d2e46cd8774aebe86262321cfb5a2c9859f08dea7202753fa58ceb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b350f9c785fb1984b169dc684947d01820e304363b47b201bb89093fa162b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumerOffsetManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee1968d37cf1d6a2de7c1a3fe0a29a76c33aa75395ed96057c07d3c9806a7ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullAPIWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec212cc1e988176f3c0107b29fce55eb0888f6e203586dbd33adb105c77273c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/PeekMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3e7cea077c8f64a497bf23ef07860e67bfb6259cbb7c8b779d367f2f08a8cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/AckMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9d78e0ef615532264668e180cb55eedecde51f80b163d8e9b68b5dc0469d26"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ProcessQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b232d195b787cac6ff5055974ae8f56737d793e1376ad0f5935d3c909b1616"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultPullMessageResultHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7570bfb55016664004990125ad057b1ca179432f2ad0ce89ae54c35af1404520"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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/client/ConsumerManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa98fe7aac89395d7ae435f29b6fd5d1ee2d5d4fda0816f7f4e73f6b8f34183"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultMessagingProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"268322b45e7c433d89fdba7b9a23994fa240d03dff30c744b4ba8196548de9f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumeMessagePopOrderlyService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e78477b5b7497ef6c1b13be182946f9cadc7fe7894bc092d698381222a1842e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/index/IndexStoreService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f830027ae36b368e0d141e2b6c028adc6021c21b8e0048e29ade865689afd7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/PopLongPollingService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c096a038afa4a3de0267f6bbe5700b1b2a56caa961a63768237110a5332a336"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultHAClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a68d9f112ba2a38f313580d2f29f0a1563ea2815fa19cd32c9f93b3a0be1623"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/subscription/SubscriptionGroupManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace67e721a7b54d72422a58af2c89b456b05a96ce0f9854a3da5fed9c2422106"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tools/src/main/java/org/apache/rocketmq/tools/command/MQAdminStartup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"709f26b10cf632afb238f7358f7ea83628d3c08d246cde2f912ce9cd21c83caa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ClientRemotingProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8fa65537027886ac9e4a92522548df6eeeb298b455e1e516017cbbdd45ea5f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumerProgressSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf027f69befc9071348102e264068c44404e7207fa055dcc19a3d20a343865cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/ClientManageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5e14d95c6a7ce108093b33e9e2ffbd192742d21d7c0a40f1a7caa401d4587a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/grpc/v2/route/RouteActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b0c52eadd3b680b9d7d8c2500e76c4bea207937b66449ca598332e32a563ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"common/src/main/java/org/apache/rocketmq/common/MQVersion.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f6030690599f28f83d9344b7166f83cb9376fda504b7415e594de7ab2e2295"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"502496f7618b4acfbb35925ca2a830da9f4e458f20b99152bfb56ae09fe09dcd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BrokerPreOnlineService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"118e87acb571868e37624869121d8b30c015f23299155027911936bf4a8ab4bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ChangeInvisibleTimeProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac559f586ba0031e77dc87a593aac3b3166ec0a02610c9e70d503934e2c12d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/common/TieredMessageStoreConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beff90a6f43f022973f45656653891163e161d4a327296a655e2ed5f602da43"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"container/src/main/java/org/apache/rocketmq/container/BrokerContainerProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bc6a9259c0e7fb386e1d9659fcc9db5ae5e29b6e0d95ccd12e609c921a0043"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"broker/src/main/java/org/apache/rocketmq/broker/slave/SlaveSynchronize.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07e98143611376d35bed89a4f2d91de76d89344dbe42872a915c7dae532cdec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"broker/src/main/java/org/apache/rocketmq/broker/util/HookUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"785a239065b387604c87a02a2554bb34f284a80d7dc21b0540a2e2d0a6ce5fe1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/TieredFlatFileManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47544c6b3aa3c86c4cffbac6e5f8554d307a0a9b45d9a91f7001a0780e63111"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BrokerStartup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbb82dd4af4295bcd08ef67434042e2c7f380f01713a2272a9dc5824569fe47"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/RocksDBConsumeQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5353f87f9f164dd4765f2a315e824c8134f0f6ca3810dc8b36f279565a61a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/MessageQueueSelector.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6177d519dedefade0dd4382761634585090a060a5c40067b91f5048528feb62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"broker/src/main/java/org/apache/rocketmq/broker/client/ProducerManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1473a416dce9f2f192c261872fbf2222505cf366f3030fd82b142573efe41f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/NamesrvController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a496a7b24d037bf0f9c8e6866a8ee3d0e3e417e57b090b59a4d075d9476a6543"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ProxyAndTlsProtocolNegotiator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffa742d43221cbcadd6a5b0c9eae519d2da9fadb69db36ff5c75bb01fdf2c67"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ClusterTransactionService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7816062252aba9f1e66f91de9a126601ec57360c763c0c95e769a310a790dbed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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":"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":"acl/src/main/java/org/apache/rocketmq/acl/plain/RemoteAddressStrategyFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba83dc47eea51a361f181507e010d0ae0c656859c557b4ef98a9628c438ba859"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumeMessageCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7d92ca8e02e8dc6342046cb68f004aab19fa4d062e20b44617feadcaaf34eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metadata/TieredMetadataManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd7fe405819f3c8d4868f172829503e70cb93fcafcd9441bb659f7012403616"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"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":"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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/PopMetricsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6a09e2247cd1eb9ade9843854754d82ece9f3320832ae4475e06402f4567df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/HeartbeatSyncer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dd3a3dab7bebcceee186488eba36074d98b1e004705272cf04b2a8f12eca78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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/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":"acl/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf1738eb839af32fbe911b2c39b7914871a0d7a39a1b48bc0fc8692b66b7ef1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/common/GrpcConverter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d16126d30c694f10033c6f747e8ca8862a381dcdd4b2f54144c76b6c8d23687"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"remoting/src/main/java/org/apache/rocketmq/remoting/Configuration.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29002b32dadea24813a94009c8ef745f09c97ab74dc5dca6adc01988897d60a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/TopicRouteService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"126ebd92621c46d04b28e6478f6ffe1e89878cbc9740021e9ffd80facb6d9d4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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":"store/src/main/java/org/apache/rocketmq/store/metrics/DefaultStoreMetricsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a202f445282b655fca24e2d605511883578fb9931031365522d15f4c75dec6d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/CompactionStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ed84d152d7a8c5d0cfbc01dbb85a068f0a5dcca3b91c65c847c6cdb53e490e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/statistics/StatisticsItemScheduledIncrementPrinter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1920531227a19eaaa6e6baecd8453f6bac4503cf203c4a380b8c248e375dfae4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/NotificationProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dafe9f391bd314fd7e2a2b74fbfe93943c505be075cb6e133f40c72336396e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConfigRocksDBStorage.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a166dc65f6dcef906fba0e293ad132e8b9442ff9744f1c307d64021c9ed9c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/posix/PosixFileSegment.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63f558b5499bc856a59c6408829af911e6680574b4249763b3b41355e4dac9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"client/src/main/java/org/apache/rocketmq/client/consumer/LitePullConsumer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"116eb76f171e355ffa2495012253722980eb79ab7c5924c0ce7b28172c21b454"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/consumer/ReceiveMessageActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3141c470fad1af1528b285c30ebab31863591e40566bd8a590763ffe499fb891"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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/RequestCode.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3ce97cd4851c9deb116926987a913a32f5dc7b997f153f62e2227659a869e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BroadcastOffsetManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e89288f9fb10f1d150d2474b5f9595870cf700aee51ca9be6ab2156d0b4f10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/NamesrvStartup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fe1764a8ad9c359198654b6cf43b97594baacf9b43aa44cbd87461f0b8a05c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/PrintMessageByQueueCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4969f9d266a8cb2e17eaeaad20511e4cfc6eac7d91b2deab0cb3bab69987c89"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"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":"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":"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":"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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByUniqueKeySubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d85142e33524cb186de7a01d7a9d774b05bbf3102ec9c89c7030e4f5fc64da6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/AssignedMessageQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99734d66aa74e941b35d8f81678892a9090a86d767ccdc73200e2796295d5e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/namesrv/NamesrvConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a7e929ddadc532cbc59963321fec58382be99f4552baea6e9e1d258620571d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStoreInterface.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66f5f644180210bcb7d4b0f5001a17ca3e1fab8db32fe14835a0464fad33f46"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7685175185d7a8a5d2e5bc1821be8dd8964ec3bb15ab47f146f6db760d9ee20"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"broker/src/main/java/org/apache/rocketmq/broker/dledger/DLedgerRoleChangeHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace61693ab2272121625be76b376472ef8faac02d01a5b5b38d1fac0280a1036"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ClusterServiceManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0efcd677afd7aa1aa91e64a7bd1e627339cff8ce2116a03a8ee59563dd1cd03"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ConsumerManagerActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62253239655b7d95a1a152d2aa3cd6cdd2c0231f8a6c2651d05b95b911e29b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/RocketMQSerializable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef92792cc66ca37e025038abc527f3304728dbc06c6fa03a29ae93f39510dc3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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/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":"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":"common/src/main/java/org/apache/rocketmq/common/utils/ServiceProvider.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ca3f4cbc3323a4217f70cdd889ffc77ff4c7fdd33c2df7df37eda10f28558c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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/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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/subscription/SubscriptionGroupConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec50d6bfa4a3b109acf0546b976367b26611c960336767eae33382dfb1265352"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"tools/src/main/java/org/apache/rocketmq/tools/command/cluster/CLusterSendMsgRTCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2718e2b8c43fa2cf9ab7f01205a0b2feea31a112c441688a51b1e16b00ac0f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a187c0b3e77da996c0f53af6051d7cebd1132d92e46ac1cf0ce010b1cf7327"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultGrpcMessingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0dee25930e93e01dce135832f90f8681ac3bb783e7fac52e68a4f9d64294fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tools/src/main/java/org/apache/rocketmq/tools/command/stats/StatsAllSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"239e8e24df52dcbacac5782578a1a4b9311a8fb544a0c47504d91ce0d0b480d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ClusterMetadataService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf03e73ecf6e1deae79e54b3ed31e2c2cc8e519025ac97b9c7336dde3ef411"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceLitePullImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdacd5987fdf74447f1f2a5a281d13442ce4e4fbb2ae7cb4c47789f501190f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BitsArray.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbead009a4e6d951eb694913a76770484c0a99aa05b3e431eadc95b8093667c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/util/MessageBufferUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef6bad5db2f006d0c9b2fb1a0fb0294665fecb88800e240e3fe34798117bc56"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ReceiveMessageResponseStreamWriter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fc9e1157fe4ad74fcafc28451ee6937960e3611289b37adb86e8dd2abbe46f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/main/java/org/apache/rocketmq/acl/common/AuthenticationHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a28e26be614cdcc7224696d7a92cad2c978dfa1cf578d3c3812576e639c701"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOrderInfoLockManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0ce763a9004d871e0d14b905d5564816b3f805f588f4687abe8bab1b6905cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/acl/UpdateAccessConfigSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"838b3cc80f2fda5cd1da77baa96f74bac396fba021da918549d37c9e0010e950"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/provider/stream/CommitLogInputStream.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0361c947ea84d1e6c4e34347aa25fbac5f1343367a960a083b422cd93279571"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/GroupTransferService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71edd7d4943892538085d58d5804fb7a3824131543667b91f59a2d8c31ade455"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"tools/src/main/java/org/apache/rocketmq/tools/command/offset/ResetOffsetByTimeCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e422366c575e8995f4f11ce61d741f52d612c68db6c790c15c003682afa793f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"container/src/main/java/org/apache/rocketmq/container/InnerBrokerController.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"789c66240e144b6b6bf2a55eeffd1ae7f9227fa997aa2cbf78f8d88a6b0fba6d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/RocksDBMessageStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a61a65c794c6e15906f50d1aba0327b248c16cb6d266980eea361ff440e42"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/TieredCommitLog.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"218caaddd875cb03cf9171b1dded6a977e313c08711c6ea313463348d646282e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BrokerReplicasInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d17c9718b32188b9de209b362728302de9827aa4234be3db24f46f1141f8035"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BrokerConsumeStatsSubCommad.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37940627f6eff8dcb5c51f29bcbc7bd6054f9700f1319d259930fb7af7a1c54"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/util/TieredStoreUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3a73fbfcbf1af74acc15ee3b610ffcb5c1c699e18a7f2efc2a5c412f3cce6f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"srvutil/src/main/java/org/apache/rocketmq/srvutil/AclFileWatchService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0609b4f1c5361ae28ccb14a173f02fa19a99016e158310da3a752f4b3431417a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/HAStatusSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be260c898e92960ac3e750f864cd4e71ea28daf0486aefb14e36b2d5546f7f41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PopInflightMessageCounter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4536818c2efa4fcad9bbadaa50a092bd5656865e89c4cbe461e3239191a5a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/LocalServiceManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfc350cf83481f9d9c0816cb0405d70dcf90d35c1f697e8defddf06474736b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"broker/src/main/java/org/apache/rocketmq/broker/processor/PollingInfoProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"285f4d46ef0cba479180ec3a79dd83b496750c6e0e8901a414dbe35ee8226cf6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"store/src/main/java/org/apache/rocketmq/store/ha/HAConnectionStateNotificationService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2093697c6455f0f73bc496b0b2a0d3259c100ea44aa2cf705cf834d109cb648"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/stream/FileSegmentInputStream.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"877bcb94bae217056219a09e283e9aab74a7dcf7c5fc7e19a09d31149ce8cba2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/topic/TopicValidator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ec9f311626a10a2adead274cb7057f5af507c2741bae91a51520045b08a266"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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/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":"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":"tools/src/main/java/org/apache/rocketmq/tools/command/message/SendMessageCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"924bb3f09f13fe9a65a4cfb657fee13196a43d4ca3f98d6598b96f1366d02bfa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"common/src/main/java/org/apache/rocketmq/common/namesrv/DefaultTopAddressing.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ef85261ef01502f1b33896f7a3d5ecc1d90e54305c029bf13ce7c73acee882"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/admin/DefaultAdminService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b3169f852a742ee467b20c845fbfa46d1f59374f5e4547f9dea2ad6a34de51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/elect/impl/DefaultElectPolicy.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4676b08a9b2310f744fcbe2459cbcf5a21bf3a1da6c938f60bc14dee4c8b8fe7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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":"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":"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":"client/src/main/java/org/apache/rocketmq/client/Validators.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5380b5ae3bb804f4c175a0619d37255080f24079f53eb754d205dc09f501f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"common/src/main/java/org/apache/rocketmq/common/statistics/StatisticsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ed60d0826b4f90382fd858bd48b83ec3292c7830e69bcb407ef627f5a13115"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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/acl/ClusterAclConfigVersionListSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3c9717f28a283cef4cb717bf25052a46f53c75828d2a904437eca14ab9ab6e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/StoreCheckpoint.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c998ad5aa81e9fefd9a5bb2408ad02d2833fb24dca3aa3997211e8110e28afc8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/HARuntimeInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3c00ef7a1be8a849a16df9632b17776300532addd839de2b44a8367cd78f40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/HAProxyMessageForwarder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec0ad816eb16125b73a410f688da4e5fcbb263280259b79a74ceea9589e4429"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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":"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":"common/src/main/java/org/apache/rocketmq/common/message/MessageClientIDSetter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ab81302dfb6ec87f6afe3b0f8c5e19e7ee143c653c4e246369323c1c1d2d05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/metadata/RocksDBConfigToJsonCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fbedb7d60e70a252edd4c5d9af988e4e76c19c8906be1f33c00de2218893bc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/DefaultConsumerIdsChangeListener.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2eee097e5b9da7ed5dd6964c6336ddc5296f2cd38b53af2cd0e304712256b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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":"broker/src/main/java/org/apache/rocketmq/broker/transaction/AbstractTransactionalMessageCheckListener.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be564dbfba3cb019f784c05e7c1ff21aebfc78d31b0c4c26f51599309edec73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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/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":"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":"common/src/main/java/org/apache/rocketmq/common/statistics/StatisticsBrief.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a61d7fd0e21668b17d1a49e7145895f53694204fea24f9ae905bb36e007be2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"common/src/main/java/org/apache/rocketmq/common/utils/CheckpointFile.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74125bf9b398fd552dcd265db598dc7e9dae54b6d968607897b97c4c2a738f3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/ClientRequestProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"907b6ae4a4db4a78597f4273c48f9ed400ad9d244ecd518d05544d884c37dad5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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/broker/GetBrokerEpochSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b339a5ecf05e5d4d805a58770910878f81b168155286e2ff2362a3272b0f506"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/GrpcServerBuilder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc1eb66595f04114007ea746d315142a37707661d47997144a7cd132229deae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/rocksdb/ConsumeQueueRocksDBStorage.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf705230b32b0ef209a9a8f4cdfa0e9878c9289c4266dbab4fc3a1f1da373f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/statistics/StatisticsItem.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06cd1f20714a9618369a9bfd1c70dbf7f2194185f2b83c6d99f9306bea96b68"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/interceptor/AuthenticationInterceptor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e791eb6915e8ff6e1d0c6e76b5177855d325cef74658f525998e7af6f7bfbd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"acl/src/main/java/org/apache/rocketmq/acl/common/SessionCredentials.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be21e4f483457f771bdccfb7fa3f5c2e43f9119b37da4e8cede097fefdbfce4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BrokerIdentity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bd7388f4b023a7849c00359aeab66d25f99811110560a0edb360c6aa85b879"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"store/src/main/java/org/apache/rocketmq/store/queue/QueueOffsetOperator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3eddeb59620a7ad2cf45e42d0e5544f2ab5d9bebdad3804a95a7e63f631219"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/CompositeAccess.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9aae29c0f939440941f6b652aae1f2199a80816c5966117b8e6a428578a057"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/subscription/RocksDBSubscriptionGroupManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1649ae4f01e0e7a00c3532baa5eaa5324e4d6ce69fa944a05cf0d272191e3e10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"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":"store/src/main/java/org/apache/rocketmq/store/queue/AbstractConsumeQueueStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0255996510ae74aa559886d449a0bfb3704265200befcd882e01a8c1a59d42b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"tools/src/main/java/org/apache/rocketmq/tools/command/acl/UpdateGlobalWhiteAddrSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0cb804ab06eafc07f612eb7a3865df537f34dd3e04681075234b8dddfd5aad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/common/TieredStoreExecutor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daa2b345792f0e3e1a016ff501120785d5af6ecd03d5ea563f1d57778e99d23"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/CompositeQueueFlatFile.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"718334179d412072ef31f9017cf5e5fb87d7406eecfe604a49645a7b418d626d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"acl/src/main/java/org/apache/rocketmq/acl/common/Permission.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18aada9f92f40f3e7f5f0429b54957e3dd05805a9e2168d9e65c5bd7fe59cf34"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/RequestFutureHolder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"989a728b71132a02302d7a25f83d2f4cf1196f85b3a152852b97fa7febb73c25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"common/src/main/java/org/apache/rocketmq/common/ServiceThread.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2411da6de9786c6d8370316e64dac52eb8b9c78006121ca9b76d0612ec5ee34"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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/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":"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":"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":"proxy/src/main/java/org/apache/rocketmq/proxy/processor/ClientProcessor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9562e10d3db59bb534130b4ebaf35d0cf97092f6c2a952d67ac9fcc7ecce2a21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"store/src/main/java/org/apache/rocketmq/store/ha/HAService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6d60f56a94c807ce71c8396b0e2aa1dea6849e25ea2391a467fbc029bff442"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/metrics/RemotingMetricsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2cf45c9c6ba6cd7eeca71708d14d093883cf6b2dd3440022df69e88be75718"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metadata/TieredMetadataStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82852abb57ab5db7182ecdb209ed07351eb079952c00a5b121b424ee1ef35128"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"acl/src/main/java/org/apache/rocketmq/acl/common/AuthorizationHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6b39c5e9a4fd5b521a9a46660d96eeaeee118210a0def2dba017cfc9d92025"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"container/src/main/java/org/apache/rocketmq/container/IBrokerContainer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fe241609286e37ef121dd872ba0e0cc276702fe99c1842cbbbcdac671c2732"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/FileSegmentAllocator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4799e0a3b132376b7a7a9bfbe8d0afa7a49f848f0afa258ad7009b2f948d94"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"acl/src/main/java/org/apache/rocketmq/acl/common/AclSigner.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fb86099a3429914f71edc9cf7cc28239e4d28db2d68eb42aecc6071f32750c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/acl/DeleteAccessConfigSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacf689dd2eedb397aa3c32a0c05ada960931a36b557864e978452179e461b99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/metadata/TieredMetadataSerializeWrapper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fa20827a9abc333289dfd4051a2d11dde99933de1391ace6060db94f0d2f05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/MessageUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e660e6ee40a5cca6c9e0adaac5cee2a8705d9e935cf1762926cc20be82f91660"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/RocksDBConsumerOffsetManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e25b2504f5a1f079a1a304b6b72e21827920c944d59cafb99cd58ba62eedc25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"container/src/main/java/org/apache/rocketmq/container/ContainerClientHouseKeepingService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2174f0d71f061f25a9b5c75dfe014b88e6f9f80d603a7df97fd539726b2c445"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"container/src/main/java/org/apache/rocketmq/container/BrokerContainerConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d882a296d835e515a172d6b069ec671f82df092a053b1ffd893abd7a19b0e1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"store/src/main/java/org/apache/rocketmq/store/stats/LmqBrokerStatsManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57b2f177bebaf35a215e3b69d7a69363931a85ac142cf8581dd01e95fef6f12"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/PlainAccessConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f092fa2481154b212404086d42ddbcd9964977c7f6c6a6a8ebb29a402ae85d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/metadata/FileSegmentMetadata.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24235377508fca0c31509ca1d625973cb22d6a2ff42ef975206af7de863638e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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/netty/RemotingCodeDistributionHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b697c52c9c7504d24aef2c67fa91158c25e0057cbe4b0221d7c798601b7b7f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/body/BatchAck.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3468cf3a7eec1ab160f92da4705bc4826e8d3285a32d6d39ac26108470b761"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"proxy/src/main/java/org/apache/rocketmq/proxy/common/ProxyContext.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef6bddfa61ba547cd84476a46298e4126fa35edfedd05c11077c520686c8597"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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/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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/TieredConsumeQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b784c1daeed473ce85a03e380a1674496b9fede2466c44a7e39f1605204cdf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/RocksDBConfigManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"006c0af5595fc7f1c3430297dbb1234128da2b4570366a46c939d72aea5d5d9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"store/src/main/java/org/apache/rocketmq/store/ha/WaitNotifyObject.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56daa72c8dd4b2e98208c63ac80e1149a81bd886156d8d902a42f356078d0782"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d739b1278e3c80adb0d7d82d42d9fc2de3d4fcbffcdc0fed3744006865b1575"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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/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":"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/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":"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/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":"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":"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":"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":"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":"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":"common/src/main/java/org/apache/rocketmq/common/compression/ZlibCompressor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9f5e0adf67eb6d2fd6098b20011e52614e19b15d5fd4bfc9e7f894c38cd541"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/RequestResponseFuture.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29140b812ae37b23921bb9cef451243fbe72d5d662a052a34d9953e25ef7258b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"common/src/main/java/org/apache/rocketmq/common/message/MessageExtBrokerInner.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56f8a06199ed80559c07a138be4b1723bc94da136d7ba71ef8cff2aae04be81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"broker/src/main/java/org/apache/rocketmq/broker/topic/RocksDBTopicConfigManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4da50479c53c6b7e6cbc783584ec48df573fba2ab405bbb8fd2e0a288b45b19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"broker/src/main/java/org/apache/rocketmq/broker/offset/RocksDBLmqConsumerOffsetManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bbe0289558583eb61b9453cc597f3e0a9f416f8fa5b578d8f08313167db94c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessData.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a107496a0825c49954866c46080f3cb04d47a419f9f79aa6b7ddd0994cd4811"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/HeaderInterceptor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5937c8b66ea8889a20a706f7b0db1db86682af2de552d3d6ec5ce39b542426ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/UpdateControllerConfigSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7845dd5f43038f05d3b3f656fd869825f136b357c11c0dd0de2b9b57a577ca1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/MessageQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"292d9c6ff7e9a760580b2064f8062270bb754be56bf056f1c541f97d1f6955ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"proxy/src/main/java/org/apache/rocketmq/proxy/config/Configuration.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae38a879a393ba3715e80d58e62eb74aaa9677b928a7ae848733934652d4e4db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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/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":"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":"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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/CreateAccessConfigRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f130a8f6a43554641599d92c9eed225727a6818cf71506ab0137e2c08244a84b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"common/src/main/java/org/apache/rocketmq/common/help/FAQUrl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcacc9f972b591faa3125e0fc05f48037aac2d36c96a13906231d0f5a1d5d9b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/GrpcMessingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b14c7093950933058a90e64e57d059d526127b589bfef23890a08e5ddfef3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"tools/src/main/java/org/apache/rocketmq/tools/monitor/DefaultMonitorListener.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1e2b2a627601444039ce25ada78043151a2fd93eb29440b59e3a84f3687b1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/index/IndexItem.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1681dde7bfb5aeab02ee6f8fd08fb0f589c383b9a8c71f9f1f7e8548b10ec1e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"store/src/main/java/org/apache/rocketmq/store/MultiDispatch.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab3eef657a9d6b462ea4a9c38ca3776b79bdb63601609cab5881d00a5303b8f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/GetControllerConfigSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66efda6ac3213865cffce84a4c5f254efefb326c12f384f3e9d572af9f6721f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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/container/RemoveBrokerSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04f86df85053b4f271f0df7cfa9e7a8b666db415fb6d10c9dab0f31a8fd4d55"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"broker/src/main/java/org/apache/rocketmq/broker/metrics/BrokerMetricsConstant.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d11e2fe4f52511f577e2824e6429c08e6c26a8b4b4bf63e81ad6088690077c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/BatchUnregistrationService.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4128354169ae47f94940a12e0fe26dbf691e172199350da1dbc2e352b50f8b10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/header/namesrv/BrokerHeartbeatRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"092c58807f7556c275be95ec3588bea6647fc4504ae1b2b078ea079849ecd7ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"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":"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/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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/MessageStoreFetcher.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aeb8973e74d221667fe5c8de37e3e9704d68e738107c49a827a7476f86d1a47"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionChecker.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"671f59e85c777dc1772922f0a32d49558c3600ed1b8fe25a2d9cb91bafea69f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/InterceptorConstants.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecdc70bacab63d50e9ea5abd1c019f3bf109764400be8dc0a3167b4e3edd55a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/channel/InvocationChannel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97b0834de87bc1eaa3b37982766c107d09b174119f0e9bbedf0a63eafa9e16f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessValidator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d6255412b618c20123b3979be665b49e7286c96fd3d9e151f474f42556a877"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/NotificationRequestHeader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3689932914c08c70c715d919d76a78a1256a0ea072c7b4416d4d2aef5aec0e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/statistics/StatisticsItemScheduledPrinter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"002fd2cfc2fdedd0deee326e3f4a4723940fadaaf60e5e6b1e5f819f684ea139"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/BrokerMemberGroup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a600ffa1b10f3299572a801bacdd2c0c0868bcba58e9e9dc8e450f7863f4df1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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/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":"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":"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":"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/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":"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":"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":"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":"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":"acl/src/main/java/org/apache/rocketmq/acl/AccessValidator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8da603815224442654f755c247fb8e0e6915eee6bc7fed06fedc16b09dc22a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/common/GetMessageResultExt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0125f983fcbc735ddf3a54532dd1e83d2e5ab53c8c7a98bddb7572f8543f3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"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":"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":"common/src/main/java/org/apache/rocketmq/common/message/MessageBatch.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"896298c049c55549e6da9b8823eb105fb7d6844b311f9ad744d3c120f6ce0b15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/common/InFlightRequestFuture.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9067dc0b3857de6742dba6c8d21a3e7cce2a041900c57b634957fe295a4975"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/interceptor/RequestMapping.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc42804f21e25f97fbce8ddae1c9fdaf843d46de808cbcf1083b805f4c869f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"common/src/main/java/org/apache/rocketmq/common/message/MessageVersion.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec46ea033e67b1312707ae287c639bd34d9e5c40fff5597048886a4aa8fe912e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"proxy/src/main/java/org/apache/rocketmq/proxy/grpc/v2/AbstractMessingActivity.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6324c07758e21d146c15ff5669c6da0fec8f49a877d602f7c45061106edb02"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tools/src/main/java/org/apache/rocketmq/tools/command/broker/ResetMasterFlushOffsetSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eba653706b22fe996d5692cd733d5f2c021144abc67595b8ec9ffac580afe11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"tools/src/main/java/org/apache/rocketmq/tools/command/container/AddBrokerSubCommand.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a18edafbe222dce3f436a2e1b892f5dc3dadc3d64d2b31352cc892b096d9880"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"common/src/main/java/org/apache/rocketmq/common/AbortProcessException.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcc8da4c2251c111fc8bab99fd949774b665ec966e5161503081c0f2bc285cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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/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":"acl/src/main/java/org/apache/rocketmq/acl/common/AclClientRPCHook.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"602272b0f3cc2e594b64b6534a17d88e7acae315ee4a5489803d8f3528a66e87"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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/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/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":"common/src/main/java/org/apache/rocketmq/common/statistics/StatisticsBriefInterceptor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a26d2abcce4b4d81678e48259d7e15a5ae3fc6bb3dec74bcef65ee3f58a59ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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/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":"common/src/main/java/org/apache/rocketmq/common/utils/FastJsonSerializer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f3c26b0ec7032d7de5158924c0e7e7465a5f3ab0d45b0ff85ac72c1f7d02df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"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":"store/src/main/java/org/apache/rocketmq/store/ha/FlowMonitor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ae4fd60c4537a9ca0e883be8ea25a20e4c2858d4aff543a7db1c7da8dbdb1c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/GroupForbidden.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac657a488b599e071e965430c75cf96a722c5f6fdc40954b576208adfe0140d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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":"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":"remoting/src/main/java/org/apache/rocketmq/remoting/protocol/RemotingSerializable.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aaec6d77c5066255fe8669842969b3f6fb721bae99a4147e381c5035638a0b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"broker/src/main/java/org/apache/rocketmq/broker/plugin/PullMessageResultHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2629e16c845ccd073367a24ea0e9fdb048f356d3e326e7c122ba2105fe14d601"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"proxy/src/main/java/org/apache/rocketmq/proxy/service/route/AddressableMessageQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30806ea2e20b9419ea06f44e54a54769fa22c35d8cf4ba5391cca29968f4f4e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/provider/TieredStoreProvider.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ecccd1cb2398d8bafa3e106795fd8be49687a4a9569b63639882fa5c40013a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/fastjson/GenericMapSuperclassDeserializer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4380d91b4918cfd60e494f53d29a23f07698101c88cbc52a68ab06c29ec7630b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/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":"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/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":"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":"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":"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":"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":"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":"controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/BrokerIdentityInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ca2273525234cc61776f6dbc188dd673e2017d5869a8fe4b6c416de073bae0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"remoting/src/main/java/org/apache/rocketmq/remoting/rpc/RpcClientUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c3267db7bf955265f5b6230ad6452ea0991682fc637468e972c302b94fa874"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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":"common/src/main/java/org/apache/rocketmq/common/filter/impl/Operator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb4a1a26d65a03b5069b03c87edbab02875e26a41d7be48de038de86db38700"}},{"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 73% of the time (11 of the 15 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 11 shared commits counted here, the most recent 3 are \u0060b410557e\u0060 [ISSUE #6609] Fix the issue that consume queue building exceeds confi\u2026; \u0060246be9eb\u0060 ROCKETMQ-6: Use logger for exceptions instead of e.printStackTrace().; \u0060410b01e8\u0060 Issue #113 rename Maped to Mapped entirely (at that commit the files were still \u0060rocketmq-store/src/main/java/com/alibaba/rocketmq/store/CommitLog.java\u0060 and \u0060rocketmq-store/src/main/java/com/alibaba/rocketmq/store/StoreCheckpoint.java\u0060) \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 hub: ReplicasInfoManager.java \u2192 Controller.java, ControllerManager.java, DefaultBrokerHeartbeatManager.java, ControllerRequestProcessor.java: \u0060controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java\u0060 changes together with 4 other files \u2014 \u0060controller/src/main/java/org/apache/rocketmq/controller/Controller.java\u0060, \u0060controller/src/main/java/org/apache/rocketmq/controller/ControllerManager.java\u0060, \u0060controller/src/main/java/org/apache/rocketmq/controller/impl/heartbeat/DefaultBrokerHeartbeatManager.java\u0060, \u0060controller/src/main/java/org/apache/rocketmq/controller/processor/ControllerRequestProcessor.java\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ba1124c3c63824d08259ab2d7a91692f369176a2d69dea0e67c24a20f64d0c"}},{"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 69% of the time (20 of the 29 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 20 shared commits counted here, the most recent 3 are \u006050d10504\u0060 To config the cardinalityLimit for openTelemetry metrics exporting an\u2026; \u0060e3b81788\u0060 [ISSUE #6570] Fix the issue that expectLogicOffset is greater than cu\u2026; \u00603fe81bfb\u0060 [ISSUE #6545] Remove getTopicConfigs method in interface MessageStore\u2026 \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: Controller.java \u2194 ControllerRequestProcessor.java: \u0060controller/src/main/java/org/apache/rocketmq/controller/Controller.java\u0060 and \u0060controller/src/main/java/org/apache/rocketmq/controller/processor/ControllerRequestProcessor.java\u0060 change together 55% of the time (6 of the 11 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 6 shared commits counted here, the most recent 3 are \u0060c494a43c\u0060 refactor(controller): optimize some code suggested by reviewer; \u0060a961d1b4\u0060 [ISSUE #4817] Add a command to clear broker data from controller for \u2026; \u00600b6563b5\u0060 Add getControllerConfig and updateControllerConfig command for admin \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/src/main/java/org/apache/rocketmq/controller/Controller.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b67d86b6c02b9976b2eb697eb0f7d31149ad3280223f913c9d73349e11eeb6c"}},{"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 55% of the time (6 of the 11 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 6 shared commits counted here, the most recent 3 are \u00601fe5d623\u0060 [ISSUE #7074] Allow a BoundaryType to be specified when retrieving of\u2026; \u0060e3b81788\u0060 [ISSUE #6570] Fix the issue that expectLogicOffset is greater than cu\u2026; \u0060d3de48c8\u0060 [ISSUE #5605]Introduce tag estimation for lag calculation (#5606) \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: DefaultMessageStore.java \u2194 BatchConsumeQueue.java: \u0060store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java\u0060 and \u0060store/src/main/java/org/apache/rocketmq/store/queue/BatchConsumeQueue.java\u0060 change together 55% of the time (6 of the 11 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 6 shared commits counted here, the most recent 3 are \u00601fe5d623\u0060 [ISSUE #7074] Allow a BoundaryType to be specified when retrieving of\u2026; \u0060e3b81788\u0060 [ISSUE #6570] Fix the issue that expectLogicOffset is greater than cu\u2026; \u0060d3de48c8\u0060 [ISSUE #5605]Introduce tag estimation for lag calculation (#5606) \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":"747f19b09adda7567832c9db4fa55967d36d81cae25ae58272921b09e2edd4ad"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: KVConfigManager.java \u2194 DefaultRequestProcessor.java: \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/kvconfig/KVConfigManager.java\u0060 and \u0060namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java\u0060 change together 54% of the time (14 of the 26 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 14 shared commits counted here, the most recent 3 are \u0060aa330615\u0060 [ISSUE #4634] fix code style in namesrv module (#5159); \u006080aad4af\u0060 \u5220\u9664\u4E8C\u5957\u73AF\u5883\u7684project\u4FE1\u606F (at that commit the files were still \u0060rocketmq-namesrv/src/main/java/com/alibaba/rocketmq/namesrv/kvconfig/KVConfigManager.java\u0060 and \u0060rocketmq-namesrv/src/main/java/com/alibaba/rocketmq/namesrv/processor/DefaultRequestProcessor.java\u0060); \u00603cd4c304\u0060 #265 Name Server\u589E\u52A0\u83B7\u53D6Namspace\u4E0B\u6240\u6709\u914D\u7F6E\u7684\u529F\u80FD (at that commit the files were still \u0060rocketmq-namesrv/src/main/java/com/alibaba/rocketmq/namesrv/kvconfig/KVConfigManager.java\u0060 and \u0060rocketmq-namesrv/src/main/java/com/alibaba/rocketmq/namesrv/processor/DefaultRequestProcessor.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"namesrv/src/main/java/org/apache/rocketmq/namesrv/kvconfig/KVConfigManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b03137d0b72cc334b9b38349bd9f9184ab9054d0050458f37634be54ed4833"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RemotingClient.java \u2194 NettyRemotingAbstract.java: \u0060remoting/src/main/java/org/apache/rocketmq/remoting/RemotingClient.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java\u0060 change together 54% of the time (7 of the 13 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 \u006084156084\u0060 [ISSUE #7321] Refector NettyRemotingAbstract with unify future implem\u2026; \u0060bc0c04bf\u0060 [ROCKETMQ-355][POLISH]Async send method polish - fix the timeout sema\u2026; \u006051e1d3f4\u0060 \u4F18\u5316\u4EE5\u4E0B\u51E0\u70B9 1\u3001\u957F\u8F6E\u8BE2\u5173\u95ED\u65F6\uFF0C\u6302\u8D77\u65F6\u95F4\u6539\u4E3A1s 2\u3001oneway\u5F62\u5F0F\u6D41\u63A7\u4F1A\u6253\u5370\u5927\u91CF\u65E5\u5FD7\uFF0C\u5BF9\u65E5\u5FD7\u8FDB\u884C\u4F18\u5316\uFF0C\u6539\u4E3A10s\u6253\u5370\u4E00\u6B21\u3002 3\u3001\u901A\u4FE1\u5C42\u2026 (at that commit the files were still \u0060rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/RemotingClient.java\u0060 and \u0060rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/netty/NettyRemotingAbstract.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/RemotingClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd349b669ad724266326b5dfeb2cf578707a414556cb3cf7a5412cd2c0b48344"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ConsumerOffsetManager.java \u2194 AdminBrokerProcessor.java: \u0060broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java\u0060 and \u0060broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java\u0060 change together 53% of the time (25 of the 47 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 25 shared commits counted here, the most recent 3 are \u0060a7c1d494\u0060 [ISSUE #5356] [RIP 48] Introduces the concept of ready and inflight m\u2026; \u0060d663bcf6\u0060 [ISSUE #5292] [RIP-48] Support reset offset in server-side to improve\u2026; \u006046459426\u0060 [ISSUE #2748] Fix deleteSubscriptionGroup not remove consumer offset \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8336b2428be3eb511a4870a7d7c14dcd4c1fef092142a71a4ad26b0c6137c25d"}},{"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 (22 of the 43 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 22 shared commits counted here, the most recent 3 are \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); \u0060f2752092\u0060 \u683C\u5F0F\u5316\u4EE3\u7801 (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: NettyDecoder.java \u2194 NettyEncoder.java: \u0060remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyDecoder.java\u0060 and \u0060remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyEncoder.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 \u00603cbb3b8e\u0060 [ISSUE 3585] [Part B] Improve encode/decode performance (#3588); \u006039657024\u0060 fixed #102 \u8FDE\u63A5\u7BA1\u7406\u4F18\u5316\uFF0C\u589E\u52A0\u6CE8\u91CA\uFF0Cencode\u3001decode\u8FC7\u7A0B\u4E2D\u53EF\u4EE5\u76F4\u63A5\u5173\u95ED\u8FDE\u63A5 @qianjinkr // \u8FD9\u91CC\u5173\u95ED\u540E\uFF0C \u2026 (at that commit the files were still \u0060rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/netty/NettyDecoder.java\u0060 and \u0060rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/netty/NettyEncoder.java\u0060); \u006006ec5b88\u0060 fixed #102 \u8FDE\u63A5\u7BA1\u7406\u4F18\u5316\uFF0C\u589E\u52A0\u6CE8\u91CA\uFF0Cencode\u3001decode\u8FC7\u7A0B\u4E2D\u53EF\u4EE5\u76F4\u63A5\u5173\u95ED\u8FDE\u63A5 @qianjinkr // \u8FD9\u91CC\u5173\u95ED\u540E\uFF0C \u2026 (at that commit the files were still \u0060rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/netty/NettyDecoder.java\u0060 and \u0060rocketmq-remoting/src/main/java/com/alibaba/rocketmq/remoting/netty/NettyEncoder.java\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyDecoder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2483cbea8f1c153614854742209e35808be1cfd957b44bd41b2d8d99e1401426"}},{"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":"44d7cd97ee0bab1c452375a9ef3c17970fecc3d1ad6432e7c5826ea7d8dc9ed6"}},{"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":"98741da794df5cfe2ab94f4d61bf3a27d9d5584449ec4952e09b2bdda2ab144e"},"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":"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":"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":"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":"a89ff5c054300e7f678a76d7e82896aac3c57f73d8e7c1729e85386b4bf4898f"},"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: MQAdminExt (104 abstract methods): \u0060MQAdminExt\u0060 declares 104 abstract methods: \u0060addBrokerToContainer\u0060, \u0060addWritePermOfBroker\u0060, \u0060cleanControllerBrokerData\u0060, \u0060cleanExpiredConsumerQueue\u0060, \u0060cleanExpiredConsumerQueueByAddr\u0060, \u0060cleanUnusedTopic\u0060, \u0060cleanUnusedTopicByAddr\u0060, \u0060cloneGroupOffset\u0060, \u0060consumeMessageDirectly\u0060, \u0060consumeMessageDirectly\u0060, \u0060createAndUpdateKvConfig\u0060, \u0060createAndUpdatePlainAccessConfig\u0060, \u0060createAndUpdateSubscriptionGroupConfig\u0060, \u0060createAndUpdateTopicConfig\u0060, \u0060createOrUpdateOrderConf\u0060, \u0060createStaticTopic\u0060, \u0060deleteExpiredCommitLog\u0060, \u0060deleteExpiredCommitLogByAddr\u0060, \u0060deleteKvConfig\u0060, \u0060deletePlainAccessConfig\u0060, \u0060deleteSubscriptionGroup\u0060, \u0060deleteSubscriptionGroup\u0060, \u0060deleteTopic\u0060, \u0060deleteTopicInBroker\u0060, \u0060deleteTopicInBrokerConcurrent\u0060, \u0060deleteTopicInNameServer\u0060, \u0060deleteTopicInNameServer\u0060, \u0060electMaster\u0060, \u0060examineBrokerClusterAclVersionInfo\u0060, \u0060examineBrokerClusterInfo\u0060, \u0060examineConsumeStats\u0060, \u0060examineConsumeStats\u0060, \u0060examineConsumeStats\u0060, \u0060examineConsumeStatsConcurrent\u0060, \u0060examineConsumerConnectionInfo\u0060, \u0060examineConsumerConnectionInfo\u0060, \u0060examineProducerConnectionInfo\u0060, \u0060examineSubscriptionGroupConfig\u0060, \u0060examineTopicConfig\u0060, \u0060examineTopicRouteInfo\u0060, and 64 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 104 declarations carry 94 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 94 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":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"391323d385408a96419de42a1351c61ba5898208f8a0863430dff111b4206d43"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: TieredMetadataStore (18 abstract methods): \u0060TieredMetadataStore\u0060 declares 18 abstract methods: \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, \u0060setTopicSequenceNumber\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. Those 18 declarations carry 16 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 16 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/metadata/TieredMetadataStore.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd5e47d20b4583af1341de99895ff663a30e928b1a1b77ef9a183dfcd060210"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MappedFile (48 abstract methods): \u0060MappedFile\u0060 declares 48 abstract methods: \u0060appendMessage\u0060, \u0060appendMessage\u0060, \u0060appendMessage\u0060, \u0060appendMessage\u0060, \u0060appendMessage\u0060, \u0060appendMessages\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, \u0060selectMappedBuffer\u0060, \u0060selectMappedBuffer\u0060, and 8 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 48 declarations carry 43 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 43 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":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b287226af693a28b6659482e827b4c13259bea6cd30898e63131e29b361984"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ConsumeQueueInterface (25 abstract methods): \u0060ConsumeQueueInterface\u0060 declares 25 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, \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 25 declarations carry 23 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 23 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 (39 abstract methods): \u0060ConsumeQueueStoreInterface\u0060 declares 39 abstract methods: \u0060assignQueueOffset\u0060, \u0060checkSelf\u0060, \u0060cleanExpired\u0060, \u0060deleteExpiredFile\u0060, \u0060destroy\u0060, \u0060destroy\u0060, \u0060findConsumeQueueMap\u0060, \u0060findOrCreateConsumeQueue\u0060, \u0060flush\u0060, \u0060get\u0060, \u0060getConsumeQueueTable\u0060, \u0060getLmqQueueOffset\u0060, \u0060getMaxOffset\u0060, \u0060getMaxOffsetInQueue\u0060, \u0060getMaxPhyOffsetInConsumeQueue\u0060, \u0060getMaxPhyOffsetInConsumeQueue\u0060, \u0060getMinOffsetInQueue\u0060, \u0060getOffsetInQueueByTime\u0060, \u0060getStoreTime\u0060, \u0060getTopicQueueTable\u0060, \u0060getTotalSize\u0060, \u0060increaseLmqOffset\u0060, \u0060increaseQueueOffset\u0060, \u0060isFirstFileAvailable\u0060, \u0060isFirstFileExist\u0060, \u0060load\u0060, \u0060loadAfterDestroy\u0060, \u0060putMessagePositionInfoWrapper\u0060, \u0060putMessagePositionInfoWrapper\u0060, \u0060rangeQuery\u0060, \u0060recover\u0060, \u0060recoverConcurrently\u0060, \u0060recoverOffsetTable\u0060, \u0060removeTopicQueueTable\u0060, \u0060rollNextFile\u0060, \u0060setTopicQueueTable\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. Those 39 declarations carry 36 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 36 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/ConsumeQueueStoreInterface.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31a902d4096df592538d1ff453cbebaf614875a4d526bc1df8d3116274a3915"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessageStore (115 abstract methods): \u0060MessageStore\u0060 declares 115 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, \u0060estimateMessageCount\u0060, \u0060executeDeleteFilesManually\u0060, \u0060findConsumeQueue\u0060, \u0060finishCommitLogDispatch\u0060, \u0060flush\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, \u0060getMasterStoreInProcess\u0060, and 75 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 115 declarations carry 108 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 108 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":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6049f291d6218d1ca3f79fb103cc136e0f18f906575f7f6115676f71f506147"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessagingProcessor (33 abstract methods): \u0060MessagingProcessor\u0060 declares 33 abstract methods: \u0060ackMessage\u0060, \u0060addReceiptHandle\u0060, \u0060addTransactionSubscription\u0060, \u0060batchAckMessage\u0060, \u0060changeInvisibleTime\u0060, \u0060doChannelCloseEvent\u0060, \u0060endTransaction\u0060, \u0060findConsumerChannel\u0060, \u0060findProducerChannel\u0060, \u0060forwardMessageToDeadLetterQueue\u0060, \u0060getConsumerGroupInfo\u0060, \u0060getMaxOffset\u0060, \u0060getMetadataService\u0060, \u0060getMinOffset\u0060, \u0060getProxyRelayService\u0060, \u0060getSubscriptionGroupConfig\u0060, \u0060getTopicRouteDataForProxy\u0060, \u0060lockBatchMQ\u0060, \u0060popMessage\u0060, \u0060pullMessage\u0060, \u0060queryConsumerOffset\u0060, \u0060registerConsumer\u0060, \u0060registerConsumerListener\u0060, \u0060registerProducer\u0060, \u0060registerProducerListener\u0060, \u0060removeReceiptHandle\u0060, \u0060request\u0060, \u0060requestOneway\u0060, \u0060sendMessage\u0060, \u0060unRegisterConsumer\u0060, \u0060unRegisterProducer\u0060, \u0060unlockBatchMQ\u0060, \u0060updateConsumerOffset\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/processor/MessagingProcessor.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dff82fca4bf08404f180d2d32cbcfcecee4563ce5017dda2c3ef6d41bb45478"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessageService (16 abstract methods): \u0060MessageService\u0060 declares 16 abstract methods: \u0060ackMessage\u0060, \u0060batchAckMessage\u0060, \u0060changeInvisibleTime\u0060, \u0060endTransactionOneway\u0060, \u0060getMaxOffset\u0060, \u0060getMinOffset\u0060, \u0060lockBatchMQ\u0060, \u0060popMessage\u0060, \u0060pullMessage\u0060, \u0060queryConsumerOffset\u0060, \u0060request\u0060, \u0060requestOneway\u0060, \u0060sendMessage\u0060, \u0060sendMessageBack\u0060, \u0060unlockBatchMQ\u0060, \u0060updateConsumerOffset\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":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d3896c7e8aa888b7dabd4607adf1efb6c912dae69a3fa1bb397a4a68a18e08"}},{"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: LitePullConsumer (30 abstract methods): \u0060LitePullConsumer\u0060 declares 30 abstract methods: \u0060assign\u0060, \u0060assignment\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 30 declarations carry 23 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 23 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":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca0522774fdc87d13f880c0a216e3525d98f81293c32055499d44edb782a46d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MQPullConsumer (18 abstract methods): \u0060MQPullConsumer\u0060 declares 18 abstract methods under just 9 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, \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 18 separate responsibilities: a caller binds to 9 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 18 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 (33 abstract methods): \u0060MQProducer\u0060 declares 33 abstract methods under just 7 distinct name(s): \u0060fetchPublishMessageQueues\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 33 separate responsibilities: a caller binds to 7 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 33 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":"dfacf359f1f6f36b3bfce3e8f05117349b84644fd1088ddde8073d2c9905ba9e"}},{"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":"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":"Empty method body \u2014 does nothing with its inputs: \u0060doConfigure\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":"container/src/main/java/org/apache/rocketmq/container/logback/BrokerLogbackConfigurator.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5673a9e21fbb3671986efd3417edbba5980d9d6144e1676f6641f0e931566715"}},{"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":"client/src/test/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImplTest.java"},"region":{"startLine":110}}}],"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/ha/autoswitch/AutoSwitchHATest.java"},"region":{"startLine":305}}}],"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":"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":35}}}],"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/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":55}}}],"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/schema/SchemaTest.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7217a26b38b734e7821e91aba3da1c3a9e143e8acdb3624ba3e33c0f7672b594"}},{"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":55}}}],"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":314}}}],"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":502}}}],"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":509}}}],"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":53}}}],"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":"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!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":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8243c001e734e4b94a369e0e93fc3f27a478dd72ac4ad999ed474d2cf8d7a02"}},{"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":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb99f64f432bcc9bbae12d3f921fb52a5d470df2e826068d4b942ef0eb35d5e7"}},{"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":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bf8b0cc962efe45220ae76a3aeeb1c70ffd33b1f84cdbe8311f994aeb2b460"}},{"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":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8601400f98662fd225b725bb36c206ad2b334464e1044fe0318eedae49449b9e"}},{"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":2899}}}],"partialFingerprints":{"codehealthFindingId/v1":"2423463e68c9d2e81af4bca8a0846283fb79bb9ba0b6040e67a0387fbd8fb14e"}},{"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":493}}}],"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":127}}}],"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":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6351ad8f789e8530ded28b45ab6a0aab1ba615996de36b3419ac5f0e4d6b757f"}},{"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":"fa0d1b95ade409e2efbb36a5cc1dc1210b86f8ed7929919c9170301df4c53391"}},{"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":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d2bd4ec8b0fb733de52563de6135c46b8f142ae3a9d635789cb90c45945a77"}},{"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":35}}}],"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":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c26c6e067cec7c042f1ec9df6dd81dd475c2335e90f72ca75758c41753533f1"}},{"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(\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":241}}}],"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":"0543af6b8d6345f219b2cab408084ce04c044cbf330b22057dd9c67dd30f6348"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config == null || MixAll.isLmq(config.getGroupName())\u0060 appears character-identically in 2 files \u2014 broker/src/main/java/org/apache/rocketmq/broker/subscription/LmqSubscriptionGroupManager.java, broker/src/main/java/org/apache/rocketmq/broker/subscription/RocksDBLmqSubscriptionGroupManager.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/LmqSubscriptionGroupManager.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faaf201ade705076d697592420794dd36ed21493fcec863c6ba3d4420ac3c93"}},{"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":336}}}],"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":282}}}],"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: \u0060corePoolSize \u003E 0 \u0026\u0026 corePoolSize \u003C= Short.MAX_VALUE \u0026\u0026 corePoolSize \u003C this.defaultMQPushConsumer.getConsumeThreadMax()\u0060 appears character-identically in 4 files \u2014 client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java, client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageOrderlyService.java, client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java, client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopOrderlyService.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/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a99ab826ec5ab0590584c7bcc0cf5fec4a764746eea62d88a8be5d517fb0055"}},{"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":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70bfc7975be2f78de9a56472401d4ef5403ec923d6563da1d7c2be6d5f27c8"}},{"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 237 (\u0060getInt\u0060), then used to size a \u0060new byte[]\u0060 at line 238 \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":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2318251ce11c88abe3e5f6aff3165589c5711aa3fca7a61d8b16a248bd75221f"}},{"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 157 (\u0060getInt\u0060), then used to size a \u0060ByteBuffer.allocate\u0060 at line 158 \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":158}}}],"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 718 (\u0060getInt\u0060), then used to size a \u0060new byte[]\u0060 at line 719 \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":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e2273cbd6de880dc62d1c38defdc09ab1cec5e1edb8c1fd111cced53aff64e"}},{"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/util/TieredStoreUtil.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5efab4c0a7a9e25fa22ff1230466921e9cc66e1f9eeb885272053ca4214b1c"}},{"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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/file/TieredFlatFile.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bdc4d1f30d908237ea48f34f58cf8788646aebc0501963ea964943eb320689"}},{"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":621}}}],"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/CommitLog.java"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"a753d0c4e4ab53ee1ff0d3844e94fc31b664e49315c2f48a4ec3dcea2af753bd"}},{"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":1818}}}],"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":682}}}],"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":631}}}],"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":326}}}],"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/AbstractConsumeQueueStore.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"067967b974ea5b8de0367b2ac9676f7dc2075bdc4969cd967ad32a1c05fa49dd"}},{"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/RocksDBConsumeQueueStore.java"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0a5d6fa82baa6d4805e45457adb17e2a12953056573377b0d7aa348405a13c"}},{"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":853}}}],"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/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":147}}}],"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":236}}}],"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":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"2134d930a3c1f8409875494e02b2e5b4b2e77c7b5659a8866726c8f431b8e944"}},{"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":120}}}],"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":131}}}],"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":93}}}],"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":107}}}],"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":52}}}],"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":355}}}],"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":388}}}],"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":191}}}],"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":324}}}],"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":181}}}],"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":241}}}],"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":386}}}],"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":427}}}],"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":69}}}],"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":90}}}],"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":226}}}],"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":284}}}],"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":436}}}],"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":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e259a61ee2f43f3b21fd3fc615cb0a4768ee1461c027e3e92fe74ae030e52e"}},{"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 (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":75}}}],"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":51}}}],"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":58}}}],"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":99}}}],"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":109}}}],"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":119}}}],"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":129}}}],"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":139}}}],"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":149}}}],"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":52}}}],"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":62}}}],"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":72}}}],"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":82}}}],"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":92}}}],"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":102}}}],"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":423}}}],"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":504}}}],"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/producer/DefaultMQProducer.java"},"region":{"startLine":1077}}}],"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":739}}}],"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":172}}}],"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":559}}}],"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/ProcessQueue.java"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ae140e23195552bf816fbfa030c32383ce2e1bdf925e0f807bbcd9eeb26e0e"}},{"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":581}}}],"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":590}}}],"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":411}}}],"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":527}}}],"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":302}}}],"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":83}}}],"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":224}}}],"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":344}}}],"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":551}}}],"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":580}}}],"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/PopReviveService.java"},"region":{"startLine":334}}}],"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":755}}}],"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/PopLongPollingService.java"},"region":{"startLine":143}}}],"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":97}}}],"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":149}}}],"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":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 339 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/index/IndexStoreService.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a2b329375b8b4001a8466de346f8ff7601109a1b5df3b4c4d83b3945b620a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 346 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/index/IndexStoreService.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4f28ca7710e8ea02647a7cdcca22f3b4f0fed9ce0862ed3473a70d6a208536"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 360 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/index/IndexStoreService.java"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"040f4bf1aad47488444ba480ad651cb3bb1d5423e4ab6d2d1625b4ae4b542a8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 95 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8117a226d7bc78b86bcddc0e97879515a3db8fbfff611605de83a722c8083285"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 106 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf547a04abee60a379873b4e31066d13cba39611de4e09818071156ba1002d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 116 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb52a97a0783f10af93ebf2386225db4af7986d4c523235c742c4235e15bfe0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df6ea28794e5b6d57593d7d440ee193b6723f9cef44c3f0f517fcba27694cbd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 147 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc09512055be5d3972e662b5694b6a52e204f08135a634c13de92f832c8f0a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 160 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c358102c69528620fce8541066194a16451a4b7ca4b0eca0561edbfb2de545"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\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.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":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84c02a15b112b29f51f7c41b803db46ec3c81cb5751af2f2f7f2c793ef928d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 189 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e62e2c0333a754af9fc418113610ae7edda4500c1de54dcc4d8b6bfbf9b2bd1"}},{"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/AllocateMappedFileService.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f627cdd683f1b50edc0e5c096733f696c359e917496f0d8f7b0cda7a92f233fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 211 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b5ad4bff39a835a6dfadecaa00d34fae84906bcdbb7eab1e50c451c314f68d"}},{"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/CommitLog.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"474f5f86856027fdebf8eb81bc0879b030e7d7f969a134ef928295719cda1cb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 354 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"375a5fc33d080e29966cd74cf1139714dc8affc48c5755dab83d808bf600b388"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 361 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b749d337c09ca81144605f929170b1bd30996030135a021abd54f45800ff623f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 369 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b52186adef533ec0ade2153a3a140cae2e42a4f7c517634f73c4331eb62b7d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 438 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e771b310d147657eb069337e2ecd27ede1b9db597a33c2df818b92905313aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 704 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"7458ace6c9084c3849c046ba25bcc84e3f7351814db2d72bcb61715c71203325"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 749 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52647463a83c057cd8aa5b530ae63838fbfd157dfdc3b2551b5c201ae70e0fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 756 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"53da23b1bbbcdf20e96bc74e1033a2dc180bf65c6dd3366a0d72f133030082d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 765 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9295b5163f53e4728397db6b38535a277ab20a0815d4c347f569c3fb53c9f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1006 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9bba0ff53f86e5709a97fa8bd81c742c88c3974b3bde0d5b7c48e95d206166"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1023 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9fc700572dbc57da00e361526930d967edadca2088a2b5d3b2bbdd25c0bc61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1373 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"56339f510a87ee1fb0577849dc0659b5c1bb0a13389b2c3d69bac7d523052266"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1443 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbc669ac637b472152d61e5bfa76fcab7e3f0324c5c79687c3a709f780b643a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1471 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"407fde286dec491993a35834f6fffbea2c862509da0851e0a076f621d4e03c5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1478 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c759b979581b3b6509ba8f24e046de7c01267df0e13e342b621d4e0fce1c534"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1480 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"061a3d4c8a65e17f0c565af0551fddead5428f1ea0bdb9b9f309533c28816f01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1490 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e508c209e984161274afa22649347e1020f72db4a3691315481eacdb3aaaaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1534 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc41860b429732c962ef717bf431731bc29f0dae2d5f961fb3f033fd08ef48a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1543 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cfa9e811a0e2739d062130f9c52210cbf5fca944ed0479b3098ecd203de659"}},{"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/CommitLog.java"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b03a9a03e03c2157597b6fd14565bc0fe5c6d306e67655a45a4b011649b83b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1675 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"376e777f28a8d8848ca3af9f0152d1efec3e1eb1d13a77d78c303eb7422af2fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1682 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f6fea6d1522fea350e065582993b62741a01a23e3233f25b977ef335d9acd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1697 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aedb2adabc10efc594af3daaa26111a0cab9888ecfbcb79264ae6fb71efcd0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1783 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3217f6204ac07e3c2af5e1282e12f39d5230c1710dcbe581b37792e03105e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1790 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"063f1a9c40f3811b37132b83edf19b50be6d923b2f7b31a4ad7ad48f9af03cfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1808 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac645823a61199abfe260b5a71cf1d1aef45e91f294a2839ba386d49eaf5e0e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1871 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"320bb764e42359ec7bc2346bbb20429276072fba3128effb4621a0f86acc5670"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2140 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1206c37fd8a7af96a9d2678e562259b91e665a54493122946da78f527bc9a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2286 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/CommitLog.java"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd65a446f1a41318d94eef4db185c75247393d554e5216887a6fde14e3722925"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1815d24e17040fd536ad24775f24aeaf0a5309c11fa92afbb253ffdfd36d3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74c2d4e29eb68628b164ddf166d144e87c936e7f136ae077cb712737f576fb9"}},{"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/ConsumeQueue.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea74656ccaa769477ff45e4fc48918a7da9cbf1c1033f82338e6970bfa0ae49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cb7c72f95c4b9e9c6e907e6368296c009956488ff6966f62cc8d2f046a7791"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 172 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c50eda0874dd68f89b09a625f01cadc37a092ad3a7ead0ac894518f9341f35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 710 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fb99a98a2dc47c385026780f101118a525658fd8ea4d996561ebce111dbec8"}},{"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/ConsumeQueue.java"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce0d770f06914bbb3ce2ca5044b6bafe0cdd6149bd6ff6d2eb77b01a637b36c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 811 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f9d14b5c19004c1f6e7ad370e93ecfdba6e245bc1e2b2b7df109b2c953eb62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 238 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f3eed71e587d958fad2df21ea07084ebb65dce77a41f0325809907eec11c65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 259 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c0fb2ab47cb74cac23f58f4175ef1624e7daf59ab66f7f9fc74c4e6b99fe59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 302 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15fa909ed9a9e36943d908bb6abea12a70c37562e1f02d8ed3aaea004405345"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 306 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac06a4c9298682605267cfef543bb3ca1ac677a55f2049a3611e051449838541"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 790 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85169db6cf320946e31f27bd3eec94849061a3ee0ee6700bd193511d99d0a76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 853 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24aead3c8860f2a3819cc092b6c7c859d88510f3859fb663cf3b7827d9c7156"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1772 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"00124af249b28686211be879a03568730e2df723b52e08203ff1ad2c56c6bd28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1783 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"62485d78550c3038268e5188c45754442f197f8cdde066446ba56cc175aee633"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2237 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee1a543030415f5e580bd8cac0aa326c5c698d7c26e0ba9429fb9a90bc1f7e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2305 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86bc5db134a1a0f99ce8c746465f42f42973e5fd0347fc213ee9e1ff90f5b05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2334 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78a43d63dfcbc801e5080a7faae6f3df428bfa58606411ffd4738f798ab562e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2346 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af3a7c20f7a82971cd7ba9ff28fd410c9c98d49c9853d73104335da2a61b746"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2357 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f61ae3a2ff388e135a95c9a6c924b915753127883fabd5da87d859de6fb1e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2368 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed9562700dd838f2c2029940b87f78f3341566b7db8ad109f01fbddb3e3f3dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2377 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2377}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c4decb1958a2ab251d4c9864bd57dd538f4ed08da1acc20cfd0ee1dcf7082b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2382 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c38836c0afad0207d54e390d970ba25a77d3c18b0b73a4a37c6b5a10c5c41dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2438 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f0cfd68d1eda934886b538034224d3bb06191c4e4b48f323747045d4ca79ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2443 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"262c8fed305f7dd7c7d4bd0d1a3eacefd690cacaef3181adc1fa54ebabb9f03c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e94c8cf68c5b0fb915e4494ce6cd80de40c369be31d676d3397a536f07244b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2466 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"7547ce0cc84bbd3348ea77010e992c3dcdfff41203e704396f6a77fa27b2ccb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2507 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2507}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce6007be84237b1c971b23df4c60d4dc442b6387f768529c9ae35b8aeccf5c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2666 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d74ce3104154f4ccfca28bbb6443ac5bf8802c9efb96d7ffd0f96f1e86439d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2674 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc80863de518dbed9df37019b17b40d3fb9732f71a3a8ee39f1032f1ba48b6a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2680 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2680}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb6a7e7a31aec07dfc78f54a30a31b4b8ec1ac571a2cab57d7aa55064d49f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2922 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2922}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6fc3b27a9f3e718734648429fa4bfd453705373f7f3873aa2ecd1b36935c1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2929 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2929}}}],"partialFingerprints":{"codehealthFindingId/v1":"3242d5a4126fee42ccb73218061e49401d95d0e6dee96726f4f4a2e43af95429"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2933 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2933}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c640dbd7cbcac26c205bdd0055deb4c7d813feabb54d7678e866aa22c432db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2988 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2988}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0518cad514a580e939b8ceca6296d7b0c390173ec1eb1681db3677b9aa79a02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2994 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2994}}}],"partialFingerprints":{"codehealthFindingId/v1":"c779be0c71bff19f99834853273afefb759b13f61681a9cf1bdf5c8ad9583f5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 3001 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b9bdc438132bbef957e9b310edceda253b27be1cacb1b7b79cfec31d26e29c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3005 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":3005}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4dbb76441701cc3194f06ab9337369011951d8e2c1f8d850f4e49d69ee4c40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3050 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":3050}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c4021ba2f49e455bda98e8d51bf7918bd3fa9c761cee1ba6b480cab82b1348"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 3057 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":3057}}}],"partialFingerprints":{"codehealthFindingId/v1":"235ad3154a38bca0b5b7cf3ebe7453beb01eff059c3c40d2ea7fb5d6b7fe45a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3061 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":3061}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac10404a2ef973a5178de732d8f444717a48d175f0bb05ca31b83b44b39c35b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 263 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ccf7a5370f68eee76b2b1250e69c5459bd9525c1a9b80ede7e3d73a66ac5d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c55682599b823c608ee6f1f59b05251112e9a288260495eaf4cfd31d33f10e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 277 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"69026cfb32cf9ddc4b3ca7935fce2bdbf5ccd5bccf737875820b9e2f76245d9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 468 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c59602356bfea2a5388f01a44d0087b7ec49eca3a5c24ee3b2c113258f32ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 545 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"7910e11539dd37f3f5b8835f48b809ad0baa8a992ca6536b06172ad35ec7732f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 594 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8cc59070ce8cd61cd1604216abf62f22aea6d4835bb3783c696f5423bfbfdf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 748 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"18afe12c023c1655ab25e746e6bbda921d70f6edd53926b5be12bee5ea86a049"}},{"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/MappedFileQueue.java"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd7fb1c4d8c4642f4992c48dcfd4598fec83848fb22bc47b5489fe0cb08d217"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 756 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":756}}}],"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: \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":"store/src/main/java/org/apache/rocketmq/store/RocksDBMessageStore.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c49f13d104bc65b12207d58d16cc55c1a99b51dd27ec2b3471f560da24ac527"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 128 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/RocksDBMessageStore.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f60d9fbb3742047dde6ad9359cc6b76996f90038b479a4476e71d9aee45b82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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/RocksDBMessageStore.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"615a2639eaa68daa33bcfeb4ce773605bcccffc95d1fbd6467cd9e0ae144f089"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0d1fe0d4d59f86f6795521d755f8b822e092270fe25e752a53809ceb3868fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 59 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd8026b8f521cd926cdc0ef61dadd10a21581f005f8e0e753fe15e5f4f39058"}},{"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/StoreCheckpoint.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8606ed20e33a709822725629aa34d17651f7bdab3affa44f60113af723a3ff"}},{"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":"92890d90969d5966fb0d84446dcbb7a69e7370a97898208273ab185e4356a9d2"}},{"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":"baffca27ae035068402b77ecd73ca8ff204747bafb6e5d3a890713d9b1904bbf"}},{"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":"store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ab788789d44d1f78de87a07ffe89706bf19118b9df8c47300024e425e5bace"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 68 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8824135b202cb91d6f2ac26b779798993774ceffd6f743df26309fc35a4a5f"}},{"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 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 1295 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16c49387971223d27b4af479b65938fca7d37a4ed98d2ee09ad567154d9a41e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1302 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d98c19748a4cc8151f05dbf3ae04ea9dbd0caaeab4bdf4f849ad7bfa8a9191"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1305 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a03a31f8361da564a9352ef5cd6ab824f639f6ac00a68996c801cb93249f02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1402 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c1ea2f94df81550a44a6fd8e7014734870f88ea56c7fc639f8b765dece9cf8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1410 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"911732c8d2adefe6226d0cb97e6836c0e3ba6822658936d83e6dbbab4a265c28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1423 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b93839606d88a3f0f5baf32f1ccdf3ef7f9561cd80c160a8aea81f320f253a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1435 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0bb901347f24114ed6b7b7fa98efaf29aee23f065c73a5c795eb19fe0bdde7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1438 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa30d962cfa0fa529156e4616c133004f8b67b638046a47c6fd766c67d2303bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1465 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f41f391807e59102b40d2e0a78b58feaa76a4a92322b2bd256a01947064175"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1518 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8aa6f6b7d50ec4a659991a419b5a91cf5c183f6784de6988f209de30c5b74e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1521 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e698becbc23a40bec206c7be0fa4cb32d88d3f394127402f035edfd577f614b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1536 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dfbdac64fdd709e7d862c9b7bec79073be5ac6d1f6c17e46ecf29a9e2079a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1597 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"399b24b0b3489fadb4c98e5872428bb5d972db5026af9022f133e45e4267447f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1600 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee92c9512d508f75d4523910799d82fd1f9b100ea0723944b246cd99da4056a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1618 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c9ee8b1dff03f9464a515b92520d86e25a9e65e65ce4d3b675694dbf289e39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1625 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"094814f001b1a92359733067744071173bae5377f6583b10bdadbc27e2a9e845"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1628 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4f4edc64f35ee04eb4d1e0e1d54c54a5d5640f6e2fac5fcc49f3d1b988d221"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1657 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b6e15ff1d7d45aa137e051606f368dd2f0813a4f9fc3025e4191f3eceb5227"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1680 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aad1833c29ab8d6215c02ab1e345ede6425c463e051e166f2772686c898e17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1683 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8950f7825adb5a6ef545b5446f663d4e2150a3d16682e726c672a555a649d621"}},{"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":"store/src/main/java/org/apache/rocketmq/store/timer/TimerWheel.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaff25a0b92ff8e456c575931ac252419e3129850ae30b1d58a08d0dbd21e25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8c114cef5e4cfc8b63f36c4bfd9989ae24fceb2d41207654a8cfb047b1dea5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 252 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"814c2606882753a34173b47f83d7d4c8cdbe9fbe25bdfc78ff51f00ad1205661"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 523 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"705565aa23e2f84ef14c42d871ce080b84f4bf5e461e964f461701eb334ab8b7"}},{"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 173 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b370fe4aeaafb4a651c916a7bbacb292ab46f287c75cc3368d7a178b458b253"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 176 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d65c5b6642e5230db52b8131aa6dcd364faa7e276672b1ea9125f18fe82fce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 220 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1b6ae4c496a86f7e3a714ebaadee2b54e298ae48a5e5c5526d6fdce3e6cdc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\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.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":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da63997a06ca2320a9b5d9ab8b8991f03309f4b8335b088adb0ddc1263ce94f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\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.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":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c618077a2ddeb36f17b9bd5bf2413a4284b1c7aa5ea3550847365d32469facb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 408 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"367f1d558b9d406388b99f98f300e980c32b3bba6eddbf837525d3ae086333d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 497 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"3009b3c61ffee37a855d0338c33cbcefc363fda8ae2337cf1f98fc8987792ed8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 501 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e473e4335f62267cb390ba6343d2dc06daf6611bc3c08476858aca4bcbcdc5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d567ae485eabeb767652d55abcce7e3fc930dc239cdca5bf16f812eacbad60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 535 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aadee60323ce894290289ad5858f4ddc5bc21fc90fb79367469981c46761289"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 545 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"695dc80f3c810dce98938d3487195ad895f2cb7f584eddbf18248f63a6f7ed18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 557 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c7ef8007ce7ad070c876ec8161a2282c385f3f095bca63e09ad06b4c69f2f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 561 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58859fbf2b8e4c57fd42681c720c69b981f9a85263cb45c76f9d68af29a48e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 567 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"f312b4e594146f4f19551baae1d0229442e6e1cc5746062d45c224bb941f4209"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 572 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5ec036deba5ce97a764a489acaee33cc489678af864f77abaf0158ff257f1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 649 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7135cd152f2deeb43f478d92e9223e35acfe0dbfaaa80b60efc86f816616eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 657 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf79a949a9ae9b1ca49b6fc1578870f8ce696b8c3c7e838dd75e22de097db7a"}},{"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/logfile/DefaultMappedFile.java"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f47e8fd0a50292845a1e3d660438e3302e2f44128a08389491a07d6eeb5a73d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 665 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9622cafc35594227e51dceeb702ee3206ab3ed7727ee61c8ca0534e1bf98e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf25cc59c87e39d1ed4f2b9d138add4ec41e8b80b5c9729b3ca549c238b36df8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 685 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"1586b67826278de1ea7e024d9bb9f7c33787ae081de20db827e328cfc9fa19c8"}},{"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/index/IndexFile.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e742fe0d07c4b2fe0eff74c603ad78906e2bb17c90dcdedb48689c978a9917ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 163 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bcb03b0bcdf6005cead18a13c57dac692e9cb5d80775bfbeea607d4a530e87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\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.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":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4638b8fc637cf6f59683a6f751782989491b0041ba18c3360e119a996a4e2ca0"}},{"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/index/IndexService.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"54242afb4e314ff3062a85e15f8f108cf65bcd728fdc447a275ece6fb1e85db8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 259 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1a91ce0c6e8d213ff2852eaac803c4878e6e5fa80b20fce1b3f7c50a17b9fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e37a86f768cd9b5ee64fb3f5481b51a386862fb9fd59c7e43679be4ac2bb95a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 388 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9dc807c3508561e2de79d0e079b91ca36d2e9e2b6cede94eb603bd1a6970b7"}},{"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 336 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"022a3735af4bc62fe1b8999bd2a7728d905cd716bf3f70f6cf91c3322e2ed27d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 349 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9a9d1980138ea852b19181834502540644ff6805e46240408e484a2a449d61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 361 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b8c9e42f5434a3d9b9a89ab0bf0672c4025915b79d5504380702b86d3d2ddc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feb74f0df4c020e2e5879f7fc81359eaea5e7c94a9ca1e048f7afa1ad4b881c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":372}}}],"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 551 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":551}}}],"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 627 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"b892c2902428423cd7bed2ca69074d18a45bf025e2f86be0e05dcd0f2b8fd571"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 704 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad1abef830e889ce6717eb7c65649a4eac45c35001b3fb4ea474fcfcc68b32e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 733 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83ba5092ce7ec7f387d7fa7dd0d4315f5b37d864d79b171e26dda948a00aa1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 824 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"88190dfa6d983f8da27c9da7b3d8dbe554eaf489da37ac3bbf5e2b040219b127"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 885 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1b8d5f727c43621ceff48b8f464a95acb0b4d2ba435b3bfc1b253fedc95101"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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/AclFileWatchService.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"14211bf23036274c075986a24d60669ef6ef5330f68ec6383af3931e0060a7d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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/AclFileWatchService.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69cc3806195aaf01f057625fac8332a037214e2b76a101135d52c7882922ea3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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/AclFileWatchService.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0d8b43ac33d52ec9069c9964699a050e79c42f03c2ecb93b0487e955bf0084"}},{"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":"srvutil/src/main/java/org/apache/rocketmq/srvutil/AclFileWatchService.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"db37ce90f690403940e964ef48b92dd3f402b69e433353e4b85af53b5e0791db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 136 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/AclFileWatchService.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0effba407b77dcc238c2141937ea10044634e617d7d63416ce0a08490d5f08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 60 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1499c9ea454647d4f2031e432d8d9939b7c340904b14ce6cb7f130e903dc7421"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\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.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":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7435c994467aeba6632da7732e57c1d8f9de2f8da00e8053e69a281c8b69ff"}},{"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":"srvutil/src/main/java/org/apache/rocketmq/srvutil/FileWatchService.java"},"region":{"startLine":76}}}],"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 266 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4097345bb805d05fe6bc8deb58be15275582ea4093a2badf49cef15eff1d9cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 296 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d325a1acb9540a6799a5628c728179ce8ee5afeb279ca77fab62131cbd11389"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 471 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1a748d74d1fc3109f43ea3c81a7ee9c865d2264cd8d9f9134db8ece515d593"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 563 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"150483a050fd87f81f5d14ce98e23dae3533c1dabd8747042b89635c62ffeb67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 644 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fae4dbff963cfa02839ee1a8743d105844d50985f8d54f3b22f8575aec798e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 649 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61acea16c38f75e7c357eea4a4220e4a9ba345121dbc96e9f09c0100f62a612"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b97cbaab1d94f60e6b73683985fde4299c49bfee0a8dde4b6751e8c5c7bee4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 713 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1937f1f7b2ce397de33e67a3c6ccbcb78dca884ca18fbad7fbecc6e6c5ba6f"}},{"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":"remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java"},"region":{"startLine":717}}}],"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 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.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":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02e54b559c26940c6488ba161cee856649463a5cea1e88935a4321649843716"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":133}}}],"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 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.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":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1929bf4cf7334ac05287f7a1c501f70a4d95bac51fbac00d7484d7e8bb66016f"}},{"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 336 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":336}}}],"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: \u0060error\u0060 at line 572 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":"controller/src/main/java/org/apache/rocketmq/controller/impl/DLedgerController.java"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a27b019a25d0d456b9945d334865130b36fefd0e729ec5e3bc6cd848a37012"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 42 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"548f410770e415ab152f819aafb572860d122dca79874c6d933154577cec6e00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 46 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d7382ec34b5b4cb74f066a1365edb2b89bffbf61738c450d73e788fa6b188a"}},{"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":"common/src/main/java/org/apache/rocketmq/common/ConfigManager.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"10613f74765f1601f8776b114d48585f5b5fec855883a7339f5648352d5c140d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 62 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4e8c5de58266952be85fe7f35d3d419df2bb0a2015af9e8d3c09ffc25a8bc6"}},{"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":"common/src/main/java/org/apache/rocketmq/common/ConfigManager.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dade403f4a72b2682c0a57294a69f7496e544002ad709d7d317c35c8b15571"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 284 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":284}}}],"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 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":"common/src/main/java/org/apache/rocketmq/common/stats/MomentStatsItem.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"742cc7f884687fcc538a74f3dd9555ab6a85b01668fcbafaa282838b0f58bc40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 196 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"13775c9eade9008f1d3990132235d28e918136e729126c7f3a34bdd5ed1e6901"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 201 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc28e25ba49d5cb9ee3fa43722576eba825a84c368144df63f31cfa0687ed2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":207}}}],"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 181 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"81eb2627ec79626cde1d22a429a67f9925ed9d7fcf25a2130647df98cb96709d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0b48fbd58f156c29239b158aacb5756c6cb7eb2ae2df53725dc13b4f4da6bd"}},{"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":"client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"febfff03c00865b007f70c5ccd7a847980f1f612a890b5de35a48cf004f25d90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 84 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b204db1dc51d5ca56c92d74b1efb3cce59bb1fd97fc9f3c6f3712dfe3d85b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7913d84e951a467cff59f5db05a3e03b341a93649605b68f1af83fcd476260"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 123 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2113ab587d227848a5185d5e46c2b1973c73c2fc0adb34c9bc5b6e09fb7c21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\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.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":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d177f1e9275b7045092b3e0cdaf6c945ba8f6990f1b4f1d0959149de9b80631"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee89b694bdd489a0091e6523761985c3438981a1575470c288c9c009ab5db8e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 59 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/RequestFutureHolder.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7238640bca307022c0c83d59777a026695c25457c4ad66997c75014adc81dd61"}},{"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":"client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultToleranceImpl.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"668fa1e3ab657c6250562882916af12c3f088dd91d783acf94fa02b28bf37c9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"778785fe80d69cde771a14f46eedb467143769324daa1c691b4497a0d756ff23"}},{"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":"client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultToleranceImpl.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6649b1b4698c0fcc5b6458a37ca2cad3ae4f03e8212c593613f375f79e31dfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 291 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/ClientRemotingProcessor.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e845fae474206e91afce9b1e1f008801b1ba8be594d057a310e090d5e58f35a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"292fe5456a646366e0daf2ad3ea39bb820b179ef08f20f13fc9e05b7fab45b14"}},{"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":"client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e2619905ad738dbf3a351fad5f68b9c2ac247ee21ce345d3b5eabc3e0a6fd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 453 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bd3af63b8904b2e9f205df9f7c85900dc9dce01ba17ede38896ee82452b1aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1451 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d49f007e1c561467b4c974fdeaf948dc451c9a7e2023e7e4529c079c2c9e94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1752 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b361f08ce3a856a43a069e5ea70b466d4815029500e7fcf60cc781582b811b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 924 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da578099080fbf94b2097b901465f4dc63e26f9f164f4bdea2e5bc889d4ec4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1139 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d905c26394487885fa9d2210a87083a24fe2fbe9fa9750b5fe7a3302c512c1cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 172 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"020aba876ff514e7dff41ab2a3eec848467e8d95662a996cdd3143038fb3eb35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 325 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2932d711a347199b897710c18bae5a30783887de40c5b5f07f0e3ebc9428c02c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 413 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/consumer/ConsumeMessageConcurrentlyService.java"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2bc8ecef770fa9f2c9a0ab12d80bb706ae878c4d528ecb44bc24d6343cde09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 184 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b41a8dbbac5fe3313ba8b969c86579069fccb29f5ac34a36ad395ad1624cef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 394 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a297360cdd0714d5fdd19057c68691e3cea403efe3f40ca6d2040b66cc78e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 500 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/consumer/ConsumeMessageOrderlyService.java"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"044037f8fab654324ff55c99db6862a3a519a681a1a0427320e0e01b9be72333"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 156 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/consumer/ConsumeMessagePopConcurrentlyService.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e7605f73f201afd4836811d285bb0b3a18774e8a6213f2dfe0e794605ebf85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 363 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6262dcfa1af630cd5350629c77bf1ca48f6fea205fad2966cb3ffd2e19081b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 178 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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/consumer/ConsumeMessagePopOrderlyService.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e40c61c6fa8a4017a93a5599f6f259a0d7ce5ab33becad54f115b4aaeee08b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"199abe063b6476cab9082d070a690fde0c3759b94d9ef45b4875c6e98b0c197a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8067700777d1b3aa8d8ca00988c16b06cbc56773df60a7de228a6e50d7f805"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 793 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0985385c82e0aff7bf0f5ead91cfad5f2d6e4d5df50c0b9893f867892c9f74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 398 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe94e9f8bae9778c7a30e6284b9d09e37e05776faa78390f2a3068d1c9b3fe4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 629 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"29803b19981cad4890d7ac4b402cbc9ff839c83576b6ec35b0408a9cdc04bc60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 806 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf78fa1445454aba7e2db750e2c4a9d3d2b1074dabbfa75c4d1c320fe22eb1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1377 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2c3da9a7ada10e0706c16dc11438907da8740b3e05c5d6ad6d5d65e92c5dfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 119 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d777ed6efad66c531ee7205ed1c9254d4dac41e92f5aa8e38fcb35f527fab15d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daee4b32ab21cddd0e52a5c96366b4b2956a6b873ee4581dc977856a1ddeb4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75cc21c0f410c4d8d5611eb73f18dcdb6122f0e98b1084a9715acf5d47c9eaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3723faf03a388f8db3e064b33496a0ea63991064ae6db7e4c449801266fe73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da4911fe1d003d94294bd117ae1a9f047b39a9fd261808fa7aea5d0d8b92cea"}},{"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":"client/src/main/java/org/apache/rocketmq/client/impl/consumer/RebalanceImpl.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd1d209db0325dd13fddfd638305e73d2c0acd0b4097fd393c2de9abe3d2f47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 37 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3039ad7dddc7e3fac424c09347d6723752b052d348c4511b839e4884315d6fe6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 44 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b95da18fe02d7476859c8e4ea56b31ee05d19043085a69fd842d2f2ce777b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3bea80dccbbeeaec432273c886b5b915763f071d6ad7cefe1908c03384f854"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\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.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":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2737228e7d3dcab4b3bf48a6b50ebc0e73ee8945cf5e4d64ee66e05a9ee2a3ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"968b5a4c35d36a134039e555d870641bfe118319c0474192eeb2320d916e1253"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":162}}}],"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 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":"broker/src/main/java/org/apache/rocketmq/broker/util/HookUtils.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"681f20b18121a286eac6f2498e8c61df9006073518998bbf0ab20722c3d4971e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\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.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":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7af490f110fa8569d7a9a605fe698106f72d4fe86029c2f7e873e6aad170f8"}},{"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 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.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":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37d85b8e4cf79b44504a22d1b647b6eb166ed098863143ff657b1af8436d8d9"}},{"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/processor/AdminBrokerProcessor.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed926bb4f0d73f4fb8db9f63baf147092e7cffee91c8772856d7fac22ed24554"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2665 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":2665}}}],"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 586 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"571c0b6113e1920dc069aa0ca5310817824e8958b4d1f703c369a49fa7eaec20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fbec804de81eef5702a13179573c83360f1a47dae0aec4735c42304c233b3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 369 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7d78259ec8547de10478cde98cf44e5a1ae32591c119710a7551a72305d418"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1013 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deccc8949e251a22c9c083efffd8d36afb81de9d7cd82fa8832f01d04d81bbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1024 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21bc2a70211aecd34d79d66926baff2cf5478828e568f5f5a52f2a5fe2885e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 85 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"76725e0edd1e78a006d55bcfdf74c4bbe5f777f9c19c7297e292ff88d11d626a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 59 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"922cce0e83c4d280a1eda0fc293c215cf020c133570efd20c664fbf88eea1704"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 140 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2b4d52149dff9dcdf7bb48e241c7dfc0c4b76618bf34d0c4775c909636e0fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 252 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":252}}}],"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 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.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":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4a09b996f4337e238cd5ae7d5e230bd11d63e54dfcf25211bf6bcfcaa3501c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8e89d616d5e1665148f5104bcb98f3ff9f0c2827db6b39233ac9e914e783f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\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.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":93}}}],"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 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.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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5dba35d5de1c6ebb2d4b51365629fff35ee0d8e5a495dc81950f131c000582"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 483 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b50e4729d3eec9f8ce25c4a4f5b5a15fd18cfafb73e7b8e60dc7bd40b00b93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 488 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2dc310068dc3c974f9749c03ad887d6023ec20f29e8fe6c142c479b0a04b05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 493 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different 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":"acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"adde31eba384d788e7c793e3a8ffd6b95eff3e29f29259008dd2c5a2d585ae72"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/200 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: \u0060getHash\u0060 swallows every exception into \u0060return \u0022\u0022\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":"tieredstore/src/main/java/org/apache/rocketmq/tieredstore/util/TieredStoreUtil.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a28bd867be1d36e2d6e456eed66667e9c588e154cb66a3881b7fe0c892669c"}},{"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":181}}}],"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":284}}}],"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":226}}}],"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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.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-330","guid":"f811ddf9-2e54-865b-9c76-f97905849790","name":"Use of Insufficiently Random Values","shortDescription":{"text":"Use of Insufficiently Random Values"},"helpUri":"https://cwe.mitre.org/data/definitions/330.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":120,"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."]}]}