International Conference Short paper

Refactoring Edit History of Source Code

Shinpei Hayashi, Takayuki Omori, Teruyoshi Zenmyo, Katsuhisa Maruyama, Motoshi Saeki

In Proceedings of the 28th IEEE International Conference on Software Maintenance (ICSM 2012), pp. 617–620, Riva del Garda, Trento, Italy, September 2012.

Abstract

This paper proposes a concept for refactoring an edit history of source code and a technique for its automation. The aim of our history refactoring is to improve the clarity and usefulness of the history without changing its overall effect. We have defined primitive history refactorings including their preconditions and procedures, and large refactorings composed of these primitives. Moreover, we have implemented a supporting tool that automates the application of history refactorings in the middle of a source code editing process. Our tool enables developers to pursue some useful applications using history refactorings such as task level commit from an entangled edit history and selective undo of past edit operations.

Related papers

This work builds on

Continued in

BibTeX

@inproceedings{hayashi-icsm2012,
    author = {Shinpei Hayashi and Takayuki Omori and Teruyoshi Zenmyo and Katsuhisa Maruyama and Motoshi Saeki},
    title = {Refactoring Edit History of Source Code},
    booktitle = {Proceedings of the 28th IEEE International Conference on Software Maintenance},
    pages = {617--620},
    doi = {10.1109/ICSM.2012.6405336},
    year = 2012,
}
Type
International Conference
Conference
ICSM 2012
Location
Riva del Garda, Trento, Italy
Presented
September 27, 2012
Volume / Pages
pp. 617–620
Acceptance rate
16/44 (36%)
DOI
10.1109/ICSM.2012.6405336