Feature Engineering for Software Defect Prediction Models

Authors

Keywords:

software defect prediction, feature engineering, static code metrics, process metrics, code embeddings, class imbalance, feature selection, concept drift

Abstract

Software defect prediction (SDP) remains a cornerstone of quality assurance in large-scale software engineering, where even marginal improvements in recall at low inspection budgets translate to substantial savings. While model choice often receives outsized attention, the decisive factor in robust SDP performance is feature engineering: how we represent source code, process signals, developer activity, and temporal dynamics. This manuscript presents a comprehensive, practical blueprint for feature engineering tailored to defect prediction. We consolidate static code metrics, process and change metrics, semantic representations learned from code and text, social/ownership signals, and temporally aware features into an auditable pipeline.

We discuss leakage-safe preprocessing, class imbalance remedies, and feature selection strategies (filter, wrapper, and embedded) that preserve stability across versions and projects. A simulation study, using a realistic protocol with time-based splits and cross-project transfer, demonstrates that a well-engineered feature set can improve area under the precision–recall curve (AUC-PR) by 11–18% and top-20% cost-effectiveness by 9–15% compared to off‑the‑shelf metrics alone. Statistical analysis (Friedman/Nemenyi over ten versions) indicates significant gains for models using combined semantic–process features. The results generalize across tree ensembles and linear baselines, underscoring that careful feature work—not necessarily deeper models—drives dependable defect prediction performance.

Published

2026-07-03

How to Cite

Dr Gopinath Puppala. “Feature Engineering for Software Defect Prediction Models”. International Journal of Advanced Research in Computer Science and Engineering 2, no. 3 (July 3, 2026): Jul (1–7). Accessed July 9, 2026. https://ijarcse.org/index.php/ijarcse/article/view/154.

Similar Articles

31-40 of 70

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