JNACSISSN:2582-3817

Adaptive AI-Powered Intelligent Bug Prediction and Self-Healing System for Continuous Software Testing

Abstract

Software systems need intelligent prediction systems that detect defects early through autonomous failure repairs and continuous delivery pipeline operation without human intervention to achieve both resilience and self-sustaining capacity. This paper presents REJUV-CI, a new AI-based system developed to restore and stabilize software testing processes through predictive analytics and automated self-healing capabilities. REJUV-CI uses hybrid machine learning, combining XGBoost deep neural architectures with TensorFlow-based repair models, to predict which code parts are likely to develop defects while initiating automatic correction processes. The system uses open-source bug repositories such as PROMISE Defects4J and Bugzilla to collect commit-level, semantic, and structural elements, enabling accurate bug prediction. The self- healing engine detects problems autonomously and uses patch recommendations to assess new code segments before reintegrating fixed parts into continuous integration pipelines. The system implements continuous monitoring along with feedback mechanisms that adapt to software changes throughout the lifecycle, maintaining stability and reducing technical debt. The experimental results show that REJUV-CI achieves superior performance in accuracy, precision, recall, F1-score, and recovery time compared to traditional predictive models and manual debugging methods. REJUV-CI enables software systems to move towards autonomous development through its automated defect prediction and renewal processes, within CI/CD pipelines.

References

  • T. Hall et al., “A systematic literature review on fault prediction performance,” IEEE Transactions on Software Engineering, 2022.
  • L. Meng and P. Thomas, “Adaptive learning models for real-time defect prediction,” IEEE Transactions on Software Engineering, 2023.
  • R. Singh and M. Patel, “Self-healing automation for intelligent DevOps pipelines,” IEEE Access, 2024.
  • A. Kumar and R. Verma, “Commit-based class-level defect prediction using change metrics,” Journal of Software Engineering and Applications, vol. 15, no. 3, pp. 101–114, 2023.
  • W. Albattah, M. Alenezi, and S. Banitaan, “Software defect prediction based on machine learning: Evaluation and comparison using public datasets,” IEEE Access, vol. 12, pp. 55678–55689, 2024.
  • M. Singh and A. Patel, “Improved cross-project defect prediction using transfer learning techniques,” Empirical Software Engineering, vol. 29, no. 1, pp. 1–25, 2024.
  • Z. Yazdanparast, T. Gupta, and P. Bose, “A survey on self-healing software systems: Approaches, challenges, and future directions,” IEEE Transactions on Autonomous and Self-Healing Software, vol. 2, no. 1, pp. 45–67, 2024.
  • R. F. da Silva, M. Wilde, and I. Foster, “Self-healing of workflow activity incidents in distributed systems,” Concurrency and Computation: Practice and Experience, vol. 35, no. 4, pp. 1–15, 2023.
  • E. Luo, W. Hurley, and A. Memon, “A survey of flaky tests: Causes, impacts, and detection methods,” ACM Transactions on Software Engineering and Methodology, vol. 32, no. 2, pp. 1–41, 2023.
  • A. Tahir, M. Felderer, and A. Anwar, “Test flakiness: Causes, detection techniques, and mitigation strategies—A multivocal literature review,” Information and Software Technology, vol. 159, pp. 107–120, 2023.
  • J. Lv, K. Zhang, and L. Sun, “Real-time software defect prediction using online learning models in continuous development,” IEEE Transactions on Software Engineering, vol. 50, no. 3, pp. 512–524, 2024.
  • H. Li, Y. Zhou, and Z. Chen, “An empirical study of ensemble learning for software defect prediction in continuous integration environments,” Journal of Systems and Software, vol. 198, pp. 111584, 2023.
  • S. Park, J. Kim, and K. Lee, “Intelligent failure recovery mechanisms for DevOps pipelines using runtime analytics,” IEEE Software, vol. 41, no. 1, pp. 58–66, 2024.
  • M. Rahman and L. Williams, “Automated recovery techniques for flaky tests in continuous testing,” ACM Transactions on Software Engineering and Methodology, vol. 33, no. 1, pp. 1–29, 2024.
  • D. Gonzalez, A. Martinez, and P. Rodriguez, “Improving CI/CD reliability through adaptive feedback and self-adaptive testing,” Software Quality Journal, vol. 33, no. 2, pp. 421–447, 2025.