首页> 外文会议>IEEE/ACM International Conference on Mining Software Repositories >Can Issues Reported at Stack Overflow Questions be Reproduced? An Exploratory Study
【24h】

Can Issues Reported at Stack Overflow Questions be Reproduced? An Exploratory Study

机译:可以在堆栈溢出问题上报告的问题可以复制吗?探索性研究

获取原文

摘要

Software developers often look for solutions to their code level problems at Stack Overflow. Hence, they frequently submit their questions with sample code segments and issue descriptions. Unfortunately, it is not always possible to reproduce their reported issues from such code segments. This phenomenon might prevent their questions from getting prompt and appropriate solutions. In this paper, we report an exploratory study on the reproducibility of the issues discussed in 400 questions of Stack Overflow. In particular, we parse, compile, execute and even carefully examine the code segments from these questions, spent a total of 200 man hours, and then attempt to reproduce their programming issues. The outcomes of our study are two-fold. First, we find that 68% of the code segments require minor and major modifications in order to reproduce the issues reported by the developers. On the contrary, 22% code segments completely fail to reproduce the issues. We also carefully investigate why these issues could not be reproduced and then provide evidence-based guidelines for writing effective code examples for Stack Overflow questions. Second, we investigate the correlation between issue reproducibility status (of questions) and corresponding answer meta-data such as the presence of an accepted answer. According to our analysis, a question with reproducible issues has at least three times higher chance of receiving an accepted answer than the question with irreproducible issues.
机译:软件开发人员经常在堆栈溢出时寻找对其代码级别问题的解决方案。因此,他们经常用示例代码段提交他们的问题并发布描述。不幸的是,并不总是可以从这些代码段重现他们报告的问题。这种现象可能会阻止他们的问题获得提示和适当的解决方案。在本文中,我们报告了关于堆栈溢出问题中讨论的问题的再现性的探索性研究。特别是,我们解析,编译,执行,甚至仔细检查这些问题的代码段,共花了总共200人小时,然后尝试重现他们的编程问题。我们研究的结果是两倍。首先,我们发现68%的代码段需要轻微和重大修改,以便重现开发人员报告的问题。相反,22%的代码段完全无法重现问题。我们还仔细调查为什么无法复制这些问题,然后提供基于证据的准则,用于编写堆栈溢出问题的有效代码示例。其次,我们调查问题再现性状态(问题)与相应答案元数据之间的相关性,例如接受答案的存在。根据我们的分析,一个具有可重复问题的问题至少有三倍的机会接收了接受的答案,而不是Irreproyucible问题的问题。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号