Excluded files marked are still being analyzed regardless

I have a project and have files that need to be excluded (see below)
**/testCode/,**/test/,**/unit/,**/*Test.java,**/*Impl.java,**/*Test.class,**/*Impl.class,**/*Suite.class,**/*Suite.java,**/*.xml

Trying to follow the exclusion rules:

  • Match zero or more characters
    ** Match zero or more directories
    ? Match a single character

I am not able to successfully exclude these files. They are still analyzed

Need some help or guidance on how to run exclusion properly as I am not able to get this to work.

Hi,

Can you provide your analysis log, as well as the property you’re passing this string to?

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.

 
Thx,
Ann