wso2 / carbon-apimgt

Apache License 2.0
166 stars 626 forks source link

Using try-with-resources for closing the Input Stream, Input Stream Reader and Check canonical path of WSDL path #12328

Closed piyumaldk closed 6 months ago

piyumaldk commented 6 months ago

$Subject

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 47.35%. Comparing base (f747d03) to head (4ff95f8). Report is 152 commits behind head on master.

Files Patch % Lines
.../api/publisher/v1/common/mappings/ImportUtils.java 60.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12328 +/- ## ============================================ + Coverage 42.22% 47.35% +5.12% - Complexity 3314 4139 +825 ============================================ Files 1840 1840 Lines 136332 136525 +193 Branches 19724 19767 +43 ============================================ + Hits 57569 64651 +7082 + Misses 71804 64241 -7563 - Partials 6959 7633 +674 ``` | [Flag](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12328/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | Coverage Δ | | |---|---|---| | [integration_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12328/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `42.09% <61.53%> (+6.49%)` | :arrow_up: | | [unit_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12328/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `20.17% <46.15%> (-0.30%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.