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.
Original languageEnglish
Title of host publicationin Proceedings of 6th IEEE/ACM International Conference on Mobile Software Engineering and Systems
Publication statusPublished - May 2019
Event6th IEEE/ACM International Conference on Mobile Software Engineering and Systems - Montreal, Canada
Duration: 25 May 201926 May 2019
Conference number: 6

Conference

Conference6th IEEE/ACM International Conference on Mobile Software Engineering and Systems
Abbreviated titleMobileSOFT
CountryCanada
CityMontreal
Period25/05/1926/05/19

    Research areas

  • JIT Bug Prediction, Metrics, Empirical Study

ID: 46199516