arrow
Return

Exception handling bug hazards in Android

delete2016-08-13
delete26
delete
OA
AI
R
Roberta Coelho *
L
Lucas Almeida
G
Georgios Gousios
A
Arie van Deursen
C
Christoph Treude
DOI:10.1007/s10664-016-9443-7delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Adequate handling of exceptions has proven difficult for many software engineers. Mobile app developers in particular, have to cope with compatibility, middleware, memory constraints, and battery restrictions. The goal of this paper is to obtain a thorough understanding of common exception handling bug hazards that app developers face. To that end, we first provide a detailed empirical study of over 6,000 Java exception stack traces we extracted from over 600 open source Android projects. Key insights from this study include common causes for system crashes, and common chains of wrappings between checked and unchecked exceptions. Furthermore, we provide a survey with 71 developers involved in at least one of the projects analyzed. The results corroborate the stack trace findings, and indicate that developers are unaware of frequently occurring undocumented exception handling behavior. Overall, the findings of our study call for tool support to help developers understand their own and third party exception handling and wrapping logic.
Keywords:
Exception handling
Android development
Repository mining
Exploratory survey
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Empirical Software Engineering cover
Empirical Software Engineering
IF:
3.6
Papers:
2.0K
Citations:
5.3K

Organization

U
University of Adelaide
Scholars:
2.3W
Papers: 2.4W
Citations: 4.2W
D
Delft University of Technology
Scholars:
2.6W
Papers: 2.5W
Citations: 3.8W
Universidade Federal do Rio Grande do Norte cover
Universidade Federal do Rio Grande do Norte
Scholars:
9.7K
Papers: 5.4K
Citations: 5.2K
researcher View more organizations