News for hackers. Stuff that matters.
Re:Disable comments make static analysis tools worse by Aeolun on Tuesday July 06, 2021 @06:35AM (#27746471)
Disable comments are the only sensible way to start using static analysis in an existing codebase.
Re:Disable comments make static analysis tools worse by mst on Tuesday July 06, 2021 @07:46AM (#27747106)
IME "thou shalt not introduce a new violation" tests are an even better way to do that if you can set it up. The article mentions this as a strategy and links to a tool called betterer that tries to do so generically.