TY - GEN
T1 - Software Refactoring Scheme Based on NSGA-II Algorithm
AU - Hou, Defei
AU - Yin, Yongfeng
AU - Su, Qingran
AU - Liu, Lijun
N1 - Publisher Copyright:
© 2020 IEEE.
PY - 2020/11
Y1 - 2020/11
N2 - As an important software maintenance measure, the key of software refactoring is to improve the unreasonable part of code module, namely code smell. There are many refactoring points with different priorities and severity in the reconstruction activities of large-scale software system. How to determine a suitable reconstruction scheme is an important problem to be solved. In view of the above problems, a multi-objective software reconstruction scheme model is established, which aims at eliminating the number of code smell, the severity of code smell and its importance. Meanwhile, the number of reading code and the difficulty degree are used as the auxiliary decision indicators. NSGA-II algorithm is used to solve the optimal solution set, and the software system JHotDraw is used to verify. Two kinds of scheme sets with higher robustness are obtained considering the fluctuation of severity and importance. Two trade-offs are obtained from the two schemes set. Then, the reconstruction activities are sorted according to the reconstruction cost, which can further improve the purpose, robustness and effectiveness of the code reconstruction activities.
AB - As an important software maintenance measure, the key of software refactoring is to improve the unreasonable part of code module, namely code smell. There are many refactoring points with different priorities and severity in the reconstruction activities of large-scale software system. How to determine a suitable reconstruction scheme is an important problem to be solved. In view of the above problems, a multi-objective software reconstruction scheme model is established, which aims at eliminating the number of code smell, the severity of code smell and its importance. Meanwhile, the number of reading code and the difficulty degree are used as the auxiliary decision indicators. NSGA-II algorithm is used to solve the optimal solution set, and the software system JHotDraw is used to verify. Two kinds of scheme sets with higher robustness are obtained considering the fluctuation of severity and importance. Two trade-offs are obtained from the two schemes set. Then, the reconstruction activities are sorted according to the reconstruction cost, which can further improve the purpose, robustness and effectiveness of the code reconstruction activities.
KW - NSGA-II
KW - code flavor
KW - multi objective decision making
KW - refactoring scheme
KW - software refactoring
UR - https://www.scopus.com/pages/publications/85100588491
U2 - 10.1109/DSA51864.2020.00076
DO - 10.1109/DSA51864.2020.00076
M3 - 会议稿件
AN - SCOPUS:85100588491
T3 - Proceedings - 2020 7th International Conference on Dependable Systems and Their Applications, DSA 2020
SP - 447
EP - 452
BT - Proceedings - 2020 7th International Conference on Dependable Systems and Their Applications, DSA 2020
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 7th International Conference on Dependable Systems and Their Applications, DSA 2020
Y2 - 28 November 2020 through 29 November 2020
ER -