How do i pre determine LOC of a project before sending it to sonarcube / cloud

How do i pre determine LOC of a project before sending it to sonarcube / cloud. Tested running the cloc function on the repos but the cloc function of the projects listed close to 500k lines of code but the actual sonar scan later only showed 80k used in the license. Yes these where newly published projects that where not previusly scanned, what Im looking for is a method / strategy to predetermine LOC with as close value of LOC to the actual sonar scan as possible. Thx

Hi,

Welcome to the community!

This may help:

 
Ann