DocumentCode
731525
Title
Automatic Assessments of Code Explanations: Predicting Answering Times on Stack Overflow
Author
Ercan, Selman ; Stokkink, Quinten ; Bacchelli, Alberto
Author_Institution
Delft Univ. of Technol.Delft, Delft, Netherlands
fYear
2015
fDate
16-17 May 2015
Firstpage
442
Lastpage
445
Abstract
Users of Question & Answer websites often include code fragments in their questions. However, large and unexplained code fragments make it harder for others to understand the question, thus possibly impacting the time required to obtain a correct answer. In this paper, we quantitatively study this relation: We look at questions containing code fragments and investigate the influence of explaining these fragments better on the time to answer. We devise an approach to quantify code explanations and apply it to ~300K posts. We find that it causes up to a 5σ (single-tail significant) increase in precision over baseline prediction times. This supports the use of our approach as an `edit suggestion´: Questions with a low score could trigger a warning suggesting the user to better explain the included code.
Keywords
Web sites; question answering (information retrieval); answering time prediction; automatic assessments; baseline prediction times; code explanations; quantify code explanations; question & answer Website; stack overflow; Correlation; Guidelines; Java; Measurement; Natural languages; Prediction algorithms; Standards; answering time; stack overflow;
fLanguage
English
Publisher
ieee
Conference_Titel
Mining Software Repositories (MSR), 2015 IEEE/ACM 12th Working Conference on
Conference_Location
Florence
Type
conf
DOI
10.1109/MSR.2015.59
Filename
7180113
Link To Document