al8n / orderwal

A generic-purpose, atomic, ordered, zero-copy read, zero-cost (in-place) write, Write-Ahead Log implementation for Rust.
Apache License 2.0
15 stars 1 forks source link

Redesign `Options` and constructors #7

Closed al8n closed 1 month ago

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 96.13260% with 7 lines in your changes missing coverage. Please review.

Project coverage is 84.44%. Comparing base (915694d) to head (e7bb7d1). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/builder.rs 94.73% 3 Missing :warning:
src/swmr/generic/builder.rs 94.64% 3 Missing :warning:
src/options.rs 98.52% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7 +/- ## ========================================== + Coverage 83.12% 84.44% +1.32% ========================================== Files 21 21 Lines 1422 1562 +140 ========================================== + Hits 1182 1319 +137 - Misses 240 243 +3 ``` | [Files with missing lines](https://app.codecov.io/gh/al8n/orderwal/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 Δ | | |---|---|---| | [src/lib.rs](https://app.codecov.io/gh/al8n/orderwal/pull/7?src=pr&el=tree&filepath=src%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-c3JjL2xpYi5ycw==) | `50.00% <ø> (+25.00%)` | :arrow_up: | | [src/swmr/generic.rs](https://app.codecov.io/gh/al8n/orderwal/pull/7?src=pr&el=tree&filepath=src%2Fswmr%2Fgeneric.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-c3JjL3N3bXIvZ2VuZXJpYy5ycw==) | `82.86% <ø> (ø)` | | | [src/utils.rs](https://app.codecov.io/gh/al8n/orderwal/pull/7?src=pr&el=tree&filepath=src%2Futils.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-c3JjL3V0aWxzLnJz) | `76.92% <ø> (ø)` | | | [src/options.rs](https://app.codecov.io/gh/al8n/orderwal/pull/7?src=pr&el=tree&filepath=src%2Foptions.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-c3JjL29wdGlvbnMucnM=) | `97.93% <98.52%> (+2.93%)` | :arrow_up: | | [src/builder.rs](https://app.codecov.io/gh/al8n/orderwal/pull/7?src=pr&el=tree&filepath=src%2Fbuilder.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-c3JjL2J1aWxkZXIucnM=) | `89.55% <94.73%> (+2.45%)` | :arrow_up: | | [src/swmr/generic/builder.rs](https://app.codecov.io/gh/al8n/orderwal/pull/7?src=pr&el=tree&filepath=src%2Fswmr%2Fgeneric%2Fbuilder.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-c3JjL3N3bXIvZ2VuZXJpYy9idWlsZGVyLnJz) | `91.66% <94.64%> (-0.47%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/al8n/orderwal/pull/7/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/al8n/orderwal/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/orderwal/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 [915694d...e7bb7d1](https://app.codecov.io/gh/al8n/orderwal/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).