Performance Analysis of Feature Selection Methods in Software Defect Prediction: A Search Method Approach
Open Access
- 9 July 2019
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 9 (13) , 2764
Abstract
Software Defect Prediction (SDP) models are built using software metrics derived from software systems. The quality of SDP models depends largely on the quality of software metrics (dataset) used to build the SDP models. High dimensionality is one of the data quality problems that affect the performance of SDP models. Feature selection (FS) is a proven method for addressing the dimensionality problem. However, the choice of FS method for SDP is still a problem, as most of the empirical studies on FS methods for SDP produce contradictory and inconsistent quality outcomes. Those FS methods behave differently due to different underlining computational characteristics. This could be due to the choices of search methods used in FS because the impact of FS depends on the choice of search method. It is hence imperative to comparatively analyze the FS methods performance based on different search methods in SDP. In this paper, four filter feature ranking (FFR) and fourteen filter feature subset selection (FSS) methods were evaluated using four different classifiers over five software defect datasets obtained from the National Aeronautics and Space Administration (NASA) repository. The experimental analysis showed that the application of FS improves the predictive performance of classifiers and the performance of FS methods can vary across datasets and classifiers. In the FFR methods, Information Gain demonstrated the greatest improvements in the performance of the prediction models. In FSS methods, Consistency Feature Subset Selection based on Best First Search had the best influence on the prediction models. However, prediction models based on FFR proved to be more stable than those based on FSS methods. Hence, we conclude that FS methods improve the performance of SDP models, and that there is no single best FS method, as their performance varied according to datasets and the choice of the prediction model. However, we recommend the use of FFR methods as the prediction models based on FFR are more stable in terms of predictive performance.Keywords
This publication has 41 references indexed in Scilit:
- An Empirical Comparison of Model Validation Techniques for Defect Prediction ModelsIEEE Transactions on Software Engineering, 2017
- An Improved SDA Based Defect Prediction Framework for Both Within-Project and Cross-Project Class-Imbalance ProblemsIEEE Transactions on Software Engineering, 2016
- Towards Benchmarking Feature Subset Selection Methods for Software Fault Prediction2016
- Studying just-in-time defect prediction using cross-project modelsEmpirical Software Engineering, 2015
- Software defect prediction using cost-sensitive neural networkApplied Soft Computing, 2015
- A fuzzy logic based approach for phase-wise software defects prediction using software metricsInformation and Software Technology, 2015
- Online Defect Prediction for Imbalanced Data2015
- Choosing software metrics for defect prediction: an investigation on feature selection techniquesSoftware: Practice and Experience, 2011
- Predicting high-risk program modules by selecting the right software measurementsSoftware Quality Journal, 2011
- The WEKA data mining softwareACM SIGKDD Explorations Newsletter, 2009