SWE 637 Homework 4
Fall 2006
Graph Coverage: Due 10/17, beginning of class


What you discover on your own is always more exciting than what someone else discovers for you - it's like the difference between romantic love and an arranged marriage.
- Terrence Rafferty

Answer the following questions. Bring hardcopies of your answers to class, hand written or printouts. All homeworks are due before class on the due date. Please remember that the GMU Honor Code is in effect: You may discuss the assignment with each other, the professor, or the GTA, but each homework should be done individually.

  1. Coverage tool experience. (20 pts)
    (Only one question) You can choose one of two tools for this assignment, Agitar's agitator or Rational's PurifyPlus. Use whichever tool you choose to achieve coverage on our favorite vending machine program, vendingMachine.java.

    Your submission should include a short writeup that indicates which tool you used and details as specified below.

    Submission: Explain what coverage criterion you were able to satisfy, and how you obtained your test inputs. Also turn in a listing of the tests you ran. You should identify any code that you are unable to cover, and explain why it is not covered.