Recommending API Usages for Mobile Apps with Hidden Markov Model
Recommending API Usages for Mobile Apps with Hidden Markov Model
复制标题
DOI:
10.1109/ase.2015.109
复制
发表时间:
2015-11
期刊:
影响因子:
--
通讯作者:
Tam The Nguyen;H. Pham;P. Vu;T. Nguyen
中科院分区:
文献类型:
--
作者:
Tam The Nguyen;H. Pham;P. Vu;T. Nguyen
Mobile apps often rely heavily on standard API frameworks and libraries. However, learning to use those APIs is often challenging due to the fast-changing nature of API frameworks and the insufficiency of documentation and code examples. This paper introduces DroidAssist, a recommendation tool for API usages of Android mobile apps. The core of DroidAssist is HAPI, a statistical, generative model of API usages based on Hidden Markov Model. With HAPIs trained from existing mobile apps, DroidAssist could perform code completion for method calls. It can also check existing call sequences to detect and repair suspicious (i.e. unpopular) API usages.