Towards Crowd-Sourced API Documentation

被引:0
|
作者
Uddin, Gias [1 ]
Khomh, Foutse [1 ]
Roy, Chanchal K. [2 ]
机构
[1] Polytech Montreal, SWAT Lab, Montreal, PQ, Canada
[2] Univ Saskatchewan, Dept Comp Sci, Saskatoon, SK, Canada
关键词
API; Mining; Usage; Documentation;
D O I
10.1109/ICSE-Companion.2019.00129
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The learnability of an API suffers when the official documentation of the API is incomplete. Developers discuss usage scenarios of APIs in the online developer forums. As such, by automatically mining such crowd-sourced documentation of APIs, we can address the shortcomings of API official documentation. We present a framework to automatically mine usage scenarios about APIs from online developer forums. Each usage scenario of an API consists of a code example, a summary description, and the reactions (i.e., positive and negative opinions) of other developers towards the code example. We evaluate our API usage mining framework by producing a benchmark dataset. We observed a precision of 0.947 and a recall of 1.0 with the linking of a code example to an API mention in the forum.
引用
下载
收藏
页码:310 / 311
页数:2
相关论文
共 50 条
  • [31] Media witnessing and the "crowd-sourced video revolution'
    Anden-Papadopoulos, Kari
    VISUAL COMMUNICATION, 2013, 12 (03) : 341 - 357
  • [32] Crowd-Sourced Digitisation of Cultural Heritage Assets
    Miles, Helen C.
    Wilson, Andrew T.
    Labrosse, Frederic
    Tiddeman, Bernard
    Griffiths, Seren
    Edwards, Ben
    Moeller, Katharina
    Karl, Raimund
    Roberts, Jonathan C.
    2014 INTERNATIONAL CONFERENCE ON CYBERWORLDS (CW), 2014, : 361 - 368
  • [33] Modelling Growth of Urban Crowd-Sourced Information
    Quattrone, Giovanni
    Mashhadi, Afra
    Quercia, Daniele
    Smith-Clarke, Chris
    Capra, Licia
    WSDM'14: PROCEEDINGS OF THE 7TH ACM INTERNATIONAL CONFERENCE ON WEB SEARCH AND DATA MINING, 2014, : 563 - 572
  • [34] MUNICIPAL WIFI DEPLOYMENT AND CROWD-SOURCED STRATEGIES
    Evenepoel, Simon
    Van Ooteghem, Jan
    Lannoo, Bart
    Verbrugge, Sofie
    Colle, Didier
    Pickavet, Mario
    JOURNAL OF THE INSTITUTE OF TELECOMMUNICATIONS PROFESSIONALS, 2013, 7 : 24 - 30
  • [35] Service and capacity planning in crowd-sourced delivery
    Yildiz, Baris
    Savelsbergh, Martin
    TRANSPORTATION RESEARCH PART C-EMERGING TECHNOLOGIES, 2019, 100 : 177 - 199
  • [36] Characteristics of the Crowd-Sourced Glaucoma Study patient database
    Vianna, Jayme R.
    Quach, Jack
    Baniak, Gabriela
    Chauhan, Balwantray C.
    INVESTIGATIVE OPHTHALMOLOGY & VISUAL SCIENCE, 2020, 61 (07)
  • [37] A Tool for Matching Crowd-sourced and Authoritative Geospatial Data
    Du, Heshan
    Alechina, Natasha
    Hart, Glen
    Jackson, Michael
    2015 INTERNATIONAL CONFERENCE ON MILITARY COMMUNICATIONS AND INFORMATION SYSTEMS (ICMCIS), 2015,
  • [38] A Trust Framework for the Collection of Reliable Crowd-Sourced Data
    Ramoudith, Shiva
    Hosein, Patrick
    ADVANCES IN INFORMATION AND COMMUNICATION, VOL 2, 2020, 1130 : 42 - 54
  • [39] The use of crowd-sourced symptom data for pollen information
    Bastl, M.
    Berger, M.
    Bouchal, J.
    Dirr, L.
    Berger, U.
    ALLERGOLOGIE, 2021, 44 (12) : 927 - 931
  • [40] CROWD-SOURCED GOVERNANCE IN A POST-DISASTER CONTEXT
    Ali, Shahla F.
    INTERNATIONAL & COMPARATIVE LAW QUARTERLY, 2015, 64 (01) : 211 - 226