Number of lines in the code Scanned while doing Quality Gate Analysis

We would like to know how the number of lines are calculated in code across an organization in
SonarCloud.
Reason being: We started with 500k lines of subscription and went to 1M subscription with in 3 months.
Now after 2 months, When we add a new repo to scan in SonarCloud for Quality Gate Analysis, we get back a message stating that number of lines have exceeded and need to change the organization plan.

Is there any way that someone can help us identify the total number of lines scanned and let us know.

We can give the organization details over email.

Thanks.

Hey there.

The number of lines scanned in your organization can be found in your organization Administration > Billing. The largest branch of each project will count towards your LoC utilization.

Does this help, or are you looking for something else?

Hi Team,

We do have a similar issue, we know the current subsciption is of 250k line and we have a repo of 500k lines. Using sonar UI we included only certain file to scan which would come inside 250k line but the report is still not generation.

Could you please help with this. Thanks in advance.