6

I'm trying to run SonarQube 4.5.4 on a project. Files and metrics are found for each folder except for the hidden ones (the ones like .m2, .something). Sadly those folders are the one that I am more interested in.

Is someone else experiencing the same problem? Are those folders filtered out by some default property?

halfer
  • 19,824
  • 17
  • 99
  • 186
Ale
  • 946
  • 4
  • 17
  • 28

1 Answers1

3

Hidden folders are explicitly filtered out from the analysis. This is hardcoded in the SonarQube scanner. This is precisely to not spend time trying to analyze technical locations that are not part of source code (.git, .svn, ...). I think most IDEs are not showing hidden files, so this seem consistent.

  • 4
    Thank you, I've just found out the harcoded line! It worked out when I forced the files to be Sources, instead of inclusions. ;) – Ale Feb 14 '17 at 10:33
  • @julien-h-sonarsource-team Could you please link to the source of your otherwise useful information? – otterrisk Jul 11 '22 at 14:34