I’m trying to get familiar with adding new quality gates so I was reading the documentation documentation. Something confused me in the “Use the best Quality Gate configuration” section:
Don’t forget that Quality Gate conditions must use differential values. For example, there’s no point in checking an absolute value such as:
Number of Lines of Code is greater than 1000.
If there is no point in doing this, how come that’s the only option provided by SonarCloud for measuring number of lines of code?
I feel like I must be misunderstanding something.
Trying to think about it more, maybe I’m confused about what is meant by “differential values.” Can you provide some clarity?
- If there’s “no point” in doing “Number of Lines of Code is greater than 1000,” why is that metric provided but only in such a way it can be used like that?
- What is meant by “differential values?”