Detecting Test Clones with Static Analysis

dc.contributor.authorJain, Divam
dc.date.accessioned2013-09-27T14:46:49Z
dc.date.available2013-09-27T14:46:49Z
dc.date.issued2013-09-27T14:46:49Z
dc.date.submitted2013
dc.description.abstractLarge-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.urihttp://hdl.handle.net/10012/7943
dc.language.isoenen
dc.pendingfalseen
dc.publisherUniversity of Waterlooen
dc.subjectsoftware engineeringen
dc.subjectprogram slicingen
dc.subjecttest optimizationen
dc.subjectclone detectionen
dc.subject.programComputer Scienceen
dc.titleDetecting Test Clones with Static Analysisen
dc.typeMaster Thesisen
uws-etd.degreeMaster of Mathematicsen
uws-etd.degree.departmentSchool of Computer Scienceen
uws.peerReviewStatusUnrevieweden
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Jain_Divam.pdf
Size:
423.02 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
245 B
Format:
Item-specific license agreed upon to submission
Description: