The Reproducibility of Programming-Related Issues in Stack Overflow Questions

11/24/2021
by   Saikat Mondal, et al.
0

Software developers often look for solutions to their code-level problems using the Stack Overflow Q A website. To receive help, developers frequently submit questions containing sample code segments and the description of the programming issue. Unfortunately, it is not always possible to reproduce the issues from the code segments that may impede questions from receiving prompt and appropriate solutions. We conducted an exploratory study on the reproducibility of issues discussed in 400 Java and 400 Python questions. We parsed, compiled, executed, and carefully examined the code segments from these questions to reproduce the reported programming issues. The outcomes of our study are three-fold. First, we found that we can reproduce approximately 68 of Java and 71 approximately 22 the issues that were reproducible, approximately 67 and 20 reproduce the issues. Second, we carefully investigated why programming issues could not be reproduced and provided evidence-based guidelines for writing effective code examples for Stack Overflow questions. Third, we investigated the correlation between the issue reproducibility status of questions and the corresponding answer meta-data, such as the presence of an accepted answer. According to our analysis, a reproducible question has at least two times higher chance of receiving an accepted answer than an irreproducible question. Besides, the median time delay in receiving accepted answers is double if the issues reported in questions could not be reproduced. We also investigate the confounding factors (e.g., reputation) and find that confounding factors do not hurt the correlation between reproducibility status and answer meta-data.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/19/2021

Reproducibility Challenges and Their Impacts on Technical Q A Websites: The Practitioners' Perspectives

Software developers often look for solutions to their code-level problem...
research
07/05/2018

An Insight into the Unresolved Questions at Stack Overflow

For a significant number of questions at Stack Overflow, none of the pos...
research
08/14/2015

Is Stack Overflow Overflowing With Questions and Tags

Programming question and answer (Q & A) websites, such as Quora, Stack O...
research
05/20/2020

Generating Question Titles for Stack Overflow from Mined Code Snippets

Stack Overflow has been heavily used by software developers as a popular...
research
01/04/2019

How Reliable is the Crowdsourced Knowledge of Security Implementation?

Stack Overflow (SO) is the most popular online Q&A site for developers t...
research
10/12/2017

How to Ask for Technical Help? Evidence-based Guidelines for Writing Questions on Stack Overflow

Context: The success of Stack Overflow and other community-based questio...
research
11/21/2022

An Empirical Study of Package Management Issues via Stack Overflow

The package manager (PM) is crucial to most technology stacks, acting as...

Please sign up or login with your details

Forgot password? Click here to reset