What Kind of Questions Do Developers Ask on Stack Overflow? A Comparison of Automated Approaches to Classify Posts Into Question Categories
Autor(en):
Zusammenfassung
This paper has been published in the Journal Empirical Software Engineering, 2020. Stack Overflow (SO) is among the most popular question and answers sites used by developers. Labeling posts with tags is one of the features to facilitate searching and browsing SO posts. However, existing tags mainly refer to technological aspects but not to the purpose of a question. In this paper, we argue that tagging posts with their purpose can facilitate developers to find the posts that provide an answer to their question. We first present a harmonization of existing taxonomies of question categories, that represent the purpose of a question, into seven categories. Next, we present two approaches to automate the classification of posts into the seven question categories, one using regular expressions and one using machine learning. Evaluating both approaches on an independent test set, we found that our regular expressions outperform machine learning. Applying the regular expressions on posts related to Android app development, showed that the categories API USAGE, CONCEPTUAL, and DISCREPANCY are most frequently assigned. By integrating our approach into SO, posts could be manually tagged with our categories which would allow developers to search posts by question category.
- Vollständige Referenz
- BibTeX
Beyer, S., Macho, C., Di Penta, M. & Pinzger, M.,
(2021).
What Kind of Questions Do Developers Ask on Stack Overflow? A Comparison of Automated Approaches to Classify Posts Into Question Categories.
In:
Koziolek, A., Schaefer, I. & Seidl, C.
(Hrsg.),
Software Engineering 2021.
Bonn:
Gesellschaft für Informatik e.V..
(S. 27-28).
DOI: 10.18420/SE2021_03
@inproceedings{mci/Beyer2021,
author = {Beyer, Stefanie AND Macho, Christian AND Di Penta, Massimiliano AND Pinzger, Martin},
title = {What Kind of Questions Do Developers Ask on Stack Overflow? A Comparison of Automated Approaches to Classify Posts Into Question Categories},
booktitle = {Software Engineering 2021},
year = {2021},
editor = {Koziolek, Anne AND Schaefer, Ina AND Seidl, Christoph} ,
pages = { 27-28 } ,
doi = { 10.18420/SE2021_03 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
author = {Beyer, Stefanie AND Macho, Christian AND Di Penta, Massimiliano AND Pinzger, Martin},
title = {What Kind of Questions Do Developers Ask on Stack Overflow? A Comparison of Automated Approaches to Classify Posts Into Question Categories},
booktitle = {Software Engineering 2021},
year = {2021},
editor = {Koziolek, Anne AND Schaefer, Ina AND Seidl, Christoph} ,
pages = { 27-28 } ,
doi = { 10.18420/SE2021_03 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
Sollte hier kein Volltext (PDF) verlinkt sein, dann kann es sein, dass dieser aus verschiedenen Gruenden (z.B. Lizenzen oder Copyright) nur in einer anderen Digital Library verfuegbar ist. Versuchen Sie in diesem Fall einen Zugriff ueber die verlinkte DOI: 10.18420/SE2021_03
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
DOI: 10.18420/SE2021_03
ISBN: 978-3-88579-704-3
ISSN: 1617-5468
Datum: 2021
Sprache:
(en)
(en)
Typ: Text/ConferencePaper

