rust-lang / rust-lang/rust

Test Coverage: cannot find uncovered lines and regions

Open
#137,524 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-code-coverage C-bug T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

https://github.com/Nugine/scoped-writer

https://github.com/Nugine/scoped-writer/blob/v0.2.0/src/lib.rs (Only 77 LoC)

git clone https://github.com/Nugine/scoped-writer
cd scoped-writer
git checkout v0.2.0

cargo llvm-cov --html --open

Image

When I click next uncovered line (L) or next uncovered region (R), there is no reaction. I don't know what is uncovered.

Related

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report with the cargo llvm-cov --html --open commands in the scoped-writer repository at v0.2.0, using src/lib.rs as the small coverage target. Read the related cargo-llvm-cov issues #324 and #380, then determine why the HTML report's next uncovered line or region controls do not react. Done means the report identifies or navigates to uncovered lines and regions for this example.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.