Are you preparing for the Foundation Level certification and confused about the difference between statement coverage and branch coverage?
In this video I explain with an example why having 100% statement coverage does not necessarily imply that you achieve 100% branch coverage.
This topic often generates a lot of confusion and is an exam question.
Frequently asked questions
Does 100% statement coverage imply 100% branch coverage?
Not necessarily. In the video I explain it with an example.
Is this topic on the Foundation Level exam?
Yes: it often causes confusion and it's an exam question.
Keep reading: Measuring coverage does not increase quality and Masking defects.. If you want to go deeper, I recommend the course Foundation Level (CTFL) certification preparation.