Title :
Advanced clone-analysis to support object-oriented system refactoring
Author :
Balazinska, Magdalena ; Merlo, Ettore ; Dagenais, Michel ; Lagüe, Bruno ; Kontogiannis, Kostas
Author_Institution :
Dept. of Electr. & Comput. Eng., Ecole Polytech., Montreal, Que., Canada
Abstract :
Manual source code copy and modification is often used by programmers as an easy means for functionality reuse. Nevertheless, such practice produces duplicated pieces of code or clones whose consistent maintenance might be difficult to achieve. It also creates implicit links between classes sharing a functionality. Clones are therefore good candidates for system redesign. This paper presents a novel approach for computer-aided clone-based object-oriented system refactoring. The approach is based on an advanced clone analysis which focuses on the extraction of clone differences and their interpretation in terms of programming language entities. It also focuses on the study of contextual dependencies of cloned methods. The clone analysis has been applied to JDK 1.1.5, a large scale system of 150 KLOC
Keywords :
object-oriented programming; reverse engineering; software maintenance; software reusability; JDK; clone analysis; functionality reuse; large scale system; object-oriented system refactoring; programming language; reverse engineering; software maintenance; source code copy; system redesign; Cloning; Computer languages; Electronic mail; Information analysis; Large-scale systems; Programming profession; Software libraries; Software systems;
Conference_Titel :
Reverse Engineering, 2000. Proceedings. Seventh Working Conference on
Conference_Location :
Brisbane, Qld.
Print_ISBN :
0-7695-0881-2
DOI :
10.1109/WCRE.2000.891457