Dynamic Feature Selection Based on Model Interpretation for Just-in-Time Software Defect Prediction
Just-In-Time Software Defect Prediction (JIT-SDP) aims to predict defects for each code change submitted by developers. Compared with traditional techniques, it offers advantages such as fine granularity, immediacy and traceability. However, most existing JIT-SDP models primarily focus on improving prediction performance, while research on model interpretability remains limited, especially with little attention given to time-series factor. Therefore, this study investigates the interpretability of JIT-SDP models in time-series scenario. It employs model interpretation techniques to analyze feature importance, explores the effectiveness of interpretability-based feature selection methods and proposes a SHAP-based Dynamic Feature Selection (SDFS) method that leverages model explanations in accordance with the temporal evolution of JIT-SDP. The experimental results demonstrate that certain features consistently show high importance across datasets, interpretability-based feature selection methods can enhance prediction performance and the proposed SDFS method effectively improves the performance of defect prediction models.
Authors
- Yi Qing Zhu (ORCID: https://orcid.org/0000-0003-3045-2588)
- Yu Qiao (ORCID: https://orcid.org/0000-0002-6392-9461)
- Yu Zhang (ORCID: https://orcid.org/0009-0001-7168-5129)
Institutions
- Jiangsu Normal University (CN)
- Wuxi Taihu Hospital (CN)
Publication Details
- Journal
- International Journal of Software Engineering and Knowledge Engineering
- Published
- 2025-10-23
- DOI
- https://doi.org/10.1142/s0218194025500858
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00