Cross-Project Just-in-Time Bug Prediction for Mobile Apps: An Empirical Assessment
Bug Prediction is an activity aimed at identifying defect-prone source code entities that allows developers to focus testing efforts on specific areas of software systems. Recently, the research community proposed Just-in-Time (JIT) Bug Prediction with the goal of detecting bugs at commit-level. While this topic has been extensively investigated in the context of traditional systems, to the best of our knowledge, only a few preliminary studies assessed the performance of the technique in a mobile environment, by applying the metrics proposed by Kamei et al. in a within-project scenario. The results of these studies highlighted that there is still room for improvement. In this paper, we faced this problem to understand (i) which Kamei et al.’s metrics are useful in the mobile context, (ii) if different classifiers impact the performance of cross-project JIT bug prediction models and (iii) whether the application of ensemble techniques improves the capabilities of the models. To carry out the experiment, we first applied a feature selection technique, i.e., InfoGain, to filter relevant features and avoid models multicollinearity. Then, we assessed and compared the performance of four different well- known classifiers and four ensemble techniques. Our empirical study involved 14 apps and 42, 543 commits extracted from the COMMIT GURU platform. The results show that Naive Bayes achieves the best performance with respect to the other classifiers and in some cases outperforms some well-known ensemble techniques.
Sun 26 MayDisplayed time zone: Eastern Time (US & Canada) change
09:00 - 10:30 | |||
09:00 30mFull-paper | On the Survival of Android Code Smells in the Wild MOBILESoft Sarra Habchi University of Lille, Romain Rouvoy University of Lille, Lille, France, Naouel Moha University of Montreal | ||
09:30 30mFull-paper | Cross-Project Just-in-Time Bug Prediction for Mobile Apps: An Empirical Assessment MOBILESoft Gemma Catolino University of Salerno, Dario Di Nucci Vrije Universiteit Brussel, Filomena Ferrucci University of Salerno Pre-print | ||
10:00 30mFull-paper | A Comparison of Bugs across the iOS and Android Platforms of Two Open Source Cross Platform Browser Apps MOBILESoft Wajdi Aljedaani Alkharj College of Technology, Mei Nagappan University of Waterloo, Bram Adams MCIS, École Polytechnique de Montréal, Michael W. Godfrey University of Waterloo, Canada Pre-print |