AUTOMATIC SOFTWARE REFACTORING TOWARDS THE OPTIMIZATION OF DESIGN HIERARCHY

Dongjing Gao,Yun Lin,Xin Peng,Wenyun Zhao
DOI: https://doi.org/10.3969/j.issn.1000-386x.2017.10.002
2017-01-01
Abstract:At present,many researchers have explored automated software refactoring and developed a series of refactoring tools designed to help developers conduct refactoring tasks with more efficiency and improve the code quality accordingly.However,existing software refactoring tools mainly focus on improving the code quality from a local perspective instead of an overall design perspective.On the other hand,search-based refactoring approaches usually aim at improving some specific code metrics instead of modularized and layered software design.This paper proposes a novel search-based automatic software refactoring approach,which leverages DSM-based code metric to modularize code.This approach is able to generate refactoring suggestions to achieve an optimal modularized and layered software design.This paper also introduces a proof-of-concept tool,DSMRefactoring,and applies the tool on an open-source system.The results validate the effectiveness of both the approach and its proof-of-concept tool.
What problem does this paper attempt to address?