SonarCloud pricing


A question regarding pricing for Sonarcloud:

  1. If you scan a repo once in a month (with Sonarcloud integrated into your pipeline) and the repo has 100k lines of code - you pay €10.
  2. If the next month, you want to scan only the new code associated with this repo, which also has 100k lines of code, do you still only pay €10 as the number of new lines scanned is 100k or do you have to pay €75, as the total lines of code is 200k?

Thank you

Hi @VS1234 ,

The number of line of code is calculated from the “biggest” branch (in terms of LoC), So if the biggest branch is 100k ncloc, you will pay for 100k according to.