SWE 637 Homework 7
Spring 2017
Control Flow Coverage Tools


Use a Java code coverage tool to build and analyze a test set for for some class in java.util. (You can find the source code with Google.) You should strive to get the coverage as high as possible. To execute the code in isolation, you may have to change the code in some minor ways (eg by renaming). You may also remove some code if it proves especially problematic for you. You should document any changes you made for test purposes. Notice that the classes vary quite a bit in size.

You should turn in a report that

You should format your tests as JUnit tests.

As for which tools to use, you may wish to start by googling "java test coverage". In the past, many students have used the Emma tool.

It is not necessary for you to submit this assignment electronically.

Notes: