Empirical Studies of Clone Mutation and Clone Migration in Clone Genealogies
Xie, Shuai Jr
MetadataShow full item record
Duplications 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.
URI for this recordhttp://hdl.handle.net/1974/8246
Request an alternative formatIf you require this document in an alternate, accessible format, please contact the Queen's Adaptive Technology Centre
Showing items related by title, author, creator and subject.
Cloning the Kinase Domain of Transient Receptor Potential Melastatin 7 for Mammalian Cell Expression Freeman, Howie (2014-04-27)Transient Receptor Potential Melastatin 7 is a ubiquitously expressed divalent ion channel. It plays a crucial role in several fundamental biological processes. As a channel, it supports cell cycle progression, stress ...
Roy, Chanchal (2009-08-31)Software clones are considered harmful in software maintenance and evolution. However, despite a decade of active research, there is a marked lack of work in the detection and analysis of near-miss software clones, those ...
Molecular cloning and characterization of the allatostatin receptor in the cockroach Diploptera punctata Lungchukiet, Panida (2008-04-24)Allatostatins (ASTs) are neuropeptides that inhibit the biosynthesis and release of juvenile hormone from the corpora allata (CA) of various insects including the cockroach Diploptera punctata. We hypothesized that a similar ...