Predicting Software Defects with Smart Ensemble Learning Techniques

Abstract

Predicting software defects is a crucial aspect of ensuring software quality, aiming to detect potential problems early in the development cycle. This paper introduces an intelligent ensemble-based machine learning approach designed to classify software modules as defective or not. The prediction model leverages static code metrics—including Lines of Code, Cyclomatic Complexity, Coupling, and Inheritance Depth—to generate accurate results. A user-friendly interface, built within a Flask web application, allows users to input data manually or upload datasets for analysis. To support developers and testers, the system delivers clear classification outcomes along with insightful recommendations. By integrating multiple classifiers, the ensemble model enhances prediction accuracy, consistency, and robustness. This work highlights the practical application of artificial intelligence in software engineering and lays the groundwork for future advancements in automated defect detection.

Country : India

1 B. Rupadevi2 Ratakonda Chandana

  1. Associate Professor, Dept. of MCA, Annamacharya Institute of Technology & Sciences, Tirupati, AP, India
  2. Post Graduate, Dept. of MCA, Annamacharya Institute of Technology & Sciences, Tirupati, AP, India

IRJIET, Volume 9, Special Issue of ICCIS-2025 May 2025 pp. 117-123

doi.org/10.47001/IRJIET/2025.ICCIS-202519

References

  1. M. Ali, T. Mazhar, Y. Arif, and S. Alotaibi, "Software Defect Prediction Using an Intelligent Ensemble-Based Model," IEEE Access, vol. 11, pp. 1–1, Jan. 2024, doi: 10.1109/ACCESS.2024.3358201.
  2. K. Zhu, N. Zhang, C. Jiang, and D. Zhu, "IMDAC: A Robust Intelligent Software Defect Prediction Model via Multi-Objective Optimization and End-to-End Hybrid Deep Learning Networks," Software: Practice and Experience, vol. 54, no. 2, pp. 308–333, Feb. 2024, doi: 10.1002/spe.3274.
  3. S. Goyal and P. K. Bhatia, "Heterogeneous Stacked Ensemble Classifier for Software Defect Prediction," Multimedia Tools and Applications, vol. 81, pp. 37033–37055, Nov. 2022, doi: 10.1007/s11042-021-11488-6.
  4. Y. Qiao, L. Gong, Y. Zhao, Y. Wang, and M. Wei, "DeMuVGN: Effective Software Defect Prediction Model by Learning Multi-View Software Dependency via Graph Neural Networks," arXiv preprint arXiv:2410.19550, Oct. 2024.
  5. M.       Hesamolhokama, A. Shafiee, M. Ahmaditeshnizi, M. Fazli, and J. Habibi, "SDPERL: A Framework for Software Defect Prediction Using Ensemble Feature Extraction and Reinforcement Learning," arXiv preprint arXiv:2412.07927, Dec. 2024.
  6. H. Tao et al., "Software Defect Prediction Method Based on Clustering Ensemble Learning," IET Software, vol. 2024, no. 1, pp. 1–10, Nov. 2024, doi: 10.1049/2024/6294422.
  7. G. Xu, Z. Zhu, X. Guo, and W. Wang, "A Joint Learning Framework for Bridging Defect Prediction and Interpretation," arXiv preprint arXiv:2502.16429, Feb. 2025.
  8. A.J. Anju and J. E. Judith, "Hybrid Feature Selection Method for Predicting Software Defect," Journal of Engineering and Applied Science, vol. 71, no. 124, May 2024, doi: 10.1186/s44147-02400453-3.
  9. D. P. Gottumukkala, D. Ushasree, and T. V. Suneetha, "Software Defect Prediction Through Effective Weighted Optimization Model for Assured Software Quality," International Journal of Intelligent Systems and Applications in Engineering, vol. 12, no. 15s, pp. 619–633, Feb. 2024.
  10. R. Mamatha, P. L. S. Kumari, and A. Sharada, "Enhanced Software Defect Prediction Through Homogeneous Ensemble Models," International Journal of Intelligent Systems and Applications in Engineering, vol. 12, no. 4s, pp. 676.