- Using SonarQube version 6.7.4 (build 38452)
I’m looking for clarification on when “Some Quality Gate conditions on New Code were ignored because of the small number of New Lines” is expected to appear?
We are nearing a release and therefore are at the end of a leak period which is a couple of months long. Recently someone changed (reformatted) 3 lines of code in a project that hasn’t been touched the entire release. Those 3 lines of code got flagged by our quality gate because they didn’t have any unit tests.
However, these were not new lines of code, exactly. They were just old lines, reformatted. Additionally, they were reformatted by a developer who did not write the original code. Although the desired action is for him to write new unit tests, I’m curious as to why the “Some Quality Gate conditions on New Code were ignored because of the small number of New Lines” did not appear given that only 3 lines were changed for this project?
Is this supposed to be on a per-project basis? Or is it supposed to encompass all the projects and be on a per-release basis? Or does it only appear at the beginning of a leak period? I’d like to understand this better.
Thank you in advance.