4 ms·
Like most things, the answer is... it depends. We have several with 0% and I'm just fine with that. They're exceedingly simple. And/or they're 15 years old a
by sbov 12y ago
Like most things, the answer is... it depends.
We have several with 0% and I'm just fine with that. They're exceedingly simple. And/or they're 15 years old and only change in very slight ways every few years.
There's other classes that are 100% that I'm not fine with. Because while the code is short, the implications are complex.
I feel like blindly talking about these metrics is like saying "hey, I bought an earring for $100, did I get ripped off?"
- aetherson 12y agoI think that you're broadening the question. Sure, sometimes you feel okay with code that's not at all tested. But surely you don't feel that code that is not at all tested is well tested. I'm talking about to what extent code coverage can and can not be used as a proxy for "well tested," not to what extent "well tested" can and can not be used as a proxy for "I feel good about my code."