DocumentCode
596157
Title
An Exploratory Study of API Usage Examples on the Web
Author
Lijie Wang ; Yanzhen Zou ; Lu Fang ; Bing Xie ; Fuqing Yang
Author_Institution
Sch. of Electron. Eng. & Comput. Sci., Peking Univ., Beijing, China
Volume
1
fYear
2012
fDate
4-7 Dec. 2012
Firstpage
396
Lastpage
405
Abstract
Usage examples are helpful for programmers learning to use APIs from third-party frameworks or libraries. There are lots of usage examples scattered in web pages on the Web, such as tutorials, blogs, and forums. A few researches have proposed approaches to leveraging these usage examples to improve programming. However, due to the lack of comprehensive understanding on the current situation of usage examples on the web, the work is still at the very beginning. Many concerns are reserved, for instance, how many usage examples can be found on the Web? how well do such examples support programmers on earth? what factors have impact on these examples´ usability? In this paper, we conducted an exploratory study of usage examples on the web, including their distribution, characteristics like content style, correctness, and complexity, as well as their correlations. Through the study, we obtain some insight of how to facilitate utilization of usage examples on the web and what mechanisms could be provided. Possible research directions and problems are proposed at the end.
Keywords
Web sites; application program interfaces; computer aided instruction; computer science education; programming; software libraries; API usage example; Web page; blog; complexity; content style; correctness; forum; libraries; program learning; third-party framework; tutorial; Blogs; Java; Libraries; Programming; Tutorials; Web pages; API; empirical study; usage examples; web search;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference (APSEC), 2012 19th Asia-Pacific
Conference_Location
Hong Kong
ISSN
1530-1362
Print_ISBN
978-1-4673-4930-7
Type
conf
DOI
10.1109/APSEC.2012.122
Filename
6462686
Link To Document