Closed zhiburt closed 2 years ago
When I had ptrace breakpoints on the instruction for the returns like that normally they were never hit during execution resulting in a lot of false negatives. Changing it so they were ignored as you know it's covered in this instance if the function is hit felt like a better UX than false uncovered lines.
I've tried to make it better on the ptrace code but it's a tricky issue (but work is going into improving things just takes a lot of time).
I'm going to close this one as duplicated as return based issues have been mentioned in https://github.com/xd009642/tarpaulin/issues/351 :eyes:
Describe the bug
Hi @xd009642 I have noticed that return line doesn't included in a coverage report, which is supposed to be as I understand.
Likely it's not included in a traces map?
I am not sure if it's a duplicate. Sorry if it is.
To Reproduce
Expected behavior
The return must be included in coverage.