Web APIs: Features, Issues, and Expectations - A Large-Scale Empirical Study of Web APIs From Two Publicly Accessible Registries Using Stack Overflow and a User Survey

被引:2
|
作者
Zhang, Neng [1 ]
Zou, Ying [2 ]
Xia, Xin [3 ]
Huang, Qiao [4 ]
Lo, David [5 ]
Li, Shanping [4 ]
机构
[1] SUN Yat Sen Univ, Sch Software Engn, Zhuhai 519000, Peoples R China
[2] Queens Univ, Dept Elect & Comp Engn, Kingston, ON K7L 3N6, Canada
[3] Huawei, Software Engn Applicat Technol Lab, Hangzhou 310000, Peoples R China
[4] Zhejiang Univ, Coll Comp Sci & Technol, Hangzhou 310027, Zhejiang, Peoples R China
[5] Singapore Management Univ, Sch Informat Syst, Singapore 188065, Singapore
基金
中国国家自然科学基金; 新加坡国家研究基金会;
关键词
Mashups; Feature extraction; Software development management; Software; Documentation; Companies; Testing; Web APIs; empirical study; user survey; stack overflow; RECOMMENDATION; DEVELOPERS; SERVICES; PROJECTS; SEARCH;
D O I
10.1109/TSE.2022.3154769
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
With the increasing adoption of services-oriented computing and cloud computing technologies, web APIs have become the fundamental building blocks for constructing software applications. Web APIs are developed and published on the internet. The functionality of web APIs can be used to facilitate the development of software applications. There are numerous studies on retrieving and recommending candidate web APIs based on user requirements from a large set of web APIs. However, there are very limited studies on the features of web APIs that make them more likely to be used and the issues of using web APIs in practice. Moreover, users' expectations on the development and management of web APIs are rarely investigated. In this paper, we conducta large-scale empirical study of 20,047 web APIs published at two popular and publicly accessible web API registries: ProgrammableWeb and APIs.guru. We first extract the questions posted in Stack Overflow (SO) that are relevant to the web APIs. We then manually analyze 1,885 randomly sampled SO questions and identify 24 web API issue types (e.g., authonzation error) that are encountered by users. Afterwards, we conducta user survey to investigate the features of web APIs that users often consider when shortlisting a web API for testing before they adopt it, validate the identified types of web API issues, and understand users' expectations on the development and management of web APIs. From the 191 received responses, we extract 14 important features for users to decide whether to use a web API (e.g., well-organized documentation). We also gain a better understanding of web API issue types and summarize 11 categories of user expectations on web APIs (e.g., documentation and SDK/library). As the result of our study, we provide guidelines for web API developers and registry managers to improve web APIs and promote the use of web APIs.
引用
收藏
页码:498 / 528
页数:31
相关论文
共 6 条
  • [1] How Are Web APIs Versioned in Practice?A Large-Scale Empirical Study
    Serbout, Souhaila
    Pautasso, Cesare
    JOURNAL OF WEB ENGINEERING, 2024, 23 (04): : 465 - 506
  • [2] Towards Large-Scale Empirical Assessment of Web APIs Evolution
    Di Lauro, Fabio
    Serbout, Souhaila
    Pautasso, Cesare
    WEB ENGINEERING, ICWE 2021, 2021, 12706 : 124 - 138
  • [3] What Do Client Developers Concern When Using Web APIs? An Empirical Study on Developer Forums and Stack Overflow
    Venkatesh, Pradeep K.
    Wang, Shaohua
    Zhang, Feng
    Zou, Ying
    Hassan, Ahmed E.
    2016 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES (ICWS), 2016, : 131 - 138
  • [4] Correlations, trends and potential biases among publicly accessible web-based student evaluations of teaching: a large-scale study of RateMyProfessors.com data
    Rosen, Andrew S.
    ASSESSMENT & EVALUATION IN HIGHER EDUCATION, 2018, 43 (01) : 31 - 44
  • [5] Mitochondrial DNA variation of Apis mellifera iberiensis: further insights from a large-scale study using sequence data of the tRNAleu-cox2 intergenic region
    Julio Chávez-Galarza
    Lionel Garnery
    Dora Henriques
    Cátia J. Neves
    Wahida Loucif-Ayad
    J . Spencer Jonhston
    M . Alice Pinto
    Apidologie, 2017, 48 : 533 - 544
  • [6] Mitochondrial DNA variation of Apis mellifera iberiensis: further insights from a large-scale study using sequence data of the tRNAleu-cox2 intergenic region
    Chavez-Galarza, Julio
    Garnery, Lionel
    Henriques, Dora
    Neves, Catia J.
    Loucif-Ayad, Wahida
    Jonhston, J. Spencer
    Alice Pinto, M.
    APIDOLOGIE, 2017, 48 (04) : 533 - 544