SonarCloud analyzes only the JSON or YAML files that are required to be scanned because we have rules that can be applied to them. We count LOCs only in these files because this is what impacts the price you pay at the end of the month. We donβt want to charge you artificially.