mozilla / mozilla/grcov

Html report should show the branch count per line

Open
#964 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.4k
Forks
170
Avg merge
3d 10h
Merged PRs (30d)
4

Description

When generating an html report with branch coverage, if branches is not 100%, all lines are green if line coverage is 100%.
codecov show lines with partial branch coverage as partially covered not green.
We should be able to see in the html report the lines with partial branch coverage ( Maybe add branch count per line ) to see it locally if we generate the html locally.

Contributor guide

No contributing guide indexed for this repository

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

Start by tracing grcov's HTML report generation and how branch coverage is represented when line coverage is complete. Inspect the existing rendering and coverage tests, if present; done means lines with partial branch coverage are distinguishable from fully covered lines and the HTML report exposes branch counts per line.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.