IEEE Software · 2010 · 97 citations · 9 references
ComputingComputer ScienceCompilersSafety EngineeringSoftware EngineeringBehavioral AnalysisSoftware DesignSoftware RefactoringSoftware TestingAutomated RefactoringBehavior-preserving RefactoringRefactoringRefactoring SafetyRefactoring Safety AnalysisTest Suite GenerationTransformations
Developers rely on compilation, test suites, and tools to preserve observable behavior during refactoring, but most refactoring tools lack formal preconditions, making nonbehavior‑preserving transformations possible. The authors aim to improve refactoring safety by automatically generating a test suite tailored to detect behavioral changes. They evaluated the tool on seven real case study refactorings ranging from 3 to 100 KLOC.
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).
9
Refactoring improving the design of existing code
Mauricio A. Saca · 2017 · 2.1K citations
A survey of software refactoring
Tom Mens, Tom Tourwé · IEEE Transactions on Software Engineering · 2004 · 1.2K citations · Full text
Refactoring object-oriented frameworks
William F. Opdyke · 1992 · 1K citations
Automated testing of refactoring engines
Brett Daniel, Danny Dig, Kely Garcia et al. · 2007 · 226 citations · Full text