Re:Clang vs. GCC – code coverage checking
by WalterBright on Saturday April 02, 2016 @05:28PM
(#11413554)
Think of it this way. What are the odds of the code working correctly when the first time it is run is when it is in the customer's hands?
I've used code coverage analyzers on and off for 30 years. I know that merely executing code does not mean it is bug free. But I've found a very strong relationship between higher coverage and fewer bugs found in the field.
There've been reports on reddit that this is not so in other companies, but I get the feeling they're doing something wrong, because it utterly is not my experience.
I've used code coverage analyzers on and off for 30 years. I know that merely executing code does not mean it is bug free. But I've found a very strong relationship between higher coverage and fewer bugs found in the field.
There've been reports on reddit that this is not so in other companies, but I get the feeling they're doing something wrong, because it utterly is not my experience.