journal article·2025-02-28Open access

Crashing Fault Residence Prediction Using a Hybrid Feature Selection Framework from Multi-Source Data

Xiao Liu, Xianmei Fang, Song Sun, Yangchun Gao, Dan Yang, Meng Yan

Applied Sciences· Volume 15· Issue 5

Abstract

The inherent complexity of modern software frequently leads to critical issues such as defects, performance degradation, and system failures. Among these, system crashes pose a severe threat to reliability, as they demand rapid fault localization to minimize downtime and restore functionality. A critical step of fault localization is predicting the residence of crashing faults, which involves determining whether a fault is located within the stack trace or outside it. This task plays a crucial role in software quality assurance by enhancing debugging efficiency and reducing testing costs. This study introduces SCM, a two-stage composite feature selection framework designed to address this challenge. The SCM framework integrates spectral clustering for feature grouping, which organizes highly correlated features into clusters while reducing redundancy and capturing non-linear relationships. Maximal information coefficient analysis is then applied to rank features within each cluster and select the most relevant ones, forming an optimized feature subset. A decision tree classifier is then applied to predict the residence of crashing faults. Extensive experiments on seven open-source software projects show that the SCM framework outperforms seven baseline methods, which include four classifiers and three ranking approaches, across four evaluation metrics such as F-measure, g-mean, MCC, and AUC. These results highlight its potential in improving fault localization.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Anomaly Detection Techniques and Applications · Software System Performance and Reliability · Artificial Intelligence in Healthcare

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

State Key Laboratory of Intelligent Vehicle Safety Technology, Chongqing 400023, China

School of Big Data and Software Engineering, Chongqing University, Chongqing 400044, China

School of Big Data and Computer Science, Hechi University, Hechi 546399, China

School of Computer and Information Science, Chongqing Normal University, Chongqing 400044, China

Southwest Jiaotong University, Chengdu 610032, China

Funding

State Key Laboratory of Intelligent Vehicle Safety Technology · Scientific and Technological Research Program of Chongqing Municipal Education Commission

References (34)

