Stuckman, JeffreyJeffreyStuckmanWalden, JamesJamesWaldenScandariato, RiccardoRiccardoScandariato2022-12-162022-12-162016-12-09IEEE Transactions on Reliability 66 (1): 7779151, 17-37 (2017-03-01)http://hdl.handle.net/11420/14388Statistical prediction models can be an effective technique to identify vulnerable components in large software projects. Two aspects of vulnerability prediction models have a profound impact on their performance: 1) the features (i.e., the characteristics of the software) that are used as predictors and 2) the way those features are used in the setup of the statistical learning machinery. In a previous work, we compared models based on two different types of features: software metrics and term frequencies (text mining features). In this paper, we broaden the set of models we compare by investigating an array of techniques for the manipulation of said features. These techniques fall under the umbrella of dimensionality reduction and have the potential to improve the ability of a prediction model to localize vulnerabilities. We explore the role of dimensionality reduction through a series of cross-validation and cross-project prediction experiments. Our results show that in the case of software metrics, a dimensionality reduction technique based on confirmatory factor analysis provided an advantage when performing cross-project prediction, yielding the best F-measure for the predictions in five out of six cases. In the case of text mining, feature selection can make the prediction computationally faster, but no dimensionality reduction technique provided any other notable advantage.en1558-1721IEEE transactions on reliability201611737IEEEComputer securitymachine learningsoftware metricstext miningMLE@TUHHInformatikThe effect of dimensionality reduction on software vulnerability prediction modelsJournal Article10.1109/TR.2016.2630503Journal Article