When there are less than 20 lines of code changed, the quality gate does not apply the conditions about coverage or duplications.
There should be a note there to prevent confusion, and we have an open ticket in the backlog to add that note. It’s also in our backlog to align the behavior with SonarQube and give an option to turn this threshold off.