How can I determine how many lines of code need to be analysed?

I am using Azure Devops with SonarCloud and building a solution with several C# projects. I started with the 100k LOC package but the limit was exceeded. I upgraded to the 250k LOC package but still the limit is exceeded.

I calculated the code metrics in Visual Studio and the total lines of code was just under 83k. I assume the difference is coming from referenced assemblies (nuget, etc.).

How can I determine how many lines of code are going to be analysed so I can budget correctly?

Edit: I think the additional lines are coming from JavaScript libraries.

Hi,

We generally advise that you set exclusions to keep libraries from being analyzed.

 
Ann