Sonarqube Enterprise Edition Lines of Code difference

Hi,

I’m using SonarQube Enterprise Edition 8.3.1; I see a non-uniformity in the Lines of Code shown under Liscense manager/System and .that is shown while I’m calculating the LOC inside a Global portfolio (portfolio which lists all the portfolios-> .having all 419 projects). The LOC shown in Global Portfolio is 4,436,372 and that shown in Liscense manager/System is 4,539,650.
So there is clearly a difference of 1lac Lines of code.
Why is it so.

Hey there.

The License Manager is using the largest branch of a project (which counts towards license utiilization), while a Portfolio will only show the Main Branch. This probably accounts for the disparity.

Colin