Just-in-Time Crash Prediction for Mobile Apps
aut.relation.articlenumber | 68 | |
aut.relation.issue | 3 | |
aut.relation.journal | Empirical Software Engineering | |
aut.relation.startpage | 68 | |
aut.relation.volume | 29 | |
dc.contributor.author | Wimalasooriya, C | |
dc.contributor.author | Licorish, SA | |
dc.contributor.author | da Costa, DA | |
dc.contributor.author | MacDonell, SG | |
dc.date.accessioned | 2024-05-16T22:58:44Z | |
dc.date.available | 2024-05-16T22:58:44Z | |
dc.date.issued | 2024-05-08 | |
dc.description.abstract | Just-In-Time (JIT) defect prediction aims to identify defects early, at commit time. Hence, developers can take precautions to avoid defects when the code changes are still fresh in their minds. However, the utility of JIT defect prediction has not been investigated in relation to crashes of mobile apps. We therefore conducted a multi-case study employing both quantitative and qualitative analysis. In the quantitative analysis, we used machine learning techniques for prediction. We collected 113 reliability-related metrics for about 30,000 commits from 14 Android apps and selected 14 important metrics for prediction. We found that both standard JIT metrics and static analysis warnings are important for JIT prediction of mobile app crashes. We further optimized prediction performance, comparing seven state-of-the-art defect prediction techniques with hyperparameter optimization. Our results showed that Random Forest is the best performing model with an AUC-ROC of 0.83. In our qualitative analysis, we manually analysed a sample of 642 commits and identified different types of changes that are common in crash-inducing commits. We explored whether different aspects of changes can be used as metrics in JIT models to improve prediction performance. We found these metrics improve the prediction performance significantly. Hence, we suggest considering static analysis warnings and Android-specific metrics to adapt standard JIT defect prediction models for a mobile context to predict crashes. Finally, we provide recommendations to bridge the gap between research and practice and point to opportunities for future research. | |
dc.identifier.citation | Empirical Software Engineering, ISSN: 1382-3256 (Print); 1573-7616 (Online), Springer Science and Business Media LLC, 29(3), 68-. doi: 10.1007/s10664-024-10455-7 | |
dc.identifier.doi | 10.1007/s10664-024-10455-7 | |
dc.identifier.issn | 1382-3256 | |
dc.identifier.issn | 1573-7616 | |
dc.identifier.uri | http://hdl.handle.net/10292/17553 | |
dc.language | en | |
dc.publisher | Springer Science and Business Media LLC | |
dc.relation.uri | https://link.springer.com/article/10.1007/s10664-024-10455-7 | |
dc.rights | Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. | |
dc.rights.accessrights | OpenAccess | |
dc.rights.uri | http://creativecommons.org/licenses/by/4.0/ | |
dc.subject | 46 Information and Computing Sciences | |
dc.subject | 4612 Software Engineering | |
dc.subject | 3 Good Health and Well Being | |
dc.subject | 0803 Computer Software | |
dc.subject | Software Engineering | |
dc.subject | 4612 Software engineering | |
dc.title | Just-in-Time Crash Prediction for Mobile Apps | |
dc.type | Journal Article | |
pubs.elements-id | 550440 |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- Just-in-Time crash prediction for mobile apps.pdf
- Size:
- 1.6 MB
- Format:
- Adobe Portable Document Format
- Description:
- Journal article