Suddenly exceeding the 250K LoC limit

Hello guys,

We’re having this error when quality gate kicks in, all seems right on our end. Even disabled Size:2x to check if that was the issue.

Project have 24K of code and i’m getting this message:

*This analysis will make your organization ‘. . .’ to reach the maximum allowed lines limit (having 324678 lines). *
Please contact the administrator of the organization to resolve this issue.
image

Please help.

I’m having similar issue: LOC Exceeded on Sonar Cloud
Hope someone helps.

Hey @PedroViana

What language(s) are you analyzing primarily in the project that is pushing you over the limit?

Good Day Colin,

CSS: 19K LoC
HTML: 3.8K LoC
javascript: 799 LoC

Cheers,

Thanks.

Typically, this means something has changed with the files that are a part of your project. Something is included that wasn’t before (or an exclusion was removed).

You can see exactly what files are being analyzed if you turn on DEBUG logging and look at the scanner logs. This would also point to any languages you didn’t think were a part of the analysis.

It’s even better if you are able to compare previous logs from an analysis – although you probably don’t have DEBUG logging turned on, you can still the languages and number of files indexed.