Enhancing Refactoring Prediction at the Method-Level Using Machine Learning Approach
DOI:
https://doi.org/10.26555/jiteki.v11i2.30839Abstract
Software refactoring is a common activity in software engineering that aims to improve the structural quality of the source code without changing its external behavior or affecting its functionality. Traditional refactoring methods rely heavily on developer expertise, making the process time-consuming and error-prone. Recent advances in machine learning (ML) have shown promising results in identifying optimal refactoring opportunities by analyzing and detecting hidden patterns in software data. However, machine learning techniques typically require large datasets for effective training. To address this problem, meta-learning has emerged as a promising approach for identifying refactoring opportunities with limited data, relying on past experiences from similar tasks. This paper proposes an innovative approach that combines stacking and boosting classifiers with feature selection algorithms to enhance refactoring prediction accuracy. The proposed approach is evaluated using open source Java projects, and the results demonstrate significant improvements in prediction efficiency compared to traditional machine learning methods.
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Rasha Ahmed

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with JITEKI agree to the following terms:
- Authors retain copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC BY-SA 4.0) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.
This work is licensed under a Creative Commons Attribution 4.0 International License