SOTorrent: Studying the Origin, Evolution, and Usage of Stack Overflow Code Snippets
- 1 May 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 191-194
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.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- On code reuse from StackOverflow: An exploratory study on Android appsInformation and Software Technology, 2017
- Stack Overflow in Github: Any Snippets There?2017
- Attribution Required: Stack Overflow Code Snippets in GitHub Projects2017
- Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security2017
- What do developers search for on the web?Empirical Software Engineering, 2017
- Stack Overflow: A code laundering platform?2017
- You Get Where You're Looking for: The Impact of Information Sources on Code Security2016
- From query to usable code2016
- The GHTorent dataset and tool suite2013
- Types of software evolution and software maintenanceJournal of Software Maintenance and Evolution: Research and Practice, 2001