AI Driven Software Defect Prediction and Automated Code Optimization in Large-Scale Software Systems

Authors

  • Syed Muhammad Junaid Hassan Assistant Professor, Department of Information Technology, Faculty of ICT, Balochistan University of Information Technology, Engineering and Management Sciences (BUITEMS) Author
  • Ishfaq Qadir MS Information Technology, Institute of Information Technology Quaid-I-Azam University Islamabad Author
  • Muhammad Ilyas Department of software Engineering, Superior University, Lahore 54000 Pakistan. Author
  • Talha University of Makran Author

DOI:

https://doi.org/10.66021/

Keywords:

Software Defect Prediction; Automated Program Repair; Compiler Optimization; Large Language Models; Neuro-Symbolic Synthesis; Effort-Aware Allocation.

Abstract

The engineering, maintenance, and verification of large-scale software systems present substantial financial and operational challenges within the modern software development lifecycle (SDLC). Traditional Software Defect Prediction (SDP) frameworks historically relied on static, coarse-grained code metrics, which frequently overlooked early-stage design context and struggled to align with continuous integration pipelines. However, the integration of artificial intelligence (AI), machine learning (ML), and large language models (LLMs) has fundamentally transformed this paradigm, shifting software engineering from heuristic static analysis toward predictive, generative, and neuro-symbolic pipelines. This review article provides a comprehensive evaluation of the state of the art in AI-driven defect prediction, effort-aware resource allocation, and automated program repair (APR). It synthesizes diverse advancements, ranging from early requirement-driven predictive models like FORESIGHT to change-level Just-In-Time (JIT) predictors designed to mitigate cold-start issues in data-scarce environments. Furthermore, the paper examines machine learning-guided compiler optimization frameworks, such as Google’s MLGO, which successfully embed reinforcement learning policies to achieve automated code size reductions and performance speedups. Finally, the article investigates the mitigation of static analysis false positives through neuro-symbolic hybrid frameworks like MemHint and ZeroFalse. Despite these rapid technological leaps, an empirical investigation underscores the "94% rule," which highlights a stark disconnect regarding enterprise-level utility where distributed architectures, verification overheads, and security risks limit optimization efficacy. Ultimately, this review maps the ongoing industry-wide progression toward closed-loop architectures where flexible AI generation is safely bounded by formal mathematical verification.

Downloads

Download data is not yet available.

Author Biographies

  • Ishfaq Qadir, MS Information Technology, Institute of Information Technology Quaid-I-Azam University Islamabad

     

     

     

     

     

  • Muhammad Ilyas, Department of software Engineering, Superior University, Lahore 54000 Pakistan.

     

     

     

     

     

  • Talha, University of Makran

     

     

     

Downloads

Published

2026-03-20

How to Cite

AI Driven Software Defect Prediction and Automated Code Optimization in Large-Scale Software Systems. (2026). Annual Methodological Archive Research Review, 4(3), 132-149. https://doi.org/10.66021/

Similar Articles

1-10 of 944

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)

1 2 3 > >>