Making Program Refactoring Safer
Authors:
- 1 July 2010
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Software
- Vol. 27 (4) , 52-57
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).Keywords
This publication has 9 references indexed in Scilit:
- Assessing Intra-application Exception Handling Reuse with Aspects2009
- From Public to Private to Absent: Refactoring Java Programs under Constrained Accessibility2009
- How we refactor, and how we know it2009
- Sound and extensible renaming for java2008
- Automated testing of refactoring engines2007
- Exception Handling: A Field Study in Java and .NET2007
- Feedback-Directed Random Test Generation29th International Conference on Software Engineering (ICSE'07), 2007
- Efficiently Refactoring Java Applications to Use Generic Libraries2005
- A survey of software refactoringIEEE Transactions on Software Engineering, 2004