Skip to content

Comments

Refactor error handling for empty JSON and XML payloads#567

Merged
TharmiganK merged 6 commits intomasterfrom
fix-empty-data
Nov 20, 2025
Merged

Refactor error handling for empty JSON and XML payloads#567
TharmiganK merged 6 commits intomasterfrom
fix-empty-data

Conversation

@TharmiganK
Copy link
Contributor

@TharmiganK TharmiganK commented Nov 19, 2025

Purpose

$Subject

Part of: ballerina-platform/ballerina-library#8475

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility

@codecov
Copy link

codecov bot commented Nov 19, 2025

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).
⚠️ Report is 1 commits behind head on master.

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

❌ Your project status 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.

@sonarqubecloud
Copy link

@TharmiganK TharmiganK merged commit b886b69 into master Nov 20, 2025
7 of 9 checks passed
@TharmiganK TharmiganK deleted the fix-empty-data branch November 20, 2025 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants