Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize MediaType as an integer to avoid string parsing #16073

Closed
wants to merge 1 commit into from

Serialize MediaType as an integer to avoid string parsing

ff72418
Select commit
Loading
Failed to load commit list.
Closed

Serialize MediaType as an integer to avoid string parsing #16073

Serialize MediaType as an integer to avoid string parsing
ff72418
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 25, 2024 in 0s

71.90% (target 70.00%)

View this Pull Request on Codecov

71.90% (target 70.00%)

Details

Codecov Report

Attention: Patch coverage is 75.00000% with 10 lines in your changes missing coverage. Please review.

Project coverage is 71.90%. Comparing base (b3cc802) to head (ff72418).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...rg/opensearch/core/xcontent/MediaTypeRegistry.java 66.66% 2 Missing and 1 partial ⚠️
...n/java/org/opensearch/core/xcontent/MediaType.java 71.42% 1 Missing and 1 partial ⚠️
...search/action/search/PutSearchPipelineRequest.java 0.00% 2 Missing ⚠️
...nsearch/search/pipeline/PipelineConfiguration.java 0.00% 2 Missing ⚠️
.../opensearch/core/common/io/stream/StreamInput.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #16073      +/-   ##
============================================
- Coverage     72.01%   71.90%   -0.12%     
+ Complexity    64425    64378      -47     
============================================
  Files          5281     5281              
  Lines        301004   300972      -32     
  Branches      43482    43461      -21     
============================================
- Hits         216779   216416     -363     
- Misses        66423    66840     +417     
+ Partials      17802    17716      -86     

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