redboltz / async_mqtt

Asynchronous MQTT communication library based on Boost.Asio
Boost Software License 1.0
100 stars 10 forks source link

Migrate stream from shared_ptr to value based. #346

Closed redboltz closed 2 months ago

redboltz commented 2 months ago

still working...

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 98.77676% with 12 lines in your changes missing coverage. Please review.

Project coverage is 97.30%. Comparing base (bc5502d) to head (2f4c2ae).

Files with missing lines Patch % Lines
include/async_mqtt/impl/endpoint_impl.ipp 98.21% 3 Missing :warning:
include/async_mqtt/impl/endpoint_send.hpp 97.22% 3 Missing :warning:
include/async_mqtt/util/topic_alias_send.hpp 88.88% 2 Missing :warning:
include/async_mqtt/impl/client_publish.hpp 96.00% 1 Missing :warning:
include/async_mqtt/util/detail/stream_impl.hpp 97.22% 1 Missing :warning:
...nclude/async_mqtt/util/impl/stream_read_packet.hpp 97.61% 1 Missing :warning:
include/async_mqtt/util/topic_alias_recv.hpp 91.66% 1 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346/graphs/tree.svg?width=650&height=150&src=pr&token=21ZT59CMM5&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo)](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo) ```diff @@ Coverage Diff @@ ## main #346 +/- ## ========================================== + Coverage 97.13% 97.30% +0.17% ========================================== Files 151 153 +2 Lines 9169 9435 +266 ========================================== + Hits 8906 9181 +275 + Misses 263 254 -9 ``` | [Files with missing lines](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo) | Coverage Δ | | |---|---|---| | [include/async\_mqtt/client.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fclient.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2NsaWVudC5ocHA=) | `100.00% <ø> (ø)` | | | [include/async\_mqtt/detail/client\_impl.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fdetail%2Fclient_impl.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2RldGFpbC9jbGllbnRfaW1wbC5ocHA=) | `100.00% <100.00%> (ø)` | | | [include/async\_mqtt/detail/endpoint\_impl.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fdetail%2Fendpoint_impl.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2RldGFpbC9lbmRwb2ludF9pbXBsLmhwcA==) | `100.00% <100.00%> (ø)` | | | [...sync\_mqtt/impl/client\_acquire\_unique\_packet\_id.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_acquire_unique_packet_id.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X2FjcXVpcmVfdW5pcXVlX3BhY2tldF9pZC5ocHA=) | `100.00% <100.00%> (ø)` | | | [...mpl/client\_acquire\_unique\_packet\_id\_wait\_until.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_acquire_unique_packet_id_wait_until.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X2FjcXVpcmVfdW5pcXVlX3BhY2tldF9pZF93YWl0X3VudGlsLmhwcA==) | `100.00% <100.00%> (ø)` | | | [include/async\_mqtt/impl/client\_auth.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_auth.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X2F1dGguaHBw) | `100.00% <100.00%> (+2.17%)` | :arrow_up: | | [include/async\_mqtt/impl/client\_close.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_close.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X2Nsb3NlLmhwcA==) | `100.00% <100.00%> (ø)` | | | [include/async\_mqtt/impl/client\_disconnect.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_disconnect.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X2Rpc2Nvbm5lY3QuaHBw) | `98.38% <100.00%> (+2.02%)` | :arrow_up: | | [include/async\_mqtt/impl/client\_impl.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_impl.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X2ltcGwuaHBw) | `100.00% <100.00%> (ø)` | | | [include/async\_mqtt/impl/client\_impl.ipp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Fclient_impl.ipp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvY2xpZW50X2ltcGwuaXBw) | `100.00% <100.00%> (ø)` | | | ... and [27 more](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/redboltz/async_mqtt/pull/346/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo)