DocumentCode :
2709516
Title :
Simultaneous Modification Support based on Code Clone Analysis
Author :
Higo, Yoshiki ; Ueda, Yasushi ; Kusumoto, Shinji ; Inoue, Katsuro
Author_Institution :
Osaka Univ., Osaka
fYear :
2007
fDate :
4-7 Dec. 2007
Firstpage :
262
Lastpage :
269
Abstract :
Maintaining software systems becomes more difficult as their size and complexity increase. One factor that makes software maintenance more difficult is the presence of code clones. A code clone is defined as a code fragment occurring more than once in identical or similar form into a software system. For example, the presence of code clones is a big factor of overlooking some places that should be modified simultaneously. One technique that helps the number of code clones is refactoring. There are several research efforts that provide support to refactor code clones, but unfortunately some code clones cannot or should not be refactored (ex. stereotyped process, absence of abstraction functionality, performance enhancement). In order to support maintaining the consistency among code clones, we propose a simultaneous modification support method. Given a software system, firstly, a maintainer identifies a code fragment that must be modified. Then, only the code clones between the identified code fragment and the source files of the software system are detected. We developed a simultaneous modification support tool, Libra, and applied it to open source software systems. The results showed that Libra was a good searching tool as much as grep, which is a useful tool of UNIX.
Keywords :
Unix; public domain software; software maintenance; Libra; UNIX; code clone analysis; code fragment; open source software systems; refactoring; searching tool; simultaneous modification support method; software maintenance; software systems; Cloning; Costs; Information analysis; Information science; Maintenance engineering; Merging; Software engineering; Software maintenance; Software systems; Technological innovation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference, 2007. APSEC 2007. 14th Asia-Pacific
Conference_Location :
Aichi
ISSN :
1530-1362
Print_ISBN :
0-7695-3057-5
Type :
conf
DOI :
10.1109/ASPEC.2007.44
Filename :
4425863
Link To Document :
بازگشت