Title
APIExample: An effective web search based usage example recommendation system for java APIs
Abstract
Programmers often learn how to use an API by studying its usage examples. There are many usage examples scattered in web pages on the Internet. However, it often takes programmers much effort to find out the desired examples from a large number of web pages by web search. This paper proposes a tool named APIExample that can extract usage examples for java APIs from web pages on the Internet and recommend them to programmers. Given a java API, the tool collects its related web pages from the Internet, extracts java code snippets and their surrounding descriptive texts embedded in the pages, then assembles them into usage examples for programmers. Furthermore, in order to help programmers capture more kinds of usages of the target API by browsing fewer examples, our tool clusters and ranks the listed examples based on the target API's usage. Besides, as a practical tool, APIExample provides multiple aspects of frequently-used information about using the target API in a concise user interface with friendly user experience. Two kinds of user-interaction style, a web search portal and an Eclipse plug-in, are now both publicly available.
Year
DOI
Venue
2011
10.1109/ASE.2011.6100133
ASE
Keywords
Field
DocType
tool cluster,web page,usage example recommendation system,extracts java code snippet,practical tool,target api,related web page,java apis,java api,effective web search,web search,usage example,web search portal,user interfaces,user experience,recommender system,internet,api,search engines,user interface,web pages,java
Recommender system,User experience design,World Wide Web,Web page,Computer science,Java API for XML-based RPC,Eclipse,User interface,Java,The Internet
Conference
ISSN
ISBN
Citations 
1938-4300
978-1-4577-1638-6
16
PageRank 
References 
Authors
0.69
8
6
Name
Order
Citations
PageRank
Lijie Wang1504.60
Lu Fang234355.27
Leye Wang355136.79
Ge Li446930.57
Bing Xie562545.85
Fuqing Yang635925.76