Skip to content

Add test cases

629962a
Select commit
Loading
Failed to load commit list.
Merged

Refactor error handling for empty JSON and XML payloads #567

Add test cases
629962a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Nov 20, 2025 in 0s

76.09% (target 80.00%)

View this Pull Request on Codecov

76.09% (target 80.00%)

Details

Codecov Report

❌ Patch coverage is 55.55556% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.09%. Comparing base (9c14c6f) to head (629962a).

Files with missing lines Patch % Lines
...n/java/io/ballerina/stdlib/mime/util/MimeUtil.java 38.46% 15 Missing and 1 partial ⚠️

❌ Your project check has failed because the head coverage (76.09%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #567      +/-   ##
============================================
- Coverage     76.89%   76.09%   -0.81%     
  Complexity        9        9              
============================================
  Files            21       21              
  Lines          1212     1238      +26     
  Branches        184      186       +2     
============================================
+ Hits            932      942      +10     
- Misses          198      213      +15     
- Partials         82       83       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.