It’s not that fewer than 20 lines aren’t analyzed. It’s that Quality Gate conditions on Coverage on New Code and Duplications on New Code aren’t enforced when there are fewer than 20 new lines.
A toggle to turn off this behavior has been added to SonarQube, but not in SonarCloud.
Hi Ann, if there are no plans to add a user setting for minimum number of lines changed to affect a quality gate, it would be very much appreciated if you could at least display a notification in the summary page explaining why the quality gate passed regarding this issue. Currently sonarcloud does not explain this in the summary nor in the detailed measures reports. Thanks!