Branch coverage which is also called as Decision coverage report s the true or false of the conditions like if-else, case and the ternary operator (? :) statements. For an "if" statement, decision coverage will report whether the "if" statement is evaluated in both true and false cases, even if "else" statement doesn't exist.
Branch coverage report of the example: At line 15 branch b = e; not covered At line 17 branch e = b; covered At line 20 branch 1: f = 1; not covered At line 21 branch 0: f = 0; covered At line 22 branch default: f = 0; not covered Coverage percentage: 40.00 (2/5)