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

test: shared recycled_ptrs #836

Closed alandefreitas closed 7 months ago

alandefreitas commented 7 months ago

This commit includes tests for shared recycled_ptrs. Unreachable paths are also marked.

This is the last in a series of commits that intend to fix #828, where recycled_ptr had low coverage.

fix #828

cppalliance-bot commented 7 months ago

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

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.21%. Comparing base (5b86565) to head (f7bd5a6).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/boostorg/url/pull/836/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/836?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) ```diff @@ Coverage Diff @@ ## develop #836 +/- ## =========================================== + Coverage 99.13% 99.21% +0.08% =========================================== Files 157 157 Lines 8436 8422 -14 =========================================== - Hits 8363 8356 -7 + Misses 73 66 -7 ``` | [Files](https://app.codecov.io/gh/boostorg/url/pull/836?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) | Coverage Δ | | |---|---|---| | [src/grammar/detail/recycled.cpp](https://app.codecov.io/gh/boostorg/url/pull/836?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg#diff-c3JjL2dyYW1tYXIvZGV0YWlsL3JlY3ljbGVkLmNwcA==) | `100.00% <ø> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/boostorg/url/pull/836/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/boostorg/url/pull/836?dropdown=coverage&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/836?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=boostorg). Last update [5b86565...f7bd5a6](https://app.codecov.io/gh/boostorg/url/pull/836?dropdown=coverage&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).