Question: dd to the class a method called buggyMethod 2 that contains a division by zero fault such that ( 1 ) it is possible to

dd to the class a method called buggyMethod2 that contains a
division by zero fault such that (1) it is possible to create a test suite that
achieves 100% statement coverage and does not reveal the fault, and (2)
every test suite that achieves more than 50% branch coverage reveals the
fault.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!