An Empirical Study of Obsolete Answers on Stack Overflow

Haoxiang Zhang, Shaowei Wang, Tse-Hsun, Chen, Ying Zou +1 more
3/28/2019
cs.SE

Official code: SAILResearch/replication-obsolete_answers_SO (5 stars, last commit 2019-03-16).

Abstract

Stack Overflow accumulates an enormous amount of software engineering knowledge. However, as time passes, certain knowledge in answers may become obsolete.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

The data of obsolete answers of SO

51Nov 4, 20187 years ago

Similar Papers

Cite this paper

@article{zhang2019empirical,
  title  = {An Empirical Study of Obsolete Answers on Stack Overflow},
  author = {Haoxiang Zhang and Shaowei Wang and Tse-Hsun and Chen and Ying Zou and Ahmed E. Hassan},
  year   = {2019},
  eprint = {1903.12282},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.12282}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1903.12282.svg)](https://codeofpaper.com/paper/1903.12282)

Discussion