al8n / rarena

Lock-free ARENA allocator and a set of lock-free data structures based on the ARENA allocator.
Apache License 2.0
8 stars 1 forks source link

Extract trait #7

Closed al8n closed 3 months ago

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 55.49451% with 162 lines in your changes missing coverage. Please review.

Project coverage is 56.48%. Comparing base (3cb7066) to head (d30de42).

Files Patch % Lines
rarena-allocator/src/unsync.rs 60.22% 105 Missing :warning:
rarena-allocator/src/bytes.rs 14.63% 35 Missing :warning:
rarena-allocator/src/object.rs 37.14% 22 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7 +/- ## ========================================== + Coverage 53.20% 56.48% +3.27% ========================================== Files 15 13 -2 Lines 3458 3114 -344 ========================================== - Hits 1840 1759 -81 + Misses 1618 1355 -263 ``` | [Files](https://app.codecov.io/gh/al8n/rarena/pull/7?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu) | Coverage Δ | | |---|---|---| | [rarena-allocator/src/lib.rs](https://app.codecov.io/gh/al8n/rarena/pull/7?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvbGliLnJz) | `66.19% <100.00%> (+43.17%)` | :arrow_up: | | [rarena-allocator/src/sync.rs](https://app.codecov.io/gh/al8n/rarena/pull/7?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Fsync.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvc3luYy5ycw==) | `55.98% <ø> (+0.01%)` | :arrow_up: | | [rarena-allocator/src/sync/tests.rs](https://app.codecov.io/gh/al8n/rarena/pull/7?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Fsync%2Ftests.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvc3luYy90ZXN0cy5ycw==) | `98.75% <100.00%> (ø)` | | | [rarena-allocator/src/unsync/tests.rs](https://app.codecov.io/gh/al8n/rarena/pull/7?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Funsync%2Ftests.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvdW5zeW5jL3Rlc3RzLnJz) | `98.78% <100.00%> (ø)` | | | [rarena-allocator/src/object.rs](https://app.codecov.io/gh/al8n/rarena/pull/7?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Fobject.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvb2JqZWN0LnJz) | `44.77% <37.14%> (ø)` | | | [rarena-allocator/src/bytes.rs](https://app.codecov.io/gh/al8n/rarena/pull/7?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Fbytes.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvYnl0ZXMucnM=) | `16.93% <14.63%> (ø)` | | | [rarena-allocator/src/unsync.rs](https://app.codecov.io/gh/al8n/rarena/pull/7?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Funsync.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvdW5zeW5jLnJz) | `49.50% <60.22%> (-0.32%)` | :arrow_down: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/al8n/rarena/pull/7?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu). > **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=Al+Liu) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/al8n/rarena/pull/7?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu). Last update [3cb7066...d30de42](https://app.codecov.io/gh/al8n/rarena/pull/7?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu). 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=Al+Liu).