Efficient Feature Selection for Static Analysis Vulnerability Prediction
Open Access
Abstract
Common software vulnerabilities can result in severe security breaches, financial losses, and reputation deterioration and require research effort to improve software security. The acceleration of the software production cycle, limited testing resources, and the lack of security expertise among programmers require the identification of efficient software vulnerability predictors to highlight the system components on which testing should be focused. Although static code analyzers are often used to improve software quality together with machine learning and data mining for software vulnerability prediction, the work regarding the selection and evaluation of different types of relevant vulnerability features is still limited. Thus, in this paper, we examine features generated by SonarQube and CCCC tools, to identify those that can be used for software vulnerability prediction. We investigate the suitability of thirty-three different features to train thirteen distinct machine learning algorithms to design vulnerability predictors and identify the most relevant features that should be used for training. Our evaluation is based on a comprehensive feature selection process based on the correlation analysis of the features, together with four well-known feature selection techniques. Our experiments, using a large publicly available dataset, facilitate the evaluation and result in the identification of small, but efficient sets of features for software vulnerability prediction.Keywords
Funding Information
- Horizon 2020 Framework Programme (780572)
This publication has 48 references indexed in Scilit:
- Vulnerability Prediction Models: A Case Study on the Linux Kernel2016
- Effective use of Spearman's and Kendall's correlation coefficients for association between two measured traitsAnimal Behaviour, 2015
- Reducing Bias and Error in the Correlation Coefficient Due to NonnormalityEducational and Psychological Measurement, 2014
- Predicting Vulnerable Components: Software Metrics vs Text Mining2014
- Predicting Vulnerable Software Components via Text MiningIEEE Transactions on Software Engineering, 2014
- Static Code Analysis for Software Security Verification: Problems and Approaches2014
- Effective use of Pearson's product–moment correlation coefficientAnimal Behaviour, 2014
- Using complexity metrics to improve software securityComputer Fraud and Security, 2013
- Detecting stable distributed patterns of brain activation using Gini contrastNeuroImage, 2011
- Statistics Notes: Diagnostic tests 1: sensitivity and specificityBMJ, 1994