Need Clarification on Line Count

Hi Team,

We have got a plan with 250k lines and few days back we have reached the limit, When we caluclate the number of lines in our repos, it is not crossing 150k, Could you please check and let us know the no of lines consumed for the scan till date


Hello @Mani_Deepu,

What is used for licensing purposes is the metric “Lines Of Code”. See in the bottom of this page: Server Logs & System Info | SonarQube Docs.

If you want to re-compute the total LOCs currently consumed, you should look at all your projects scanned on SQ + take the biggest branch of each project and normally this will match what you see in Administration > Configuration > License Manager.