Undocumented and unchecked

Exceptions that spell trouble

Conference Paper (2014)
Author(s)

M. Kechagia (Athens University of Economics and Business)

D. Spinellis (Athens University of Economics and Business)

Affiliation
External organisation
DOI related publication
https://doi.org/10.1145/2597073.2597089
More Info
expand_more
Publication Year
2014
Language
English
Affiliation
External organisation
Pages (from-to)
312-315
ISBN (electronic)
9781450328630

Abstract

Modern programs rely on large application programming interfaces (apis). The Android framework comprises 231 core apis, and is used by countless developers. We examine a sample of 4,900 distinct crash stack traces from 1,800 different Android applications, looking for Android api methods with undocumented exceptions that are part of application crashes. For the purposes of this study, we take as a reference the version 15 of the Android api, which matches our stack traces. Our results show that a significant number of crashes (19%) might have been avoided if these methods had the corresponding exceptions documented as part of their interface.

No files available

Metadata only record. There are no files for this record.