Hi @cseges ,
In the first screenshot, I saw that the last analysis was dated 3 March 2023. This project therefore had 993 Locs, but you should check this now.
Today you may have a problem with your source path or new files in the source directory. Take a look at the analysis configuration.
Thanks for taking the time to look at this! The screenshot is just showing the branch that has the most lines of code in it. There are only 6 branches in this project and the master branch is the biggest:
I see that you are using the latest version of the scanner, namely v8.0.1.
In that version, we introduced multi-language support, which by default analyzes a lot more files.
We are working on a solution on the next patch version, but until then, you can specify /d:sonar.scanner.scanAll=false on the begin step to make your analysis not exceed the LOCs once again.
We just released v8.0.2 of the Scanner for .NET that implements some corrections for coverage files and allows using sonar.exclusions to fine-tune the analyzed files if needed.
Please let us know if this works for your use-case.
Thanks, Gregory! That was it. I’m not sure what it was pulling in to scan in order to exceed 2 million lines of code, but adding that flag fixed the issue.