Skip to main navigation Skip to search Skip to main content

Identifying Textual Features of High-Quality Questions: An Empirical Study on Stack Overflow

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

Background: Stack Overflow (SO) is a programming-specific Q&A website that serves as a valuable repository of software engineering knowledge. For SO members, formulating a good question is the first step towards eliciting satisfactory responses. Aims: To guide SO members on how to make a good question, we conduct an empirical study using the publicly available Stack Overflow Data Dump for the period of 2008-2016. Method: We first choose 25 features along 5 dimensions to represent the textual characteristics that we are interested in. Making use of the Boruta algorithm, we then capture all features that are either strongly or weakly relevant to the question quality. Results: The results show that the number of tags and code snippets are the most discriminative features, whereas there is only a weak correlation between the question quality and the sentiment-related factors. Based on the empirical evidence, we provide useful and usable suggestions to SO members on how to optimize their questions. Conclusions: We consider that our findings will provide SO members with a better understanding of the patterns behind high-quality questions, this is to support effective and efficient utilization of Q&A websites as the ultimate goal.
Original languageEnglish
Title of host publicationProceedings - 24th Asia-Pacific Software Engineering Conference, APSEC 2017
EditorsJian Lv, He (Jason) Zhang, Mike Hinchey, Xiao Liu
PublisherIEEE
Pages636-641
ISBN (Electronic)978-1-5386-3681-7
DOIs
Publication statusPublished - Dec 2017
Event24th Asia-Pacific Software Engineering Conference, APSEC 2017 - Nanjing, Jiangsu, China
Duration: 4 Dec 20178 Dec 2017
http://www.apsec2017.org/

Publication series

NameAsia-Pacific Software Engineering Conference
PublisherIEEE
ISSN (Print)1530-1362

Conference

Conference24th Asia-Pacific Software Engineering Conference, APSEC 2017
Abbreviated titleAPSEC 2017
PlaceChina
CityNanjing, Jiangsu
Period4/12/178/12/17
Internet address

Research Keywords

  • Boruta algorithm
  • empirical software engineering
  • Q&A website
  • Stack Overflow
  • textual feature

Fingerprint

Dive into the research topics of 'Identifying Textual Features of High-Quality Questions: An Empirical Study on Stack Overflow'. Together they form a unique fingerprint.

Cite this