• DocumentCode
    2110615
  • Title

    An Accurate and Convenient Undo Mechanism for Refactorings

  • Author

    Maruyama, Katsuhisa

  • Author_Institution
    Dept. of Comput. Sci., Ritsumeikan Univ., Kusatsu
  • fYear
    2006
  • fDate
    6-8 Dec. 2006
  • Firstpage
    309
  • Lastpage
    316
  • Abstract
    Refactoring makes existing source code more understandable and reusable without changing observable behavior. Therefore, applying refactorings to existing source code and reversing the effects of past refactorings are inseparable from tool support to software development and maintenance. This paper proposes a powerful undo mechanism that uses a chain of past refactorings for each source file and determines which refactoring is undoable by monitoring the last refactoring in every chain. The proposed undo mechanism can make an undesired refactoring accurately undone although the refactoring has affected multiple source files. Moreover, it permits a programmer to compatibly execute operations of refactoring undo and editorial undo/redo without the limitation of manual edit of files. A running implementation of the mechanism has been integrated into our developed refactoring browser.
  • Keywords
    software maintenance; refactorings; software development; software maintenance; source code; undo mechanism; Asia; Computer languages; Computer science; Concrete; Java; Manuals; Monitoring; Programming profession; Software maintenance; Software tools;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2006. APSEC 2006. 13th Asia Pacific
  • Conference_Location
    Kanpur
  • ISSN
    1530-1362
  • Print_ISBN
    0-7695-2685-3
  • Type

    conf

  • DOI
    10.1109/APSEC.2006.18
  • Filename
    4137432