On the use of genetic programming for automated refactoring and the introduction of design patterns
On the use of genetic programming for automated refactoring and the introduction of design patterns
复制标题
DOI:
10.1145/1830483.1830731
复制
发表时间:
2010-07
期刊:
影响因子:
--
通讯作者:
Adam C. Jensen;B. Cheng
中科院分区:
文献类型:
--
作者:
Adam C. Jensen;B. Cheng
Maintaining an object-oriented design for a piece of software is a difficult, time-consuming task. Prior approaches to automated design refactoring have focused on making small, iterative changes to a given software design. However, such approaches do not take advantage of composition of design changes, thus limiting the richness of the refactoring strategies that they can generate. In order to address this problem, this paper introduces an approach that supports composition of design changes and makes the introduction of design patterns a primary goal of the refactoring process. The proposed approach uses genetic programming and software engineering metrics to identify the most suitable set of refactorings to apply to a software design. We illustrate the efficacy of this approach by applying it to a large set of published models, as well as a real-world case study