Show source-provided references
1. A survey on software fault localization10.1109/TSE.2016.2521368 ↗
2. Ghafoor, M.A., and Siddiqui, J.H. (2016, January 19–21). Cross platform bug correlation using stack traces. Proceedings of the 2016 International Conference on Frontiers of Information Technology (FIT), Islamabad, Pakistan.10.1109/FIT.2016.044 ↗
3. Does the fault reside in a stack trace? assisting crash localization by predicting crashing fault residence10.1016/j.jss.2018.11.004 ↗
4. A tutorial on spectral clustering10.1007/s11222-007-9033-z ↗
5. Zhang, F., Zheng, Q., Zou, Y., and Hassan, A.E. (2016, January 14–22). Cross-project defect prediction using a connectivity-based unsupervised classifier. Proceedings of the 38th IEEE/ACM International Conference on Software Engineering (ICSE), Austin, TX, USA.10.1145/2884781.2884839 ↗
6. Detecting novel associations in large data sets10.1126/science.1205438 ↗
7. Xu, Z., Zhang, T., Zhang, Y., Tang, Y., Liu, J., Luo, X., and Cui, X. (2019, January 28–31). Identifying crashing fault residence based on cross project model. Proceedings of the 2019 IEEE 30th International Symposium on Software Reliability Engineering (ISSRE), Berlin, Germany.10.1109/ISSRE.2019.00027 ↗
8. Imbalanced metric learning for crashing fault residence prediction10.1016/j.jss.2020.110763 ↗
9. A comprehensive investigation of the impact of feature selection techniques on crashing fault residence prediction models10.1016/j.infsof.2021.106652 ↗
10. A general software defect-proneness prediction framework10.1109/TSE.2010.90 ↗
11. Liu, S., Chen, X., Liu, W., Chen, J., Gu, Q., and Chen, D. (2014, January 21–25). Fecar: A feature selection framework for software defect prediction. Proceedings of the 2014 IEEE 38th Annual Computer Software and Applications Conference, Vasteras, Sweden.10.1109/COMPSAC.2014.66 ↗
12. Rehman, U., and Mahmood, T. (Int. J. Intell. Comput. Cybern., 2024). Identification of feature selection techniques for software defect prediction by using BCF-WASPAS methodology based on Einstein operators, Int. J. Intell. Comput. Cybern., ahead-of-print.10.1108/IJICC-09-2024-0472 ↗
13. Malhotra, R., Chawla, S., and Sharma, A. (2025). Software defect prediction based on multi-filter wrapper feature selection and deep neural network with attention mechanism. Neural Comput. Appl., 1–28.10.1007/s00521-024-10902-y ↗
14. Xu, Z., Liu, J., Yang, Z., An, G., and Jia, X. (2016, January 23–27). The impact of feature selection on defect prediction performance: An empirical comparison. Proceedings of the 2016 IEEE 27th International Symposium on Software Reliability Engineering (ISSRE), Ottawa, ON, Canada.10.1109/ISSRE.2016.13 ↗
15. Ghotra, B., McIntosh, S., and Hassan, A.E. (2017, January 20–21). A large-scale study of the impact of feature selection techniques on defect classification models. Proceedings of the 2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR), Buenos Aires, Argentina.10.1109/MSR.2017.18 ↗
16. Improving software effort estimation using bio-inspired algorithms to select relevant features: An empirical study10.1016/j.scico.2021.102621 ↗
17. Feature selection for software effort estimation with localized neighborhood mutual information10.1007/s10586-018-1884-x ↗
18. Goyal, S., and Bhatia, P.K. (2019). Feature selection technique for effective software effort estimation using multi-layer perceptrons. Proceedings of ICETIT 2019, the 1st International Conference on Emerging Trends in Information Technology, Delhi, India, June 2019, Springer.10.1007/978-3-030-30577-2_15 ↗
19. On the value of filter feature selection techniques in homogeneous ensembles effort estimation10.1002/smr.2343 ↗
20. A genetic algorithm for optimized feature selection with resource constraints in software product lines10.1016/j.jss.2011.06.026 ↗
21. An approach for optimized feature selection in large-scale software product lines10.1016/j.jss.2017.02.044 ↗
22. Code smell detection using feature selection and stacking ensemble: An empirical investigation
23. Improving performance with hybrid feature selection and ensemble machine learning techniques for code smell detection10.1016/j.scico.2021.102713 ↗
24. Le, T.D.B., Lo, D., and Li, M. (October, January 29). Constrained feature selection for localizing faults. Proceedings of the 2015 IEEE International Conference on Software Maintenance and Evolution (ICSME), Bremen, Germany.10.1109/ICSM.2015.7332502 ↗
25. Li, A., Lei, Y., and Mao, X. (2016, January 1–3). Towards more accurate fault localization: An approach based on feature selection using branching execution probability. Proceedings of the 2016 IEEE International Conference on Software Quality, Reliability and Security (QRS), Vienna, Austria.10.1109/QRS.2016.55 ↗
26. Exploring Feature Selection With Limited Labels: A Comprehensive Survey of Semi-Supervised and Unsupervised Approaches10.1109/TKDE.2024.3397878 ↗
27. Yu, Z., Dong, Z., Yu, C., Yang, K., Fan, Z., and Chen, C.P. (2025). A review on multi-view learning. Front. Comput. Sci., 19.10.1007/s11704-024-40004-w ↗
28. Shivaji, S., Whitehead, E.J., Akella, R., and Kim, S. (2009, January 16–20). Reducing features to improve bug prediction. Proceedings of the 24th IEEE/ACM International Conference on Automated Software Engineering (ASE), Auckland, New Zealand.10.1109/ASE.2009.76 ↗
29. Reducing features to improve code change-based bug prediction10.1109/TSE.2012.43 ↗
30. Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods
31. Dual coordinate descent methods for logistic regression and maximum entropy models10.1007/s10994-010-5221-8 ↗
32. Random forests10.1023/A:1010933404324 ↗
33. Nearest neighbor pattern classification10.1109/TIT.1967.1053964 ↗
34. Ghotra, B., McIntosh, S., and Hassan, A.E. (2015, January 16–24). Revisiting the impact of classification techniques on the performance of defect prediction models. Proceedings of the 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Florence, Italy.10.1109/ICSE.2015.91 ↗