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.
In REF , they showed that a significant number of crashes could have been caused by insufficient documentation concerning exceptional cases of Android API.
Undocumented and unchecked: exceptions that spell trouble
MSR 2014
Computer Science