API-related developer information needs in Stack Overflow

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 t...

Full description

Saved in:
Bibliographic Details
Main Authors: LIU, Mingwei, PENG, Xin, MARCUS, Andrian, XING, Shuangshuang, TREUDE, Christoph, ZHAO, Chengyuan
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2022
Subjects:
API
Online Access:https://ink.library.smu.edu.sg/sis_research/8783
https://ink.library.smu.edu.sg/context/sis_research/article/9786/viewcontent/tse21b.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-9786
record_format dspace
spelling sg-smu-ink.sis_research-97862024-05-30T08:57:45Z API-related developer information needs in Stack Overflow LIU, Mingwei PENG, Xin MARCUS, Andrian XING, Shuangshuang TREUDE, Christoph ZHAO, Chengyuan 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. 2022-11-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/8783 info:doi/10.1109/TSE.2021.3120203 https://ink.library.smu.edu.sg/context/sis_research/article/9786/viewcontent/tse21b.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Developer Information Need API Stack Overflow Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Developer Information Need
API
Stack Overflow
Software Engineering
spellingShingle Developer Information Need
API
Stack Overflow
Software Engineering
LIU, Mingwei
PENG, Xin
MARCUS, Andrian
XING, Shuangshuang
TREUDE, Christoph
ZHAO, Chengyuan
API-related developer information needs in Stack Overflow
description 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.
format text
author LIU, Mingwei
PENG, Xin
MARCUS, Andrian
XING, Shuangshuang
TREUDE, Christoph
ZHAO, Chengyuan
author_facet LIU, Mingwei
PENG, Xin
MARCUS, Andrian
XING, Shuangshuang
TREUDE, Christoph
ZHAO, Chengyuan
author_sort LIU, Mingwei
title API-related developer information needs in Stack Overflow
title_short API-related developer information needs in Stack Overflow
title_full API-related developer information needs in Stack Overflow
title_fullStr API-related developer information needs in Stack Overflow
title_full_unstemmed API-related developer information needs in Stack Overflow
title_sort api-related developer information needs in stack overflow
publisher Institutional Knowledge at Singapore Management University
publishDate 2022
url https://ink.library.smu.edu.sg/sis_research/8783
https://ink.library.smu.edu.sg/context/sis_research/article/9786/viewcontent/tse21b.pdf
_version_ 1814047528997355520