DocumentCode :
3179131
Title :
Renaming Parts of Identifiers Consistently within Code Clones
Author :
Jablonski, Patricia ; Hou, Daqing
Author_Institution :
Sch. of Eng., Clarkson Univ., Potsdam, NY, USA
fYear :
2010
fDate :
June 30 2010-July 2 2010
Firstpage :
38
Lastpage :
39
Abstract :
Copying and pasting source code results in code duplication. A common form of software reuse involves modifying the new duplicate to fit a current task. The similar code fragments (code clones) may be edited inconsistently by the programmer, for various reasons, leaving a bug in the software that may remain undetected by both the programmer and the compiler. A previously published tool, CReN, helps the programmer by automatically renaming all instances of the same identifier consistently within a clone when one is edited. In this tool demo, we introduce an extension of CReN, an Eclipse plug-in named LexId, which renames the same parts of different identifiers consistently together within code clones.
Keywords :
software reusability; software tools; CReN tool; LexId plug-in; code clones; code duplication; identifier renaming; software reuse; Cloning; Error correction; Java; Program processors; Programming profession; Eclipse integrated development environment; Java; code clone; copy-and-paste programming; identifier renaming;
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.23
Filename :
5521776
Link To Document :
بازگشت