Hi we are using LTS 9.4 version of sonarqube install from zip.
I know that in each project the branch with the higher number of LOC is counting.
In the main page of project i am expecting to see this number of LOC and from what i checked it is the working in this way.
Our problem is that from administration and licence management we see that we have 91k+ LOC used but in the main projects pages if you summarize the LOC you get 61k+ LOC.
So from where could this discrepancy come? What do we miss?
The project main page shows you the LOC of the project’s main branch.
In recent version of SonarQube there’s a web service to get the data you’re looking for: api/projects/license_usage.
Make sure you upgrade to SonarQube v9.9 LTS soon, not only to benefit from our Best LTS Ever™, but because soon we will systematically ask users to upgrade when they ask questions about earlier versions of SonarQube, which are now considered unsupported.