Hi,
We are analyzing .Net framework project on SonarQube 7.9 community version server. The project we are analyzing is of 26GB and we have one .sln file and multiple nested folders as per modules inside which multiple .cs files present. We are not able to get complete analysis on SonarQube dashboard as all files are not getting scanned. Also the Count of bugs (around 40 to 60) or lines of code and other parameters are very less. And every time we do analysis we get different count of bugs even if we are not making any changes to code. As we are facing this issue so we checked logs to dig out this problem but there are no any errors in log files.
To resolve this issue, we have tried below work arounds:
- we tried changing sonar scanner versions as per compatibility but with every version we are getting different count.
- As we have multiple modules in our project structure, we tried excluding or including some folder/modules with sonar.inclusions or sonar.exclusions property.
- Previously we were using MSSQL db with SonarQube and we tried changing that to PostgreSQL db but still same behavior.
We changed compute engine memory to 8g/10g, after immediate analysis we got 800+ bugs and after that we again getting less count.
Kindly suggest if we are missing out something.