Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to scan hidden folder such as ".nameFolder" in SonarQube?

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?

like image 984
Ale Avatar asked Feb 13 '17 10:02

Ale


1 Answers

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.

like image 180
Julien H. - SonarSource Team Avatar answered Sep 20 '22 23:09

Julien H. - SonarSource Team