The Significant Effects of Data Sampling Approaches on Software Defect Prioritization and Classification
Authors:
- Kwabena Ebo BenninKwabena Ebo Bennin
- Jacky KeungJKJacky Keung
- Akito MondenAMAkito Monden
- Passakorn PhannachittaPPPassakorn Phannachitta
- Solomon MensahSMSolomon Mensah
- 1 November 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 364-373
Abstract
Context: Recent studies have shown that performance of defect prediction models can be affected when data sampling approaches are applied to imbalanced training data for building defect prediction models. However, the magnitude (degree and power) of the effect of these sampling methods on the classification and prioritization performances of defect prediction models is still unknown. Goal: To investigate the statistical and practical significance of using resampled data for constructing defect prediction models. Method: We examine the practical effects of six data sampling methods on performances of five defect prediction models. The prediction performances of the models trained on default datasets (no sampling method) are compared with that of the models trained on resampled datasets (application of sampling methods). To decide whether the performance changes are significant or not, robust statistical tests are performed and effect sizes computed. Twenty releases of ten open source projects extracted from the PROMISE repository are considered and evaluated using the AUC, pd, pf and G-mean performance measures. Results: There are statistical significant differences and practical effects on the classification performance (pd, pf and G-mean) between models trained on resampled datasets and those trained on the default datasets. However, sampling methods have no statistical and practical effects on defect prioritization performance (AUC) with small or no effect values obtained from the models trained on the resampled datasets. Conclusions: Existing sampling methods can properly set the threshold between buggy and clean samples, while they cannot improve the prediction of defect-proneness itself. Sampling methods are highly recommended for defect classification purposes when all faulty modules are to be considered for testing.Keywords
This publication has 35 references indexed in Scilit:
- Evaluating defect prediction approaches: a benchmark and an extensive comparisonEmpirical Software Engineering, 2011
- An investigation on the feasibility of cross-project defect predictionAutomated Software Engineering, 2011
- A systematic and comprehensive investigation of methods to build and evaluate fault prediction modelsJournal of Systems and Software, 2010
- Evolutionary Undersampling for Classification with Imbalanced Datasets: Proposals and TaxonomyEvolutionary Computation, 2009
- Techniques for evaluating fault prediction modelsEmpirical Software Engineering, 2008
- A data reduction approach for resolving the imbalanced data issue in functional genomicsNeural Computing and Applications, 2007
- Size of Treatment Effects and Their Importance to Clinical Research and PracticeBiological Psychiatry, 2006
- Strategies for learning in class imbalance problemsPattern Recognition, 2003
- Quantitative analysis of faults and failures in a complex software systemIEEE Transactions on Software Engineering, 2000
- Dominance statistics: Ordinal analyses to answer ordinal questions.Psychological Bulletin, 1993