This analysis will make your organization 'xxx' to reach the maximum allowed lines limit

We are using the bitbucket (cloud) pipelines to analyse our code. The analysis step runs successfully, however we receive an error when the results are published to sonarcloud.io saying that the maximum lines supported within our subscription (1M) will be exceeded.

Is there anyway to find out the number of lines that it would be exceeded by as this will help us decide whether to upgrade our subscription?

This information is not available for now - and I agree that it would be nice to display it (we’ll work on this).

2 Likes

This would be very helpful for us too - it took a bit of trial-and-error for us to get into the right bracket, and unfortunately we’re still not 100% sure we’re in the right subscription - we’ve had to exclude CSHTML files (Razor syntax parsing issues) and we’re working on ensuring third-party JS files are excluded.