Abstract

Abstract The selection of software metrics for building software quality prediction models is a search‐based software engineering problem. An exhaustive search for such metrics is usually not feasible due to limited project resources, especially if the number of available metrics is large. Defect prediction models are necessary in aiding project managers for better utilizing valuable project resources for software quality improvement. The efficacy and usefulness of a fault‐proneness prediction model is only as good as the quality of the software measurement data. This study focuses on the problem of attribute selection in the context of software quality estimation. A comparative investigation is presented for evaluating our proposed hybrid attribute selection approach, in which feature ranking is first used to reduce the search space, followed by a feature subset selection. A total of seven different feature ranking techniques are evaluated, while four different feature subset selection approaches are considered. The models are trained using five commonly used classification algorithms. The case study is based on software metrics and defect data collected from multiple releases of a large real‐world software system. The results demonstrate that while some feature ranking techniques performed similarly, the automatic hybrid search algorithm performed the best among the feature subset selection methods. Moreover, performances of the defect prediction models either improved or remained unchanged when over 85were eliminated. Copyright © 2011 John Wiley & Sons, Ltd.

Keywords

Feature selectionData miningRanking (information retrieval)Computer scienceSoftware metricSoftwareFeature (linguistics)Selection (genetic algorithm)Context (archaeology)Machine learningSoftware qualitySoftware bugQuality (philosophy)Artificial intelligencePredictive modellingSoftware development

Affiliated Institutions

Related Publications

Publication Info

Year
2011
Type
article
Volume
41
Issue
5
Pages
579-606
Citations
281
Access
Closed

Social Impact

Social media, news, blog, policy document mentions

Citation Metrics

281
OpenAlex
20
Influential
210
CrossRef

Cite This

Kehan Gao, Taghi M. Khoshgoftaar, Huanjing Wang et al. (2011). Choosing software metrics for defect prediction: an investigation on feature selection techniques. Software Practice and Experience , 41 (5) , 579-606. https://doi.org/10.1002/spe.1043

Identifiers

DOI
10.1002/spe.1043

Data Quality

Data completeness: 86%