Standard

Unveiling exception handling bug hazards in android based on GitHub and Google code issues. / Coelho, R.; Almeida, Lucas; Gousios, Georgios; Van Deursen, Arie.

Proceedings - 12th Working Conference on Mining Software Repositories, MSR 2015. Vol. 2015-August IEEE Computer Society, 2015. p. 134-145 7180074.

Research output: Scientific - peer-reviewConference contribution

Harvard

Coelho, R, Almeida, L, Gousios, G & Van Deursen, A 2015, Unveiling exception handling bug hazards in android based on GitHub and Google code issues. in Proceedings - 12th Working Conference on Mining Software Repositories, MSR 2015. vol. 2015-August, 7180074, IEEE Computer Society, pp. 134-145, 12th Working Conference on Mining Software Repositories, MSR 2015, Florence, Italy, 16-17 May. DOI: 10.1109/MSR.2015.20

APA

Coelho, R., Almeida, L., Gousios, G., & Van Deursen, A. (2015). Unveiling exception handling bug hazards in android based on GitHub and Google code issues. In Proceedings - 12th Working Conference on Mining Software Repositories, MSR 2015. (Vol. 2015-August, pp. 134-145). [7180074] IEEE Computer Society. DOI: 10.1109/MSR.2015.20

Vancouver

Coelho R, Almeida L, Gousios G, Van Deursen A. Unveiling exception handling bug hazards in android based on GitHub and Google code issues. In Proceedings - 12th Working Conference on Mining Software Repositories, MSR 2015. Vol. 2015-August. IEEE Computer Society. 2015. p. 134-145. 7180074. Available from, DOI: 10.1109/MSR.2015.20

Author

Coelho, R.; Almeida, Lucas; Gousios, Georgios; Van Deursen, Arie / Unveiling exception handling bug hazards in android based on GitHub and Google code issues.

Proceedings - 12th Working Conference on Mining Software Repositories, MSR 2015. Vol. 2015-August IEEE Computer Society, 2015. p. 134-145 7180074.

Research output: Scientific - peer-reviewConference contribution

BibTeX

@inbook{a9badc453e394733afff2a53204688f1,
title = "Unveiling exception handling bug hazards in android based on GitHub and Google code issues",
keywords = "Androids, Google, Hazards, Humanoid robots, Java, Libraries, Robustness",
author = "R. Coelho and Lucas Almeida and Georgios Gousios and {Van Deursen}, Arie",
year = "2015",
month = "8",
doi = "10.1109/MSR.2015.20",
volume = "2015-August",
pages = "134--145",
booktitle = "Proceedings - 12th Working Conference on Mining Software Repositories, MSR 2015",
publisher = "IEEE Computer Society",
address = "United States",

}

RIS

TY - CHAP

T1 - Unveiling exception handling bug hazards in android based on GitHub and Google code issues

AU - Coelho,R.

AU - Almeida,Lucas

AU - Gousios,Georgios

AU - Van Deursen,Arie

PY - 2015/8/4

Y1 - 2015/8/4

N2 - This paper reports on a study mining the exception stack traces included in 159,048 issues reported on Android projects hosted in GitHub (482 projects) and Google Code (157 projects). The goal of this study is to investigate whether stack trace information can reveal bug hazards related to exception handling code that may lead to a decrease in application robustness. Overall 6,005 exception stack traces were extracted, and subjected to source code and byte code analysis. The out-comes of this study include the identification of the following bug hazards: (i) unexpected cross-type exception wrappings (for instance, trying to handle an instance of Out Of Memory Error 'hidden' in a checked exception) which can make the exception-related code more complex and negatively impact the application robustness, (ii) undocumented runtime exceptions thrown by both the Android platform and third party libraries, and (iii) undocumented checked exceptions thrown by the Android Platform. Such undocumented exceptions make it difficult, and most of the times infeasible for the client code to protect against 'unforeseen' situations that may happen while calling third-party code. This study provides further insights on such bug hazards and the robustness threats they impose to Android apps as well as to other systems based on the Java exception model.

AB - This paper reports on a study mining the exception stack traces included in 159,048 issues reported on Android projects hosted in GitHub (482 projects) and Google Code (157 projects). The goal of this study is to investigate whether stack trace information can reveal bug hazards related to exception handling code that may lead to a decrease in application robustness. Overall 6,005 exception stack traces were extracted, and subjected to source code and byte code analysis. The out-comes of this study include the identification of the following bug hazards: (i) unexpected cross-type exception wrappings (for instance, trying to handle an instance of Out Of Memory Error 'hidden' in a checked exception) which can make the exception-related code more complex and negatively impact the application robustness, (ii) undocumented runtime exceptions thrown by both the Android platform and third party libraries, and (iii) undocumented checked exceptions thrown by the Android Platform. Such undocumented exceptions make it difficult, and most of the times infeasible for the client code to protect against 'unforeseen' situations that may happen while calling third-party code. This study provides further insights on such bug hazards and the robustness threats they impose to Android apps as well as to other systems based on the Java exception model.

KW - Androids

KW - Google

KW - Hazards

KW - Humanoid robots

KW - Java

KW - Libraries

KW - Robustness

UR - http://www.scopus.com/inward/record.url?scp=84957050912&partnerID=8YFLogxK

UR - https://speakerdeck.com/gousiosg/exception-handling-bug-hazards-on-android

U2 - 10.1109/MSR.2015.20

DO - 10.1109/MSR.2015.20

M3 - Conference contribution

VL - 2015-August

SP - 134

EP - 145

BT - Proceedings - 12th Working Conference on Mining Software Repositories, MSR 2015

PB - IEEE Computer Society

ER -

ID: 7226581