Write a Blog >>
MSR 2021
Mon 17 - Wed 19 May 2021
co-located with ICSE 2021
Wed 19 May 2021 17:01 - 17:05 at MSR Room 2 - Change Management and Analysis Chair(s): Sarah Nadi

Stack Overflow is a popular Q&A forum for software developers, providing a large number of copyable code snippets. While GitHub is a collaborative development platform, developers often reuse Stack Overflow code in their GitHub projects. These snippets get revised or edited on each platform. In this work, we study Stack Overflow posts and the code snippets that are reused from these posts in GitHub projects. We investigate and compare the change history of SO snippets with the change history of GitHub snippets. We have applied a stratified random sampling when mining 440,000 GitHub projects to create a dataset representing the change history of the reused snippets; this dataset contains 22,900 GitHub projects, 33,765 Stack Overflow references mapped to 4,634 Stack Overflow posts, and a total of 73,322 commits.

We analyze the evolution patterns of snippets on each platform, compare key trends, and explore the co-change of these snippets. Our results demonstrate that 76% of snippets evolve on Stack Overflow, while only 22% of the reused code snippets evolve in GitHub. Stack Overflow snippets undergo fewer and smaller changes compared to their evolving counterparts on GitHub. The evolution of snippets on both platforms is driven by the original author of the content. Finally, we found that a small percentage of snippets is co-changing across two platforms, while snippets in GitHub and Stack Overflow evolve independently of one another.

Wed 19 May

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

17:00 - 17:50
Change Management and AnalysisTechnical Papers / Registered Reports at MSR Room 2
Chair(s): Sarah Nadi University of Alberta
17:01
4m
Talk
Studying the Change Histories of Stack Overflow and GitHub Snippets
Technical Papers
Saraj Singh Manes Carleton University, Olga Baysal Carleton University
Pre-print Media Attached
17:05
4m
Talk
Learning Off-By-One Mistakes: An Empirical Study
Technical Papers
Hendrig Sellik Delft University of Technology, Onno van Paridon Adyen N.V., Georgios Gousios Facebook & Delft University of Technology, Maurício Aniche Delft University of Technology
Pre-print
17:09
4m
Talk
Predicting Design Impactful Changes in Modern Code Review: A Large-Scale Empirical Study
Technical Papers
Anderson Uchôa Pontifical Catholic University of Rio de Janeiro (PUC-Rio), Caio Barbosa Pontifical Catholic University of Rio de Janeiro (PUC-Rio), Daniel Coutinho Pontifical Catholic University of Rio de Janeiro (PUC-Rio), Willian Oizumi Pontifical Catholic University of Rio de Janeiro (PUC-Rio), Wesley Assunção Pontifical Catholic University of Rio de Janeiro (PUC-Rio), Silvia Regina Vergilio Federal University of Paraná, Juliana Alves Pereira PUC-Rio, Anderson Oliveira PUC-Rio, Alessandro Garcia PUC-Rio
Pre-print
17:13
4m
Talk
Rollback Edit Inconsistencies in Developer Forum
Technical Papers
Saikat Mondal University of Saskatchewan, Gias Uddin University of Calgary, Canada, Chanchal K. Roy University of Saskatchewan
Pre-print
17:17
3m
Talk
Assessing the Exposure of Software Changes: The DiPiDi Approach
Registered Reports
Mehran Meidani University of Waterloo, Maxime Lamothe University of Waterloo, Shane McIntosh
Pre-print
17:20
4m
Talk
On the Use of Dependabot Security Pull Requests
Technical Papers
Mahmoud Alfadel Concordia Univerisity, Diego Costa Concordia University, Canada, Emad Shihab Concordia University, Mouafak Mkhallalati Concordia University
Pre-print
17:24
26m
Live Q&A
Discussions and Q&A
Technical Papers


Information for Participants
Wed 19 May 2021 17:00 - 17:50 at MSR Room 2 - Change Management and Analysis Chair(s): Sarah Nadi
Info for room MSR Room 2:

Go directly to this room on Clowdr