Skip to content
Open access

Research on Software Defect Prediction Based on Static and Dynamic Feature Fusion and Machine Learning

Aug 2026 · Frontiers in Computing and Intelligent Systems · Vol 17, pp. 45-53 · 0 citations · 11 references

TL;DR

The core influence mechanism of dataset category balance and project scale on feature-model adaptability is revealed, and the empirical reference for defect prediction practice of different types of software projects is provided.

Abstract

Aiming at the problems that the static-dynamic feature fusion mechanism lacks systematic multi-scenario verification, the feature-model adaptation law is unclear, and the engineering practicability of existing research conclusions is insufficient, this paper proposes a static-dynamic feature fusion defect prediction method based on multi-model comparison. Taking Equinox and Eclipse open-source Java project datasets from Kaggle platform as research objects, this paper constructs a feature system including 18-dimensional static CK-OO metrics and 20-dimensional dynamic change features, compares the prediction performance of Logistic Regression, Random Forest, XGBoost and Stacking ensemble model under static, dynamic and fusion feature sets. 5-fold cross-validation is used to ensure experimental reliability, and F1-Score is taken as the core evaluation index to carry out controlled experiments. The results show that on the balanced Equinox dataset, Random Forest with fusion features achieves the best single-model performance with an F1-Score of 0.7619 and Stacking model achieves 11.83% performance improvement in the static feature scenario; on the imbalanced Eclipse dataset, XGBoost with static features achieves the best performance with an F1-Score of 0.6512; CVS version control entropy, weighted method complexity, and class response are cross-scenario general core prediction features. This study reveals the core influence mechanism of dataset category balance and project scale on feature-model adaptability, and provides an empirical reference for defect prediction practice of different types of software projects.

Read PDF

Similar papers

Conference Open access 2026

Cross Project Software Defect Prediction Using Machine Learning with Optimized Feature Selection

This study proposes an integrated CPDP framework that combines Particle Swarm Optimization with Domain Knowledge (PSO+DK) for feature selection and Adaptive Synthetic Sampling (ADASYN) for class imbalance handling that enhanced the discriminative power of the models.

E. Obot, Victor Anaga, Sadiq Thomas et al. · 0 citations
Aug 2026

Precision Software Defect Prediction Using Novel Machine Learning Approaches

This study aims to improve software defect prediction five publicly available NASA datasets by using Random Forest and Classification Network to achieve higher defect prediction accuracy compared to methods without feature selection (WOFS) and to get matrix problem the authors use Classification Network.

S. G., Santosh Santosh · 0 citations
Open access Aug 2026

An Explainable Feature Selection and Stacking Ensemble Framework for Software Fault Prediction

Overall, the findings indicate that integrating principled feature selection with a boosting-based stacking ensemble can improve software fault prediction performance while providing greater transparency for software quality management.

Harsimran Kaur, Hardeep Singh, Amitpal Singh Sohal et al. · 0 citations
Conference Aug 2026

A Hybrid Feature Selection and Ensemble Learning Framework for Software Defect Prediction with Class Imbalance Handling

Software defect prediction (SDP) is essential for improving software quality since it finds error-prone modules early in the development lifecycle. Current methods produce inflated and erroneous performance metrics because of data leaks, inadequate class imbalance management, and reliance on antiquated classifiers. By...

B. V. Chowdary, Sendhil Kumar B. B, D. L. Sri et al. · 0 citations
Open access Aug 2026

A Robust Multi-Method Feature Selection Framework for Early Software Defect Prediction: Cross-Dataset Evidence from PROMISE Repository

The proposed multi-method feature selection framework shows good feature stability and has a high F1-score in multiple datasets with a value up to 0.42, which means it is effective at cross-dataset defect prediction, and highlights the importance of embedding imbalance-aware learning techniques.

Papiya Mukherjee, Mamta Dahiya · 0 citations
Open access Aug 2026

Firefly Optimization-Based Feature Selection for Software Defect Density Prediction

A hybrid framework integrating Recursive Feature Elimination with Cross- Validation, GridSearchCV, and Firefly Optimization for feature selection and hyperpa- rameter optimization along with SMOGN for imbalance handling is proposed.

Jasmeet Kaur, Arvinder Kaur, Kamaldeep Kaur · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.