Branch coverage

What is the difference between branch coverage, decision coverage and condition coverage, please explain it with the help of an example.

Questions by RM32306

Showing Answers 1 - 1 of 1 Answers

Branch coverage (sometimes called Decision Coverage) measures which possible branches in flow control structures are followed. Clover does this by recording if the boolean expression in the control structure evaluated to both true and false during execution.
It comes under types of measured coverages. i.e. Statement coverage, branch coverage, and method coverage.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Answer Question

Click here to Login / Register your free account


 
Send   Reset

 

Related Answered Questions

 

Related Open Questions