计算机应用与软件2017,Vol.34Issue(10):7-13,39,8.DOI:10.3969/j.issn.1000-386x.2017.10.002
面向设计层次优化的软件自动化重构
AUTOMATIC SOFTWARE REFACTORING TOWARDS THE OPTIMIZATION OF DESIGN HIERARCHY
摘要
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.关键词
自动化重构/软件设计/模块化/设计层次Key words
Automatic refactoring/Software design/Modularity/Design hierarchy分类
信息技术与安全科学引用本文复制引用
高东静,林云,彭鑫,赵文耘..面向设计层次优化的软件自动化重构[J].计算机应用与软件,2017,34(10):7-13,39,8.基金项目
国家自然科学基金项目(61370079) (61370079)
国家高技术研究发展计划(2012AA011202). (2012AA011202)