What is Code Coverage? | Qodana

Code coverage gives teams visibility into the relationship between their tests and the real behaviour of their systems.

When used correctly, it helps you uncover untested logic paths, avoid regressions by ensuring tests exercise critical code, reduce the chance of shipping unintended behaviour, prioritize risky areas of large and complex codebases and make test quality measurable – not just test quantity

A common misconception is that code coverage guarantees quality. It does not. Instead, it shows you where your tests aren’t looking yet.

Read more here: Source link