gcov HTML report shows justified lines without justification id and reason

Open Beginner friendly
#101 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
html, python
Domain
backend, testing

Research direction

Start with score_coverage/effective_coverage.py and trace how the gcov backend builds its HTML report for justified lines. Compare that behavior with the LLVM report’s marker and tooltip, then find the relevant report tests. Done means gcovr reports show each justified line’s justification id and reason.

Written by the indexing model from the issue text.

Description

enhancement

Found while reviewing the user manual against the implementation at fe013fe (score_coverage/effective_coverage.py).

In the LLVM HTML report an unexecuted justified line gets a J marker in the count cell and a tooltip with the justification id and reason. In the gcovr HTML report of the gcov backend a justified line only changes its CSS class from uncoveredLine to justifiedLine; there is no marker and no tooltip, so the report does not show which justification applies to a line.

Expected behavior

Show the justification id and reason on justified lines of gcovr reports as well.

Dominant language
Python
Stars
0
Forks
4
Avg merge
1d 16h
Merged PRs (30d)
16

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from eclipse-score/coverage_tool

All issues in eclipse-score/coverage_tool

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.