Exception handling bug hazards in Android: Results from a mining study and an exploratory survey
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...
Saved in:
Main Authors: | , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2017
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/8786 https://ink.library.smu.edu.sg/context/sis_research/article/9789/viewcontent/s10664_016_9443_7.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-9789 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-97892024-05-30T08:56:39Z Exception handling bug hazards in Android: Results from a mining study and an exploratory survey COELHO, Roberta ALMEIDA, Lucas GOUSIOS, Georgios VAN DEURSEN, Arie TREUDE, Christoph 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. 2017-06-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/8786 info:doi/10.1007/s10664-016-9443-7 https://ink.library.smu.edu.sg/context/sis_research/article/9789/viewcontent/s10664_016_9443_7.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Exception handling Android development Repository mining Exploratory survey Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Exception handling Android development Repository mining Exploratory survey Software Engineering |
spellingShingle |
Exception handling Android development Repository mining Exploratory survey Software Engineering COELHO, Roberta ALMEIDA, Lucas GOUSIOS, Georgios VAN DEURSEN, Arie TREUDE, Christoph Exception handling bug hazards in Android: Results from a mining study and an exploratory survey |
description |
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. |
format |
text |
author |
COELHO, Roberta ALMEIDA, Lucas GOUSIOS, Georgios VAN DEURSEN, Arie TREUDE, Christoph |
author_facet |
COELHO, Roberta ALMEIDA, Lucas GOUSIOS, Georgios VAN DEURSEN, Arie TREUDE, Christoph |
author_sort |
COELHO, Roberta |
title |
Exception handling bug hazards in Android: Results from a mining study and an exploratory survey |
title_short |
Exception handling bug hazards in Android: Results from a mining study and an exploratory survey |
title_full |
Exception handling bug hazards in Android: Results from a mining study and an exploratory survey |
title_fullStr |
Exception handling bug hazards in Android: Results from a mining study and an exploratory survey |
title_full_unstemmed |
Exception handling bug hazards in Android: Results from a mining study and an exploratory survey |
title_sort |
exception handling bug hazards in android: results from a mining study and an exploratory survey |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2017 |
url |
https://ink.library.smu.edu.sg/sis_research/8786 https://ink.library.smu.edu.sg/context/sis_research/article/9789/viewcontent/s10664_016_9443_7.pdf |
_version_ |
1814047529794273280 |