Skip to content

Add limits to emitted values from DerivedFieldScript

Codecov / codecov/project succeeded Apr 2, 2024 in 1s

71.52% (target 70.00%)

View this Pull Request on Codecov

71.52% (target 70.00%)

Details

Codecov Report

Attention: Patch coverage is 76.59574% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 71.52%. Comparing base (b15cb0c) to head (5cc097d).
Report is 123 commits behind head on main.

❗ Current head 5cc097d differs from pull request most recent head bddcfe1. Consider uploading reports for the commit bddcfe1 to get more accurate results

Files Patch % Lines
...java/org/opensearch/script/DerivedFieldScript.java 67.74% 8 Missing and 2 partials ⚠️
...n/java/org/opensearch/script/ScriptEmitValues.java 90.90% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #12837      +/-   ##
============================================
+ Coverage     71.42%   71.52%   +0.10%     
- Complexity    59978    60469     +491     
============================================
  Files          4985     5025      +40     
  Lines        282275   284336    +2061     
  Branches      40946    41179     +233     
============================================
+ Hits         201603   203373    +1770     
- Misses        63999    64114     +115     
- Partials      16673    16849     +176     

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