NANASHIdl commented on PR #11590: URL: https://github.com/apache/rocketmq/pull/11590#issuecomment-7103233062
> Patch coverage is `0%` with `1 line` in your changes missing coverage. Both regression tests pass. The zero-duration test exercises the changed loop boundary by reaching bucket 0 and returning `0` ms. The mixed-duration test verifies that a positive sample still determines the maximum. The report marks the loop condition as partially covered. Both tests return as soon as they find a populated bucket, so they exercise the true branch of `i >= 0`. The false branch is reached when the counter is empty and the scan runs to completion. The reported gap is in that empty-counter path. [Codecov comment](https://github.com/apache/rocketmq/pull/11590#issuecomment-7101782512) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
