which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
=> Version: 188.8.131.52547
what are you trying to achieve
How to calculate the total LOC ? (total projects: 70)
What can be reason of immediate increase in total LOC ?
How can we use Sonarqube web API to get LOC data of each project?
what have you tried so far to achieve this
=> Based on the Sonarqube documentation, For LOC of individual project , branch having largest LOC will be considered. And sum of all projects’ LOCs will be considered the total LOC.
=> Last week, we have tried noting down the LOC of each project and calculated the sum of all . My calculation summed up to 493 K, but the administration page has different total = 524K.
=> While we were thinking to monitor the change in number , In three days , the administration page shows total increased to 966K which means it’s about to reach our threshold of 1M.
I would be grateful for the response on this ticket/topic.