boostorg / url

Boost.URL is a library for manipulating Uniform Resource Identifiers (URIs) and Locators (URLs).
https://www.boost.org/doc/libs/master/libs/url/index.html
Boost Software License 1.0
185 stars 50 forks source link

tests: handle missing coverage #827

Closed alandefreitas closed 8 months ago

alandefreitas commented 8 months ago

Add many test cases and fixes that cover all missing paths reported in #818.

cppalliance-bot commented 8 months ago

GCOVR code coverage report https://827.url.prtest2.cppalliance.org/gcovr/index.html
LCOV code coverage report https://827.url.prtest2.cppalliance.org/genhtml/index.html Coverage Diff https://827.url.prtest2.cppalliance.org/gcovr/coverage_diff.txt

codecov[bot] commented 8 months ago

Codecov Report

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

Project coverage is 98.27%. Comparing base (d9d78ac) to head (a3d2e06).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/boostorg/url/pull/827/graphs/tree.svg?width=650&height=150&src=pr&token=XroexNAcpL&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg)](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) ```diff @@ Coverage Diff @@ ## develop #827 +/- ## =========================================== + Coverage 97.24% 98.27% +1.03% =========================================== Files 157 157 Lines 8595 8513 -82 =========================================== + Hits 8358 8366 +8 + Misses 237 147 -90 ``` | [Files](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) | Coverage Δ | | |---|---|---| | [include/boost/url/params\_encoded\_ref.hpp](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC91cmwvcGFyYW1zX2VuY29kZWRfcmVmLmhwcA==) | `100.00% <ø> (ø)` | | | [include/boost/url/params\_ref.hpp](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-aW5jbHVkZS9ib29zdC91cmwvcGFyYW1zX3JlZi5ocHA=) | `100.00% <ø> (ø)` | | | [src/detail/normalize.hpp](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-c3JjL2RldGFpbC9ub3JtYWxpemUuaHBw) | `100.00% <ø> (ø)` | | | [src/params\_encoded\_ref.cpp](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-c3JjL3BhcmFtc19lbmNvZGVkX3JlZi5jcHA=) | `97.36% <ø> (+26.21%)` | :arrow_up: | | [src/params\_ref.cpp](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-c3JjL3BhcmFtc19yZWYuY3Bw) | `97.26% <ø> (+26.96%)` | :arrow_up: | | [src/detail/normalize.cpp](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-c3JjL2RldGFpbC9ub3JtYWxpemUuY3Bw) | `99.25% <98.14%> (+7.89%)` | :arrow_up: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg). Last update [d9d78ac...a3d2e06](https://app.codecov.io/gh/boostorg/url/pull/827?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg).
cppalliance-bot commented 8 months ago

GCOVR code coverage report https://827.url.prtest2.cppalliance.org/gcovr/index.html
LCOV code coverage report https://827.url.prtest2.cppalliance.org/genhtml/index.html Coverage Diff https://827.url.prtest2.cppalliance.org/gcovr/coverage_diff.txt

cppalliance-bot commented 8 months ago

GCOVR code coverage report https://827.url.prtest2.cppalliance.org/gcovr/index.html
LCOV code coverage report https://827.url.prtest2.cppalliance.org/genhtml/index.html Coverage Diff https://827.url.prtest2.cppalliance.org/gcovr/coverage_diff.txt

cppalliance-bot commented 8 months ago

GCOVR code coverage report https://827.url.prtest2.cppalliance.org/gcovr/index.html
LCOV code coverage report https://827.url.prtest2.cppalliance.org/genhtml/index.html Coverage Diff https://827.url.prtest2.cppalliance.org/gcovr/coverage_diff.txt

cppalliance-bot commented 8 months ago

GCOVR code coverage report https://827.url.prtest2.cppalliance.org/gcovr/index.html
LCOV code coverage report https://827.url.prtest2.cppalliance.org/genhtml/index.html Coverage Diff https://827.url.prtest2.cppalliance.org/gcovr/coverage_diff.txt

cppalliance-bot commented 8 months ago

GCOVR code coverage report https://827.url.prtest2.cppalliance.org/gcovr/index.html
LCOV code coverage report https://827.url.prtest2.cppalliance.org/genhtml/index.html Coverage Diff https://827.url.prtest2.cppalliance.org/gcovr/coverage_diff.txt