DocumentCode
1986158
Title
Evaluating the Extended Refactoring Guidelines
Author
Basit, Wafa ; Lodhi, Fakhar ; Bhatti, Muhammad Usman
Author_Institution
Nat. Univ. of Comput. & Emerging Sci., Lahore, Pakistan
fYear
2012
fDate
16-20 July 2012
Firstpage
260
Lastpage
265
Abstract
Refactoring is a process that improves the internal structure of a program without changing its externally observable behavior. On the contrary, in many cases refactoring support for java outputs semantically non-equivalent code after refactoring. Also, the research on refactoring has mostly focused on restructuring a class, its parent and child classes only. However, refactoring will not be complete without updating other components in the program that may be impacted because of this change. In particular, clients and test classes associated with the restructured classes may be affected by this change and hence must be updated accordingly. In this work, we have identified the exact nature of changes required in these effected components and the elements contained in them. Using this information we have developed extended refactoring guidelines that address semantic violations of program behavior during refactoring. We also report our findings from an experiment performed to judge the usability and effectiveness of the extended guidelines for Move Method refactoring.
Keywords
Java; program testing; software maintenance; Java outputs; clients classes; extended refactoring guidelines; move method refactoring; observable behavior; program behavior; restructured classes; semantic violations; test classes; unit testing; Guidelines; Java; Maintenance engineering; Production; Semantics; Software; Testing; Refactoring; maintenance; postconditions; preconditions; unit testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Software and Applications Conference Workshops (COMPSACW), 2012 IEEE 36th Annual
Conference_Location
Izmir
Print_ISBN
978-1-4673-2714-5
Electronic_ISBN
978-0-7695-4758-9
Type
conf
DOI
10.1109/COMPSACW.2012.55
Filename
6341585
Link To Document