4 ms·
Maybe the author means something else. How else could you hit 100% of the lines if you're not covering all branches.
by abdusco 3y ago
Maybe the author means something else. How else could you hit 100% of the lines if you're not covering all branches.
- morelisp 3y agoif (a || b) { ... } Branch coverage means testing a = true, b = anything; and a = false, b = true; and a = false, b = false.