DocumentCode :
2024625
Title :
On refactoring support based on code clone dependency relation
Author :
Yoshida, Norihiro ; Higo, Yoshiki ; Kamiya, Toshihiro ; Kusumoto, Shinji ; Inoue, Katsuro
Author_Institution :
Graduate Sch. of Inf. Sci. & Technol., Osaka Univ.
fYear :
2005
fDate :
1-1 Sept. 2005
Lastpage :
16
Abstract :
Generally, code clones are regarded as one of the factors that make software maintenance more difficult. A code clone is a set of source code fragments identical or similar to each other from the viewpoint of software maintainability, code clones should be removed. However, sometimes there are dependency relations among each of which belong to the different code clone, and it is advisable to refactor all of such code clones at once. In this paper, we focus on the case that such code fragment corresponds to a method body in Java programs. We defined "chained method" as a set of methods that have dependency relations. A set of "chained methods" whose elements are each other\´s code clone is called "chained clone", and an equivalence class of "chained clone" is called a "chained clone set". We propose a refactoring support method for "chained clone set" by providing an appropriate refactoring pattern to them. Finally, we present the "chained clone set" refactoring support tool that we have developed, together with some case studies to show the usefulness of the proposed method
Keywords :
Java; equivalence classes; object-oriented programming; reverse engineering; software maintenance; Java programs; chained method; code clone dependency relation; equivalence class; refactoring pattern; software maintenance; source code fragments; Application software; Cloning; Computer industry; Industrial relations; Information science; Java; Large-scale systems; Open source software; Software maintenance; Software tools;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Metrics, 2005. 11th IEEE International Symposium
Conference_Location :
Como
ISSN :
1530-1435
Print_ISBN :
0-7695-2371-4
Type :
conf
DOI :
10.1109/METRICS.2005.36
Filename :
1509294
Link To Document :
بازگشت