An Approach to GA-Driven Automatic Refactoring Based on Design Patterns
Takao Shimomura, Kenji Ikeda, Muneo Takahashi · 2010
Refactoring is a process of applying behavior-preserving transformations to improve the design, readability, structure, performance, abstraction, and maintainability of existing code. This paper presents an approach to genetic algorithm-driven refactoring for Java programs to automatically judge the qualities of programs based on design patterns. If a program is judged to be bad, refactoring will be further recommended so that the program can be transformed using an appropriate design pattern.