codecov/codecov-browser-extension

Display line coverage when viewing a single file for a commit

Closed this issue · 1 comments

For the most part this is already supported in GitHub’s new UI:

Image

The total coverage for the file is shown, and the visibility can be toggled. Line coverage should be shown for hits (green), misses (red), and partials (yellow). This functionality should work when viewing any file on any branch in the repo for which coverage has been uploaded.

If no coverage is available for the file, a small warning should be displayed:

No coverage available for file

in the UI, likely in the file header close to the “Coverage: X%” button.

completed as part of current beta release