pith. sign in

arxiv: 1809.02814 · v2 · pith:BMRRUOFYnew · submitted 2018-09-08 · 💻 cs.SE

SOTorrent: Studying the Origin, Evolution, and Usage of Stack Overflow Code Snippets

classification 💻 cs.SE
keywords codesotorrentotherpostssnippetstextblocksevolution
0
0 comments X
read the original abstract

Stack Overflow (SO) is the most popular question-and-answer website for software developers, providing a large amount of copyable code snippets. Like other software artifacts, code on SO evolves over time, for example when bugs are fixed or APIs are updated to the most recent version. To be able to analyze how code and the surrounding text on SO evolves, we built SOTorrent, an open dataset based on the official SO data dump. SOTorrent provides access to the version history of SO content at the level of whole posts and individual text and code blocks. It connects code snippets from SO posts to other platforms by aggregating URLs from surrounding text blocks and comments, and by collecting references from GitHub files to SO posts. Our vision is that researchers will use SOTorrent to investigate and understand the evolution and maintenance of code on SO and its relation to other platforms such as GitHub.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Executability of Python Snippets in Stack Overflow

    cs.SE 2019-07 unverdicted novelty 4.0

    Empirical measurement finds 27.92% of SOTorrent Python snippets executable after minor adjustments, stable over time, and more likely when referenced on GitHub.