When I excluded a package, In the sonarcloud report, I can see bugs issued from that package

I’m using this command line :
sonar:sonar -Dsonar.exclusions=src/main/java/com/XTest.java,src/main/java/com/Y.java,src/main/java/com/mass/masster/gui/**/* -Denv=staging -Pcoverage

I can see that the excluded package is displaying bugs.
What to do please?

Hi,

Could you provide your analysis log and also characterize the rules raising these issues? Is it all rules or just a subset?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann