arrow
Return

CAPS: a supervised technique for classifying Stack Overflow posts concerning API issues

delete2019-07-19
delete21
PRE
AI
M
Md Ahasanuzzaman *
Muhammad Asaduzzaman cover
Muhammad Asaduzzaman (Muhammad Asaduzzaman)
C
Chanchal K. Roy
Kevin A. Schneider cover
Kevin A. Schneider (Kevin A. Schneider)
DOI:10.1007/s10664-019-09743-4delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
The design and maintenance of APIs (Application Programming Interfaces) are complex tasks due to the constantly changing requirements of their users. Despite the efforts of their designers, APIs may suffer from a number of issues (such as incomplete or erroneous documentation, poor performance, and backward incompatibility). To maintain a healthy client base, API designers must learn these issues to fix them. Question answering sites, such as Stack Overflow (SO), have become a popular place for discussing API issues. These posts about API issues are invaluable to API designers, not only because they can help to learn more about the problem but also because they can facilitate learning the requirements of API users. However, the unstructured nature of posts and the abundance of non-issue posts make the task of detecting SO posts concerning API issues difficult and challenging. In this paper, we first develop a supervised learning approach using a Conditional Random Field (CRF), a statistical modeling method, to identify API issue-related sentences. We use the above information together with different features collected from posts, the experience of users, readability metrics and centrality measures of collaboration network to build a technique, called CAPS, that can classify SO posts concerning API issues. In total, we consider 34 features along eight different dimensions. Evaluation of CAPS using carefully curated SO posts on three popular API types reveals that the technique outperforms all three baseline approaches we consider in this study. We then conduct studies to find important features and also evaluate the performance of the CRF-based technique for classifying issue sentences. Comparison with two other baseline approaches shows that the technique has high potential. We also test the generalizability of CAPS results, evaluate the effectiveness of different classifiers, and identify the impact of different feature sets.
Keywords:
API issue
Unstructured data mining
Text classification
Feature extraction
Stack Overflow
Classifying emotions in Stack Overflow and JIRA using a multi-label approach
err2020-05-01
err18
errOAAI
errCabrera-Diego, Luis Adrian; Bessis, Nik; Korkontzelos, Ioannis
errShare
errSave
Bootstrapping cookbooks for APIs from crowd knowledge on Stack Overflow
err2019-07-01
err16
errOAAI
errSouza, Lucas B. L.; Campos, Eduardo C.; Madeira, Fernanda; Paixao, Klerisson; Rocha, Adriano M.; Maia, Marcelo de Almeida
errShare
errSave
Leveraging Stack Overflow to detect relevant tutorial fragments of APIs
err2022-11-25
err10
PREAI
errWu, Di; Jing, Xiao-Yuan; Zhang, Hongyu; Zhou, Yuming; Xu, Baowen
errShare
errSave
Generating API tags for tutorial fragments from Stack Overflow
err2021-05-08
err11
PREAI
errWu, Di; Jing, Xiao-Yuan; Zhang, Hongyu; Li, Bing; Xie, Yu; Xu, Baowen
errShare
errSave
What developers ask about openai APIs: An empirical study on stack overflow
err2026-04-01
err0
PREAI
errChen, Xiang; Wang, Jibin; Gao, Chaoyang; Ju, Xiaolin; Cui, Zhanqi
errShare
errSave
API-Related Developer Information Needs in Stack Overflow
err2022-11-01
err13
PREAI
errLiu, Mingwei; Peng, Xin; Marcus, Andrian; Xing, Shuangshuang; Treude, Christoph; Zhao, Chengyuan
errShare
errSave
A study on classifying Stack Overflow questions based on difficulty by utilizing contextual features
err2024-02-01
err2
PREAI
errRaida, Maliha Noushin; Sristy, Zannatun Naim; Ulfat, Nawshin; Monisha, Sheikh Moonwara Anjum; Mostafa, Md. Jubair Ibna; Haque, Md. Nazmul
errShare
errSave

Journal

Empirical Software Engineering cover
Empirical Software Engineering
IF:
3.6
Papers:
2.0K
Citations:
6.4K

Organization

Q
queens university - canada
Scholars:
1.8W
Papers: 1.7W
Citations: 2.1W
U
University of Saskatchewan
Scholars:
744
Papers: 331
Citations: 9.3K
Cited Papers

Cited Papers

Antimicrobial Surgical Prophylaxis in MCS Implant Surgery and Surgical Site Infection, IMACS January 2013 to December 2015
err2017-04-01
err0
PREAI
errM.M. Hannan; R. Xie; S. Kusne; C. Merry; P. Grossi; V. Stosor; C. Sivathasan; M. Mehra; U. Jorde; I. Netuka; S. Huprikar; J.K. Kirklin
errShare
errSave
Characterization of five new pathotypes of Puccinia triticina identified from Northeast India, Nepal, and Bangladesh
err2022-03-10
err0
PREAI
errSubodh Kumar; Subhash Chander Bhardwaj; Om Prakash Gangwar; Pramod Prasad; Ranjana Chakrabarty; Prem Lal Kashyap; Hanif Khan; Siddanna Savadi; Baidya Nath Mahato; Paritosh Kumar Malaker
errShare
errSave
Japanese phase I study of cabazitaxel in metastatic castration-resistant prostate cancer
err2015-03-26
err0
PREAI
errMasahiro Nozawa; Hirofumi Mukai; Shunji Takahashi; Hiroji Uemura; Takeo Kosaka; Yusuke Onozawa; Jun Miyazaki; Kazuhiro Suzuki; Koji Okihara; Yoichi Arai; Tomomi Kamba; Masashi Kato; Yasutomo Nakai; Hiroshi Furuse; Haruki Kume; Hisamitsu Ide; Hiroshi Kitamura; Akira Yokomizo; Takahiro Kimura; Yoshihiko Tomita; Keiji Ohno; Yoshiyuki Kakehi
errShare
errSave
Tunable polymer optical add/drop filter for multiwavelength networks
err1997-11-01
err0
PREAI
errC. Kostrzewa; R. Moosburger; G. Fischbeck; B. Schuppert; K. Petermann
errShare
errSave
errShare
errSave
Sentiment Polarity Detection for Software Development
err2017-09-19
err168
PREAI
errCalefato, Fabio; Lanubile, Filippo; Maiorano, Federico; Novielli, Nicole
errShare
errSave
An empirical study of the impact of modern code review practices on software quality
err2015-04-25
err208
PREAI
errMcIntosh, Shane; Kamei, Yasutaka; Adams, Bram; Hassan, Ahmed E.
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Serum HER2 Level Measured by Dot Blot: A Valid and Inexpensive Assay for Monitoring Breast Cancer Progression
err2011-04-13
err0
errOAAI
errLi-Duan Tan; Yuan-Yuan Xu; Yue Yu; Xiao-Qing Li; Ying Chen; Yu-Mei Feng
errShare
errSave
researcher View more