markbates / markbates/cover_me

Coverage results inconsistent unless I delete old data

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
203
Forks
17
PR merge metrics
No merged PRs in 30d

Description

I have seen coverage reported as much as three percent higher if I re-run cover_me without deleting the previous data in the tmp/coverage/\* and coverage.data. A related symptom is that sorting on the number of untested lines of code does not work properly unless I delete the previous data.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with cover_me, first retaining and then deleting tmp/coverage/* and coverage.data. Inspect how those paths are read or updated; done means repeated runs report consistent coverage and sorting by untested lines works without manually deleting prior data.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.