Predicting test failures induced by software defects: A lightweight alternative to software defect prediction and its industrial application
Machine Learning Software Defect Prediction (ML SDP) is a promising method to improve the quality and minimise the cost of software development. We aim to: (1) apropose and develop a Lightweight Alternative to SDP (LA2SDP) that predicts test failures induced by software defects to allow pinpointing defective software modules thanks to available mapping of predicted test failures to past defects and corrected modules, (2) preliminary evaluate the proposed method in a real-world Nokia 5G scenario. We train machine learning models using test failures that come from confirmed software defects already available in the Nokia 5G environment. We implement LA2SDP using five supervised ML algorithms, together with their tuned versions, and use eXplainable AI (XAI) to provide feedback to stakeholders and initiate quality improvement actions. We have shown that LA2SDP is feasible in vivo using test failure-to-defect report mapping readily available within the Nokia 5G system-level test process, achieving good predictive performance. Specifically, CatBoost Gradient Boosting turned out to perform the best and achieved satisfactory Matthew’s Correlation Coefficient (MCC) results for our feasibility study. Our efforts have successfully defined, developed, and validated LA2SDP, using the sliding and expanding window approaches on an industrial data set. • We propose a Lightweight Alternative to Software Defect Prediction (LA2SDP). • The idea behind LA2SDP is to predict test failures induced by software defects. • We use eXplainable AI to give feedback to stakeholders & initiate improvement actions. • We validate our proposed approach in a real-world Nokia 5G test process. • Our results show that LA2SDP is feasible in vivo using data available in Nokia 5G.
Authors
- Szymon Stradowski (ORCID: https://orcid.org/0000-0002-3532-3876)
- Lech Madeyski (ORCID: https://orcid.org/0000-0003-3907-3357)
Publication Details
- Journal
- Journal of Systems and Software
- Published
- 2025-02-03
- DOI
- https://doi.org/10.1016/j.jss.2025.112360
- Citations
- 9
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 29.22
Funders
- Ministerstwo Edukacji i Nauki
- Wroclawskie Centrum Sieciowo-Superkomputerowe, Politechnika Wroclawska