Skip to content

Commit 1b54b9c

Browse files
committed
doc: Add a note about branch coverage in rust
Specifically I added reference to rust issue 79649, rust-lang/rust#79649 and a couple comments I added.
1 parent a17afdd commit 1b54b9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
[![codecov](https://codecov.io/gh/winksaville/exper-code-coverage/branch/main/graph/badge.svg?token=cowZtK1KK1)](https://codecov.io/gh/winksaville/exper-code-coverage)
66

77
Experiment with code coverage and see how well [LLVM source-based code coverage](https://rustc-dev-guide.rust-lang.org/llvm-coverage-instrumentation.html) works.
8+
> Note: I believe the library with `if_short_circuit_and()` and `short_circuit_and()`
9+
> shows that `branch coverage` as tracked in [rust issue #79649](https://github.com/rust-lang/rust/issues/79649).
10+
> I've provided a couple comments to that effect [here](https://github.com/rust-lang/rust/issues/79649#issuecomment-1214483770)
11+
> and [here](https://github.com/rust-lang/rust/issues/79649#issuecomment-1215764155).
812
913
Short answer seems to be that llvm-cov is better than tarpaulin as I
1014
never see 100% for trapaulin. But llvm-cov is not perfect. I've

0 commit comments

Comments
 (0)