DocumentCode :
1997245
Title :
Detecting Occurrences of Refactoring with Heuristic Search
Author :
Hayashi, Shinpei ; Tsuda, Yasuyuki ; Saeki, Motoshi
Author_Institution :
Dept. of Comput. Sci., Tokyo Inst. of Technol., Tokyo
fYear :
2008
fDate :
3-5 Dec. 2008
Firstpage :
453
Lastpage :
460
Abstract :
This paper proposes a novel technique to detect the occurrences of refactoring from a version archive, in order to reduce the effort spent in understanding what modifications have been applied. In a real software development process, a refactoring operation may sometimes be performed together with other modifications at the same revision. This means that understanding the differences between two versions stored in the archive is not usually an easily process. In order to detect these impure refactorings, we model the detection within a graph search. Our technique considers a version of a program as a state and a refactoring as a transition. It then searches for the path that approaches from the initial to the final state. To improve the efficiency of the search, we use the source code differences between the current and the final state for choosing the candidates of refactoring to be applied next and estimating the heuristic distance to the final state. We have clearly demonstrated the feasibility of our approach through a case study.
Keywords :
graph theory; reverse engineering; search problems; software engineering; graph search; heuristic distance; heuristic search; refactoring occurrences detection; refactoring operation; software development process; Artificial intelligence; Computer science; Costs; Information science; Java; Open source software; Programming; Software engineering; Software libraries; State estimation; Refactoring; Searching; Software Modification; Version Management;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference, 2008. APSEC '08. 15th Asia-Pacific
Conference_Location :
Beijing
ISSN :
1530-1362
Print_ISBN :
978-0-7695-3446-6
Type :
conf
DOI :
10.1109/APSEC.2008.9
Filename :
4724578
Link To Document :
بازگشت