技术问答网站的复制挑战及其影响:从业者的观点
Reproducibility Challenges and Their Impacts on Technical Q&A Websites: The Practitioners' Perspectives
摘要:
软件开发人员通常通过向Stack Overflow(SO)等技术问答网站提交问题来寻找代码级问题的解决方案。它们通常包括示例代码段,并带有描述编程问题的问题。因此,当用户试图回答问题时,他们更喜欢使用给定的代码段重现报告的问题。不幸的是,由于几个未满足的挑战(例如,未找到外部库),这可能会阻止问题获得及时和适当的解决方案。先前的一项研究产生了一个潜在挑战的目录,这些挑战阻碍了SO问题中报告的问题的再现性。然而,目前还不清楚从业人员(即,开发人员)感知挑战目录。理解开发人员的观点是引入交互式工具支持以促进可重复性的必然要求。因此,我们试图了解开发人员的观点,调查53个用户的SO。特别是,我们试图(1)了解开发人员对这些挑战的看法,(2)发现这些挑战的潜在影响,(3)了解开发人员如何解决这些挑战,以及(4)确定工具支持需求并对其进行优先级排序。调查结果显示,约90%的参与者同意已经暴露的挑战。然而,他们报告了一些额外的挑战(例如,错误日志丢失),这可能会妨碍再现性。根据参与者的说法,太短的代码段和代码段中缺少所需的类/接口/方法严重阻碍了可重复性,其次是缺少代码的重要部分。为了促进可重复性,参与者强烈建议引入工具支持,如果给定的代码段无法重现问题,则与问题提交者进行交互,并提供改进代码段的建议。
英文摘要:
Software developers often look for solutions to their code-level problems by submitting questions to technical Q&A websites like Stack Overflow (SO). They usually include example code segments with questions to describe the programming issues. SO users prefer to reproduce the reported issues using the given code segments when they attempt to answer the questions. Unfortunately, such code segments could not always reproduce the issues due to several unmet challenges (e.g., external library not found) that might prevent questions from receiving prompt and appropriate solutions. A previous study produced a catalog of potential challenges that hinder the reproducibility of issues reported at SO questions. However, it is unknown how the practitioners (i.e., developers) perceive the challenge catalog. Understanding the developers' perspective is inevitable to introduce interactive tool support that promotes reproducibility. We thus attempt to understand developers' perspectives by surveying 53 users of SO. In particular, we attempt to -- (1) see developers' viewpoints on the agreement to those challenges, (2) find the potential impact of those challenges, (3) see how developers address them, and (4) determine and prioritize tool support needs. Survey results show that about 90% of participants agree to the already exposed challenges. However, they report some additional challenges (e.g., error log missing) that might prevent reproducibility. According to the participants, too short code segment and absence of required Class/Interface/Method from code segments severely prevent reproducibility, followed by missing important part of code. To promote reproducibility, participants strongly recommend introducing tool support that interacts with question submitters with suggestions for improving the code segments if the given code segments fail to reproduce the issues.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。