arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.12282cs.SE
收藏

堆栈溢出问题中的模糊答案实证研究

An Empirical Study of Obsolete Answers on Stack Overflow

Haoxiang Zhang, Shaowei Wang, Tse-Hsun, Chen, Ying Zou, Ahmed E. Hassan

摘要:

Stack Overflow积累了大量的软件工程知识。然而,随着时间的推移,答案中的某些知识可能会过时。这些过时的答案,如果没有明确识别或记录,可能会误导答案寻求者并导致意想不到的问题(例如,使用过时的安全协议)。在本文中,我们调查如何在答案中的知识变得过时,并确定这种过时的答案的特点。我们发现:1)超过一半的过时答案(58.4%)可能在第一次发布时已经过时。2)当观察到一个过时的答案时,只有一小部分(20.5%)这样的答案会被更新。3)某些标签中的问题答案(例如,node.js、apache、android和objective-c)更有可能过时。我们的研究结果表明,Stack Overflow应该制定机制,鼓励整个社区维护答案(以避免过时的答案),并鼓励寻求答案的人仔细阅读所有信息(例如,评论)在回答线程。

英文摘要:

Stack Overflow accumulates an enormous amount of software engineering knowledge. However, as time passes, certain knowledge in answers may become obsolete. Such obsolete answers, if not identified or documented clearly, may mislead answer seekers and cause unexpected problems (e.g., using an out-dated security protocol). In this paper, we investigate how the knowledge in answers becomes obsolete and identify the characteristics of such obsolete answers. We find that: 1) More than half of the obsolete answers (58.4%) were probably already obsolete when they were first posted. 2) When an obsolete answer is observed, only a small proportion (20.5%) of such answers are ever updated. 3) Answers to questions in certain tags (e.g., node.js, ajax, android, and objective-c) are more likely to become obsolete. Our findings suggest that Stack Overflow should develop mechanisms to encourage the whole community to maintain answers (to avoid obsolete answers) and answer seekers are encouraged to carefully go through all information (e.g., comments) in answer threads.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