Predicting Execution Time for Move Method Refactoring Base on Deep Learning
Move method refactoring (MMR) is one of the most commonly used software maintenance techniques to improve feature envy. Existing work focuses on how to identify and recommend MMR. However, little is known about how MMR impacts program performance. There is a gap between MMR and its impact on performance. To reduce this gap, this paper proposes a novel approach to predict MMR performance based on deep learning and feature interaction. Firstly, construction of the first dataset in this domain. Secondly, FMPerf is built by combining Factor Machine and DeepPerf. Finally, We evaluate FMPerf on real-world projects including JUnit, LC-problems, and Kevin. The experimental results show that FMPerf obtains an average of 7.31 % MRE, illustrating that the predicted value is close to the real value. Furthermore, FMPerf improves MRE ranging from 2.29 % to 11.02 % compared to existing approaches, including Convolutional Neural Networks(CNN), Factorization-Machine based Neural Network(DeepFM), Performance Prediction with Deep Sparse Neural Network(DeepPerf), and Hierarchical Inter-action Neural Network for Performance Prediction(HINNPerf), demonstrating its effectiveness.
Authors
- Yifan Lu
- Yamei Yu (ORCID: https://orcid.org/0000-0002-5151-3397)
- Yang Zhang (ORCID: https://orcid.org/0000-0001-8641-2660)
- Kun Zheng (ORCID: https://orcid.org/0000-0002-8966-1184)
- Shaohui Liang
Institutions
- Hebei University of Science and Technology (CN)
Publication Details
- Published
- 2025-03-21
- DOI
- https://doi.org/10.1109/csecs64665.2025.11009759
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Natural Science Foundation of Hebei Province