Hybrid deep learning for predicting software defects in agile environments

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.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-09-05
DOI
https://doi.org/10.1038/s41598-026-69551-x
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hybrid deep learning for predicting software defects in agile environments

M. Sunitha, Sukanya Ledalla, K. Sai Prasad, S. Venkatramulu et al.
Scientific Reports
Software Engineering Research
article

Hybrid deep learning for predicting software defects in agile environments

M. Sunitha, Sukanya Ledalla, K. Sai Prasad, S. Venkatramulu, Meena Kumari Parigi, D. Marepalli Radha
article en

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.

Scientific Reports
Kakatiya University (IN), P.V. Narsimha Rao Telangana Veterinary University (IN), International Institute of Information Technology, Hyderabad (IN), Institute of Chartered Financial Analysts of India (IN), Koneru Lakshmaiah Education Foundation (IN)
Openalex Percentile: Top 4%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.