The Community for Technology Leaders
Green Image
Issue No. 04 - July/August (2010 vol. 27)
ISSN: 0740-7459
pp: 52-57
Gustavo Soares , Federal University of Campina Grande, Campina Grande
Tiago Massoni , Federal University of Campina Grande, Campina Grande
Dalton Serey , Federal University of Campina Grande, Campina Grande
Rohit Gheyi , Federal University of Campina Grande, Brazil
ABSTRACT
Developers rely on compilation, test suites, and tools to preserve observable behavior during refactoring. However, most refactoring tools don't implement all the preconditions that guarantee refactoring correctness because formally identifying them is cost-prohibitive. Therefore, these tools could perform nonbehavior-preserving transformations. The authors present a tool for improving safety during refactoring that automatically generates a test suite suited for detecting behavioral changes. They used this tool to evaluate seven real case study refactorings (from 3 to 100 KLOC).
INDEX TERMS
refactoring, behavior preservation, unit testing, software engineering
CITATION
Gustavo Soares, Tiago Massoni, Dalton Serey, Rohit Gheyi, "Making Program Refactoring Safer", IEEE Software, vol. 27, no. , pp. 52-57, July/August 2010, doi:10.1109/MS.2010.63
91 ms
(Ver )