International Journal Peer-reviewed

Supporting Refactoring Activities Using Histories of Program Modification

Shinpei Hayashi, Motoshi Saeki, Masahito Kurihara

IEICE Transactions on Information and Systems, vol. E89-D, no. 4, pp. 1403–1412, April 2006.

Abstract

Refactoring is one of the promising techniques for improving program design by means of program transformation with preserving behavior, and is widely applied in practice. However, it is difficult for engineers to identify how and where to refactor programs, because proper knowledge and skills of a high order are required of them. In this paper, we propose the technique to instruct how and where to refactor a program by using a sequence of its modifications. We consider that the histories of program modifications reflect developers' intentions, and focusing on them allows us to provide suitable refactoring guides. Our technique can be automated by storing the correspondence of modification patterns to suitable refactoring operations. By implementing an automated supporting tool, we show its feasibility. The tool is implemented as a plug-in for Eclipse IDE. It selects refactoring operations by matching between a sequence of program modifications and modification patterns.

Related papers

This work builds on

Continued in

BibTeX

@article{hayashi-ieicet200604,
    author = {Shinpei Hayashi and Motoshi Saeki and Masahito Kurihara},
    title = {Supporting Refactoring Activities Using Histories of Program Modification},
    journal = {IEICE Transactions on Information and Systems},
    volume = {E89-D},
    number = 4,
    pages = {1403--1412},
    doi = {10.1093/ietisy/e89-d.4.1403},
    year = 2006,
}
Type
International Journal
Published
April 2006
Volume / Pages
vol. E89-D, no. 4, pp. 1403–1412
DOI
10.1093/ietisy/e89-d.4.1403