DocumentCode :
3178915
Title :
A Technique for Just-in-Time Clone Detection in Large Scale Systems
Author :
Barbour, Liliane ; Yuan, Hao ; Zou, Ying
Author_Institution :
Dept. of Electr. & Comput. Eng., Queen´´s Univ., Kingston, ON, Canada
fYear :
2010
fDate :
June 30 2010-July 2 2010
Firstpage :
76
Lastpage :
79
Abstract :
Existing clone tracking tools have limited support for sharing clone information between developers in a large scale system. Developers are not notified when new clones are introduced by other developers or when existing clones are modified. We propose a client-server architecture that centrally detects and maintains clone information for an entire software system stored in a version control system. Clients retrieve a list of clones relevant to the code they are working on from the server. Whenever an update is committed to the version control system, the server detects and incrementally updates clone information. We propose techniques to improve the speed of the incremental clone detection. In order to reduce the number of comparisons required for clone detection, we select representative clones from the existing clone list. We build a string-based technique to compare the newly committed code with the representative clones and to update the clone list. In a case study, we show that our approach significantly reduces the clone detection time, while supporting clone detection across the entire software system.
Keywords :
client-server systems; software maintenance; client-server architecture; incremental clone detection; just-in-time clone detection; large scale systems; string-based technique; version control system; Centralized control; Cloning; Computer architecture; Control systems; Detectors; Large-scale systems; Programming; Software maintenance; Software quality; Software systems;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Program Comprehension (ICPC), 2010 IEEE 18th International Conference on
Conference_Location :
Braga, Minho
ISSN :
1092-8138
Print_ISBN :
978-1-4244-7604-6
Electronic_ISBN :
1092-8138
Type :
conf
DOI :
10.1109/ICPC.2010.13
Filename :
5521760
Link To Document :
بازگشت