GeekInterview.com
Series: Subject: Topic:
Question: 79 of 313

Branch coverage

what is the difference between branch coverage, decision coverage and condition coverage, please explain it with the help of an example.
Asked by: RM32306 | Member Since Feb-2008 | Asked on: Feb 6th, 2008

View all questions by RM32306

Showing Answers 1 - 1 of 1 Answers
shahidjabbar

Answered On : Feb 7th, 2008

View all answers by shahidjabbar

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.

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.