Detecting Test Clones with Static Analysis
dc.contributor.author | Jain, Divam | |
dc.date.accessioned | 2013-09-27T14:46:49Z | |
dc.date.available | 2013-09-27T14:46:49Z | |
dc.date.issued | 2013-09-27T14:46:49Z | |
dc.date.submitted | 2013 | |
dc.description.abstract | Large-scale software systems often have correspondingly complicated test suites, which are diffi cult for developers to construct and maintain. As systems evolve, engineers must update their test suite along with changes in the source code. Tests created by duplicating and modifying previously existing tests (clones) can complicate this task. Several testing technologies have been proposed to mitigate cloning in tests, including parametrized unit tests and test theories. However, detecting opportunities to improve existing test suites is labour intensive. This thesis presents a novel technique for etecting similar tests based on type hierarchies and method calls in test code. Using this technique, we can track variable history and detect test clones based on test assertion similarity. The thesis further includes results from our empirical study of 10 benchmark systems using this technique which suggest that test clone detection by our technique will aid test de-duplication eff orts in industrial systems. | en |
dc.identifier.uri | http://hdl.handle.net/10012/7943 | |
dc.language.iso | en | en |
dc.pending | false | en |
dc.publisher | University of Waterloo | en |
dc.subject | software engineering | en |
dc.subject | program slicing | en |
dc.subject | test optimization | en |
dc.subject | clone detection | en |
dc.subject.program | Computer Science | en |
dc.title | Detecting Test Clones with Static Analysis | en |
dc.type | Master Thesis | en |
uws-etd.degree | Master of Mathematics | en |
uws-etd.degree.department | School of Computer Science | en |
uws.peerReviewStatus | Unreviewed | en |
uws.scholarLevel | Graduate | en |
uws.typeOfResource | Text | en |