Title :
Toward an Implementation of the "Form Template Method" Refactoring
Author :
Juillerat, Nicolas ; Hirsbrunner, Béat
Author_Institution :
Univ. of Fribourg, Fribourg
fDate :
Sept. 30 2007-Oct. 1 2007
Abstract :
This paper presents an implementation of the "form template method" refactoring. This transformation has not been automated yet, but has many similarities with other transformations such as clone detection and removal or method extraction. Forming a template method is a difficult process because it has to deal with code statements directly. Few abstractions and algorithms have been investigated yet, compared to transformations dealing with higher level aspects such as the classes, methods, fields and their relations. We present a new algorithm that performs this transformation in a semi-automated way on Java programs. We state the difficulties inherent to this transformation and propose solutions to handle them.
Keywords :
Java; object-oriented programming; software maintenance; Java programs; classes; clone detection; code statements; fields; form template method refactoring; method extraction; methods; Cloning; Computer architecture; Concrete; Counting circuits; Degradation; Entropy; Java; Software engineering; Standards development;
Conference_Titel :
Source Code Analysis and Manipulation, 2007. SCAM 2007. Seventh IEEE International Working Conference on
Conference_Location :
Paris
Print_ISBN :
978-0-7695-2880-9
DOI :
10.1109/SCAM.2007.11