checkstyle icon indicating copy to clipboard operation
checkstyle copied to clipboard

resolve false negative suppression

Open Pankraz76 opened this issue 7 months ago • 3 comments

add double-check for each suppression to avoid dead-lock suppression stuff thats not existing. like in:

  • https://github.com/apache/maven/pull/2369

Just like out whitewords plugin checks for key given but not used. The same principle applies here.

same feature needed in pmd here some context:

  • https://github.com/pmd/pmd/issues/5749
  • https://github.com/pmd/pmd/pull/5609
  • https://github.com/pmd/pmd/issues/648

Pankraz76 avatar May 21 '25 18:05 Pankraz76

Long awaiting feature, we need design of it

romani avatar May 22 '25 21:05 romani

yes, please hit me up. Its possible as we have all information needed.

Having new checker for this, only to check the false negatives.

Pankraz76 avatar May 23 '25 06:05 Pankraz76

Some of our suppression are reusable between filters . Keep in mind that config can be dynamic but suppressions are not, configs can be single file for few projects. We need something that user can activate, run, and cleanup. But all others should not be affected.

romani avatar May 23 '25 15:05 romani