Investigating Tendencies in Callback Method Implementations in Android Applications

Hayato Usui, Masataka Nagura, Shingo Takada · 2017

Android applications can take a wide variety of inputs in the form of events. These inputs (events) are handled by callback methods. Developers sometimes forget to implement callback methods which lead to execution errors. We are working on how developers can be recommended as to which callback methods should be implemented. As a first step towards this goal, we report on an investigation on tendencies in callback method implementations. Specifically, we target the frequency of callback method implementation and the co-occurrence of callback method implementations in existing Android projects. We found that some callback methods tend to be more frequently implemented than others, and that there exist co-occurrences of callback method implementations.

Read the paper · More papers on PaperTik