Search‐based refactoring: an empirical study
- 13 August 2008
- journal article
- research article
- Published by Wiley in Journal of Software Maintenance and Evolution: Research and Practice
- Vol. 20 (5) , 345-364
Abstract
Object‐oriented systems that undergo repeated addition of functionality commonly suffer a loss of quality in their underlying design. This problem must often be remedied in a costly refactoring phase before further maintenance programming can take place. Recently search‐based approaches to automating the task of software refactoring, based on the concept of treating object‐oriented design as a combinatorial optimization problem, have been proposed. However, because search‐based refactoring is a novel approach it is yet to be established as to which search techniques are most suitable for the task. In this paper we report the results of an empirical comparison of simulated annealing (SA), genetic algorithms (GAs) and multiple ascent hill‐climbing (HCM) in search‐based refactoring. A prototype automated refactoring tool is employed, capable of making radical changes to the design of an existing program in order that it conforms more closely to a contemporary quality model. Results show HCM to outperform both SA and GA over a set of five input programs. Copyright © 2008 John Wiley & Sons, Ltd.Keywords
This publication has 24 references indexed in Scilit:
- Getting the most from search-based refactoring2007
- A multi-objective approach to search-based test data generation2007
- Search-based software maintenance2006
- Metrics are fitness functions too2004
- Automatic clustering of software systems using a genetic algorithm2003
- An architecture for distributing the computation of software clustering algorithms2002
- The next release problemInformation and Software Technology, 2001
- Evolutionary test environment for automatic structural testingInformation and Software Technology, 2001
- Generating software test data by evolutionIEEE Transactions on Software Engineering, 2001
- Bunch: a clustering tool for the recovery and maintenance of software system structures1999