Detecting API usage obstacles: A study of iOS and Android developer questions

MSR(2013)

引用 97|浏览47
暂无评分
摘要
Software frameworks provide sets of generic functionalities that can be later customized for a specific task. When developers invoke API methods in a framework, they often encounter obstacles in finding the correct usage of the API, let alone to employ best practices. Previous research addresses this line of questions by mining API usage patterns to induce API usage templates, by conducting and compiling interviews of developers, and by inferring correlations among APIs. In this paper, we analyze API-related posts regarding iOS and Android development from a Q&A Web site, stackoverflow.com. Assuming that API-related posts are primarily about API usage obstacles, we find several iOS and Android API classes that appear to be particularly likely to challenge developers, even after we factor out API usage hotspots, inferred by modelling API usage of open source iOS and Android applications. For each API with usage obstacles, we further apply a topic mining tool to posts that are tagged with the API, and we discover several repetitive scenarios in which API usage obstacles occur. We consider our work as a stepping stone towards understanding API usage challenges based on forum-based input from a multitude of developers, input that is prohibitively expensive to collect through interviews. Our method helps to motivate future research in API usage, and can allow designers of platforms - such as iOS and Android - to better understand the problems developers have in using their platforms, and to make corresponding improvements.
更多
查看译文
关键词
public domain software,stackoverflow.com,correct usage,application program interfaces,api usage template,api usage obstacle,android api class,api usage hotspots,q&a web site,open source ios,topic mining tool,api method,android developer question,usage obstacle,linux,detecting api usage obstacle,android api classes,web sites,api method invoking,forum-based input,data mining,generic functionalities,application programming interfaces,software frameworks,api usage,api usage pattern,software engineering,android developer questions,modelling api usage,api-related post analysis,api usage obstacle detection,documentation,humanoid robots
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要