Excluded rule reopens in analysis

Hi Team,

We have restricted the scope of coding rule “APEX: S125 Sections of code should not be commented out from the analysis” but still, in PR analysis we are still getting this code smell, as a result, our Quality Gate is failing.

Could you please confirm that the exception works on both ie Branch and PR Analysis?

Attaching the screenshot of the rule and PR.

PR Screenshot

Thanks

Hi,

It looks like your file path pattern is **/**. But ** means 0-n directories. Maybe try **/*.*?

 
HTH,
Ann