Quote of the week
[Posted February 27, 2008 by corbet]
Machine-generated warnings are a great way of
quickly locating a large amount of questionable code in an otherwise
overwhelming haystack. It doesn't even matter much, which warnings you
look for. Almost all code checkers find the same hotspots.
But there is a catch. If you have an over-eager warning police that
"fixes all the warnings", the warnings may be gone, but the very real
problems in near vicinity are not. Not to mention new problems
introduced by those claimed "fixes". [...]
Note one scary consequence: code checkers in the wrong hands are
actively harmful.
--
Jörn Engel
(
Log in to post comments)