Show simple item record

dc.contributor.authorXie, Shuai Jren
dc.date2013-09-01 22:10:47.925
dc.date.accessioned2013-09-03T20:16:15Z
dc.date.available2013-09-03T20:16:15Z
dc.date.issued2013-09-03
dc.identifier.urihttp://hdl.handle.net/1974/8246
dc.descriptionThesis (Master, Electrical & Computer Engineering) -- Queen's University, 2013-09-01 22:10:47.925en
dc.description.abstractDuplications and changes made on code segments by developers form code clones. Cloned code segments are exactly the same or have a particular similarity. A set of cloned code segments that have the same similarity with each other become a clone group. A clone genealogy contains several clone groups in different revisions and time periods. Based on different textual similarities, there are three clone types, i.e., Type-1, Type-2, and Type-3. Clone mutation contains the changes of clone types in the clone evolutions. Clone migration is known as moving cloned code segment to another location in the software system. In this thesis, we build clone genealogies by clone groups in two empirical studies. We conduct two studies on clone migration and clone mutation in clone genealogies. We use three large open source software systems in both studies. In the first study, we investigate if the fault-proneness of clone genealogies is affected by different patterns of clone mutation and different evolution patterns of distances among clones in clone groups. We conclude that clone groups mutated between Type-1 and Type-2 and between Type-1 and Type-3 clones have higher risk for faults. We find that modifying the location of a clone increases its risk for faults. In the second study, we study if the fault-proneness of migrated clones is affected by clone mutation with different changes on clone types. We examine if the length of time interval between clone migration and the last change of the cloned code has an impact on the faultiness of migrated clones. Our results show that the clone migration associated with clone mutation is more fault-prone than the clone migration without clone mutation. We find that a longer time interval between clone migration and the last change makes the migrated clones more fault-prone.en
dc.language.isoengen
dc.relation.ispartofseriesCanadian thesesen
dc.rightsThis publication is made available by the authority of the copyright owner solely for the purpose of private study and research and may not be copied or reproduced except as permitted by the copyright laws without written authority from the copyright owner.en
dc.subjectClone Migrationen
dc.subjectClone Mutationen
dc.subjectClone Genealogyen
dc.titleEmpirical Studies of Clone Mutation and Clone Migration in Clone Genealogiesen
dc.typethesisen
dc.description.degreeM.A.Sc.en
dc.contributor.supervisorZou, Yingen
dc.contributor.departmentElectrical and Computer Engineeringen
dc.degree.grantorQueen's University at Kingstonen


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record