karma-runner / karma-runner/karma-coverage
Coverage HTML report colors don't make sense
- Dominant language
- JavaScript
- Stars
- 771
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Description
Can you help me understand why the colors/counts in the margin are accurate, but the covered code lines still appear red? Hovering my mouse over a covered line makes a tooltip reading "statement not covered" appear.

PS I have posted this as a StackOverflow question as well, in case you want to answer it there: http://stackoverflow.com/questions/35806728/why-does-my-coverage-report-show-covered-lines-in-red
Contributor guide
Research direction
Start by reproducing the coverage HTML report described in the issue and compare the margin colors/counts with the covered-line styling and tooltip. Done means covered lines are not shown in red and their tooltip no longer says "statement not covered".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100