arrow
Return

API-Related Developer Information Needs in Stack Overflow

delete2022-11-01
delete13
PRE
AI
刘明微 cover
刘明微 (Mingwei Liu)
X
Xin Peng *
A
Andrian Marcus
S
Shuangshuang Xing
C
Christoph Treude
C
Chengyuan Zhao
DOI:10.1109/TSE.2021.3120203delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Stack Overflow (SO) provides informal documentation for APIs in response to questions that express API related developer needs. Navigating the information available on SO and getting information related to a particular API and need is challenging due to the vast amount of questions and answers and the tag-driven structure of SO. In this paper we focus on identifying and classifying fine-grained developer needs expressed in sentences of API-related SO questions, as well as the specific information types used to express such needs, and the different roles APIs play in these questions and their answers. We derive a taxonomy, complementing existing ones, through an empirical study of 266 SO posts. We then develop and evaluate an approach for the automated identification of the fine-grained developer needs in SO threads, which takes a thread as input and outputs the corresponding developer needs, the types of information expressing them, and the roles of API elements relevant to the needs. To show a practical application of our taxonomy, we introduce and evaluate an approach for the automated retrieval of SO questions, based on these developer needs.
Keywords:
Encoding
Taxonomy
Documentation
Codes
Task analysis
Java
Data collection
Developer information need
API
Stack Overflow

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.8K
Citations:
1.1W

Organization

U
University of Texas Dallas
Scholars:
5.6K
Papers: 5.0K
Citations: 15
F
fudan university
Scholars:
11.6W
Papers: 7.7W
Citations: 121
U
university of texas system
Scholars:
18.5W
Papers: 15.6W
Citations: 210
researcher View more organizations