An Exploratory Study of API Usage Examples on the Web

被引:2
|
作者
Wang, Lijie [1 ]
Zou, Yanzhen
Fang, Lu
Xie, Bing
Yang, Fuqing
机构
[1] Peking Univ, Sch Elect Engn & Comp Sci, Software Inst, Beijing 100871, Peoples R China
基金
中国国家自然科学基金;
关键词
empirical study; API; usage examples; web search;
D O I
10.1109/APSEC.2012.122
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:396 / 405
页数:10
相关论文
共 50 条
  • [41] Detecting Inefficient API Usage
    Kawrykow, David
    Robillard, Martin P.
    2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, COMPANION VOLUME, 2009, : 183 - 186
  • [42] When APIs are Intentionally Bypassed: An Exploratory Study of API Workarounds
    Lamothe, Maxime
    Shang, Weiyi
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 912 - 924
  • [43] Study of Semantic Web Usage Mining
    Liu, Yujiang
    FUTURE INFORMATION TECHNOLOGY, 2011, 13 : 516 - 520
  • [44] A Comprehensive Study of Web Usage Mining
    Dhandi, Monika
    Chakrawarti, Rajesh Kumar
    2016 SYMPOSIUM ON COLOSSAL DATA ANALYSIS AND NETWORKING (CDAN), 2016,
  • [45] Study of Semantic Web Usage Mining
    Liu, Yujiang
    2013 INTERNATIONAL CONFERENCE ON COMMUNICATION SYSTEMS AND NETWORK TECHNOLOGIES (CSNT 2013), 2013, : 678 - 680
  • [46] An exploratory study of web services on the internet
    Li, Yan
    Liu, Yao
    Zhang, Liangjie
    Li, Ge
    Xie, Bing
    Sun, Jiasu
    2007 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES, PROCEEDINGS, 2007, : 380 - +
  • [47] Psychology, psi, and the web: An exploratory study
    Steinkamp, F
    JOURNAL OF THE AMERICAN SOCIETY FOR PSYCHICAL RESEARCH, 1998, 92 (03): : 256 - 278
  • [48] Advances in Web API testing: A Systematic Mapping Study
    Capistran Garcia, Josue
    Ocharan Hernandez, Jorge Octavio
    Perez Arriaga, Juan Carlos
    Limon Riano, Hector Javier
    2023 MEXICAN INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE, ENC, 2024,
  • [49] Surfing the API Web: Web Concepts
    Wilde, Erik
    COMPANION PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2018 (WWW 2018), 2018, : 797 - 802
  • [50] MULAPI: Improving API method recommendation with API usage location
    Xu, Congying
    Sun, Xiaobing
    Li, Bin
    Lu, Xintong
    Guo, Hongjing
    JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 142 : 195 - 205