xcov icon indicating copy to clipboard operation
xcov copied to clipboard

Target with no valid files is considered as having 0% coverage

Open diogomusou opened this issue 2 years ago • 0 comments

Screenshot 2023-03-30 at 5 05 13 PM

If all files in a target are invalid (ignored files), the target shows up as having 0% coverage. The total coverage is also reduced. Because of this I had to include this target in "excluded_targets".

I believe it would be best to show it as having 100% coverage, or not including it at all.

By having to include the target in "excluded_targets" it's easy to miss it in case valid files are added to the target later.

diogomusou avatar Mar 30 '23 20:03 diogomusou