Skip to content

Add check and handle negative SearchRequestStats

Codecov / codecov/project succeeded Nov 7, 2024 in 0s

72.10% (target 70.00%)

View this Pull Request on Codecov

72.10% (target 70.00%)

Details

Codecov Report

Attention: Patch coverage is 70.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 72.10%. Comparing base (5909e1a) to head (b72b74d).

Files with missing lines Patch % Lines
...org/opensearch/index/search/stats/SearchStats.java 70.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #16569      +/-   ##
============================================
+ Coverage     72.08%   72.10%   +0.02%     
+ Complexity    65099    65079      -20     
============================================
  Files          5315     5315              
  Lines        303572   303581       +9     
  Branches      43925    43927       +2     
============================================
+ Hits         218817   218892      +75     
+ Misses        66861    66730     -131     
- Partials      17894    17959      +65     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.