I am using * Community Edition* Version 8.9 of sonarqube and for angular project alone we are getting “The main branch has no lines of code.” even though the analysis were made from master branch.
Attaching the log for reference:
Based on the logs, you’re running the very first version of SonarQube v8.9 LTS that was released.
Community 8.9.0.43852
The latest version is v8.9.10 with almost 2 years of bug/security fixes. The first step you should take is to upgrade to the latest bugfix version (v8.9.10) and see if the issue persists.
I would also make sure that the files you expect to be analyzed are located under /p01/app/ibm/ucb/agent/var/work/project/com_hminc_medicaid_memberportal/mmpsui, as that’s the only place the scanner is looking.