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 条
  • [21] Collaborative Monocular SLAM with Crowd-Sourced Data
    Huai, Jianzhu
    Jozkow, Grzegorz
    Toth, Charles
    Grejner-Brzezinska, Dorota A.
    [J]. PROCEEDINGS OF THE 29TH INTERNATIONAL TECHNICAL MEETING OF THE SATELLITE DIVISION OF THE INSTITUTE OF NAVIGATION (ION GNSS+ 2016), 2016, : 1064 - 1079
  • [22] Modeling Preconditions in Text with a Crowd-sourced Dataset
    Kwon, Heeyoung
    Koupaee, Mahnaz
    Singh, Pratyush
    Sawhney, Gargi
    Shukla, Anmol
    Kallur, Keerthi Kumar
    Chambers, Nathanael
    Balasubramanian, Niranjan
    [J]. FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EMNLP 2020, 2020, : 3818 - 3828
  • [23] Enabling Crowd-Sourced Mobile Internet Access
    Iosifidis, George
    Gao, Lin
    Huang, Jianwei
    Tassiulas, Leandros
    [J]. 2014 PROCEEDINGS IEEE INFOCOM, 2014, : 451 - 459
  • [24] Crowd-Sourced Intelligence Agency: Prototyping counterveillance
    Gradecki, Jennifer
    Curry, Derek
    [J]. BIG DATA & SOCIETY, 2017, 4 (01):
  • [25] Predicting Helpfulness of Crowd-Sourced Reviews: A Survey
    Bilal, Muhammad
    Marjani, Mohsen
    Hashem, Ibrahim Abaker Targio
    Abdullahi, Akibu Mahmoud
    Tayyab, Muhammad
    Gani, Abdullah
    [J]. 2019 13TH INTERNATIONAL CONFERENCE ON MATHEMATICS, ACTUARIAL SCIENCE, COMPUTER SCIENCE AND STATISTICS (MACS-13), 2019,
  • [26] WikiAnesthesia: A Crowd-sourced Anesthesia Knowledge Repository
    Sutton, Olivia
    Wang, Tony Y.
    Larson, Barrett J.
    Nguyen, The-Hung
    Rishel, Chris A.
    [J]. ANESTHESIA AND ANALGESIA, 2023, 136 : 48 - 48
  • [27] Crowd-Sourced Design of Artificial Attentive Listeners
    Oertel, Catharine
    Jonell, Patrik
    Kontogiorgos, Dimosthenis
    Mendelson, Joseph
    Beskow, Jonas
    Gustafson, Joakim
    [J]. 18TH ANNUAL CONFERENCE OF THE INTERNATIONAL SPEECH COMMUNICATION ASSOCIATION (INTERSPEECH 2017), VOLS 1-6: SITUATED INTERACTION, 2017, : 854 - 858
  • [28] Shelley: A Crowd-sourced Collaborative Horror Writer
    Yanardag, Pinar
    Cebrian, Manuel
    Rahwan, Iyad
    [J]. C&C'21: PROCEEDINGS OF THE 13TH CONFERENCE ON CREATIVITY AND COGNITION, 2021,
  • [29] Crowd-Sourced Calibration of Uncontrolled Radiation Detectors
    Drukier, Gordon A.
    Kessler, Joshua C.
    Rubenstein, Yonatan B.
    Rubenstein, Eric P.
    [J]. 2012 IEEE INTERNATIONAL CONFERENCE ON TECHNOLOGIES FOR HOMELAND SECURITY, 2012, : 373 - 377
  • [30] Crowd-sourced Archaeological Research: The MicroPasts Project
    Bonacchi, Chiara
    Bevan, Andrew
    Pett, Daniel
    Keinan-Schoonbaert, Adi
    Sparks, Rachael
    Wexler, Jennifer
    Wilkin, Neil
    [J]. ARCHAEOLOGY INTERNATIONAL, 2014, 17 : 61 - 68