Skip to content
hybrid-deep-learning-for-predicting-software-defects-in-agile-environments-–-scientific-reports

Hybrid deep learning for predicting software defects in agile environments – Scientific Reports

  • Article
  • Open access
  • Published:
  • Meena Kumari Parigi1,
  • M. Sunitha2,
  • S. Venkatramulu3,
  • Kashi Sai Prasad4,
  • D. Marepalli Radha5 &
  • Sukanya Ledalla6 

Scientific Reports (2026) Cite this article

We’re sharing this article early to provide faster access to peer-reviewed, accepted research. It is citable and carries a permanent DOI. This version is subject to further edits and will be replaced automatically by the final Version of Record. All legal disclaimers apply.

Abstract

The rapidly changing requirements, along with short iterations in agile environments, make predicting requirement changes crucial for accurately detecting software defects in time. Most conventional machine learning techniques (SVM, Random Forest, Logistic Regression) depend on manually engineered features and do not model temporal, contextual, and semantic dependencies. In contrast, many current deep learning models tend to consider either structural metrics or process characteristics in isolation. Also, class imbalance and low interpretability are further impeding practical adoption in agile workflows. To overcome these gaps, we propose AgileDefectAI, an explainable defect-prediction framework that leverages a new deep learning model, HybridBugNet. HybridBugNet merges convolutional layers for local pattern recognition, Bi-LSTM layers for modelling sequential feature dependencies in commit and process histories, and attention-based layers based on the Transformer for identifying long-range contextual dependencies. Static code metrics, process dynamics, and semantic embeddings are integrated via a weighted feature fusion mechanism, while class imbalance is jointly mitigated using SMOTE and focal loss. SHAP analysis and attention visualisations for explainability to derive actionable insights into high-risk modules. HybridBugNet achieves F1-scores above 0.80 and AUC-ROC around 0.89 on benchmark datasets (NASA MDP, PROMISE, and agile GitHub repositories), outperforming classical ML baselines by ∼8–12% in F1-score and single-backbone deep models by ∼4–6%. Ablation studies confirm the complementary benefits of hybrid modelling and feature fusion; the framework novelty and agile defect prediction aptness are discussed.

Similar content being viewed by others

Materials availability

Materials used in this research are available with corresponding author and given on request.

Funding

No financial support was received by the authors in this research.

Author information

Authors and Affiliations

  1. Department of AI & DS, ICFAI Tech, IFHE Deemed to Be University, Donthanpally, Shankerpally, Hyderabad, India

    Meena Kumari Parigi

  2. Department of CSE, Vasavi College of Engineering, Hyderabad, Telangana, India

    M. Sunitha

  3. Department of CSE, Kakatiya Institute of Technology and Science, Warangal, Telangana, India

    S. Venkatramulu

  4. Department of CSE- AI&ML, MLR Institute of Technology, Hyderabad, India

    Kashi Sai Prasad

  5. CSE Department, CVR College of Engineering, Hyderabad, Telangana, India

    D. Marepalli Radha

  6. Department of Computer Science and Engineering, Koneru Lakshmaiah Education Foundation, Bowrampet, Hyderabad, Telangana, 500043, India

    Sukanya Ledalla

Authors

  1. Meena Kumari Parigi
  2. M. Sunitha
  3. S. Venkatramulu
  4. Kashi Sai Prasad
  5. D. Marepalli Radha
  6. Sukanya Ledalla

Corresponding author

Correspondence to Meena Kumari Parigi.

Ethics declarations

Competing interests

The authors declare no competing interests.

Ethical approval

This research does not involve humans or animals, so no ethical approval is required.

Consent for publication

The authors give consent for their publication.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Parigi, M.K., Sunitha, M., Venkatramulu, S. et al. Hybrid deep learning for predicting software defects in agile environments. Sci Rep (2026). https://doi.org/10.1038/s41598-026-69551-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1038/s41598-026-69551-x

Keywords

colind88

Back To Top