Hacker News new | ask | show | jobs
by eeZah7Ux 2901 days ago
> Units covered 100%

This metric means very little. It does not measure the extent of code path coverage and much more.

2 comments

There is only one thing I have found code coverage is good for.

Code coverage can tell you what code is not tested at all.

Now, this is very useful. But:

Code coverage can't tell you what code _is tested_.

Code coverage can't tell you how _well_ code is tested.

It's also a good way to find parts of the code that are not being used and are worth deleting.
Yes that is the essence of what I was saying.