arrow
返回

3Erefactor: Effective, Efficient and Executable Refactoring Recommendation for Software Architectural Consistency

delete2024-10-01
delete0
PRE
AI
J
Jingwen Liu
晋武侠 封面图
晋武侠 (Wuxia Jin) *
Z
Zhou Jun-hui
Q
Qiong Feng
M
Ming Fan
H
Haijun Wang
刘烃 封面图
刘烃 (Ting Liu)
DOI:10.1109/TSE.2024.3449564delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
As software continues to evolve and business functions become increasingly complex, architectural inconsistency arises when the implementation architecture deviates from the expected architecture design. This architectural problem makes maintenance difficult and requires significant effort to refactor. To assist labor-intensive refactoring, automated refactoring has received much attention such as searching for optimal refactoring solutions. However, there are still three limitations: The recommended refactorings are insufficiently effective in addressing architectural consistency; the search process for refactoring solution is inefficient; and there is a lack of executable refactoring solutions. To address these limitations, we propose an effective, efficient, and executable refactoring recommendation approach namely the 3Erefactor for software architectural consistency. To achieve effective refactoring, 3Erefactor uses NSGA-II to generate refactoring solutions that minimize architectural inconsistencies at module level and entity level. To achieve efficient refactoring, 3Erefactor leverages architecture recovery technique to locate files requiring refactoring, helping accelerate the convergence of refactoring algorithm. To achieve executable refactoring, 3Erefactor designs a set of refactoring executability constraint strategies during the refactoring solution search and generation, including improving refactoring pre-conditions and removing invalid operations in refactoring solutions. We evaluated our approach on six open source systems. Statistical analysis of our experiments shows that, the refactoring solution generated by 3Erefactor performed significantly better than 3 state-of-the-art approaches in terms of reducing the number of architectural inconsistencies, improving the efficiency of the refactoring algorithm and improving the executability of refactorings.
Keyword:
Architectural Inconsistency
automated refactoring recommendation
architecture recovery
efficiency
Architectural Inconsistency
automated refactoring recommendation
architecture recovery
efficiency

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

X
xi'an jiaotong university
学者数:
9.3W
论文数: 6.7W
被引数: 75
引用论文

引用论文

Sites U1428 and U1429
err2015-03-28
err0
errOAAI
errR. Tada; R.W. Murray; C.A. Alvarez Zarikian; W.T. Jr. Anderson; M.-A. Bassetti; B.J. Brace; S.C. Clemens; M.H. da Costa Gurgel; G.R. Dickens; A.G. Dunlea; S.J. Gallagher; L. Giosan; A.C.G. Henderson; A.E. Holbourn; K. Ikehara; T. Irino; T. Itaki; A. Karasuda; C.W. Kinsley; Y. Kubota; G.S. Lee; K.E. Lee; J. Lofi; C.I.C.D. Lopes; L.C. Peterson; M. Saavedra-Pellitero; T. Sagawa; R.K. Singh; S. Sugisaki; S. Toucanne; S. Wan; C. Xuan; H. Zheng; M. Ziegler
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
err分享
err收藏
Queen of Fights: Lesbians in Tunisian Sports
err2015-12-11
err0
PREAI
errNassim Hamdi; Monia Lachheb; Eric Anderson
err分享
err收藏
学者 查看更多内容