Write a Blog >>
MSR 2019
Sun 26 - Mon 27 May 2019 Montreal, QC, Canada
co-located with ICSE 2019
Sun 26 May 2019 17:27 - 17:34 at Place du Canada - Mining Challenge presentations

Developers frequently copy code snippets from publicly-available resources such as Stack Overflow (SO). While this may lead to a ‘quick fix’ for a development problem, little is known about how these copied code snippets affect the code quality of the recipient application, or how the quality of the recipient classes subsequently evolves over the time of the project. This has an impact on whether such code copying should be encouraged, and how classes that receive such code snippets should be monitored during evolution. To investigate this issue, we used instances from the SOTorrent database where Java snippets had been copied from Stack Overflow into GitHub projects. In each case, we measured the quality of the recipient class just prior to the addition of the snippet, immediately after the addition of the snippet, and at a later stage in the project. Our goal was to determine if the addition of the snippet caused quality to improve or deteriorate, and what the long-term implications were for the quality of the recipient class. Code quality was measured using the cohesion metrics Low-level Similarity-based Class Cohesion (LSCC) and Class Cohesion (CC). Over a random sample of 378 classes that received code snippets copied from Stack Overflow to GitHub, we found that in almost 70% of the cases where the copied snippet affected cohesion, the effect was to reduce the cohesion of the recipient class. Furthermore, this deterioration in cohesion tends to persist in the subsequent evolution of the recipient class. In over 70% of cases the recipient class never fully regained the cohesion it lost in receiving the snippet. These results suggest that when copying code snippets from external repositories, more attention should be paid to integrating the code with the recipient class.

Sun 26 May
Times are displayed in time zone: Eastern Time (US & Canada) change

16:00 - 18:00: Mining Challenge presentationsMSR 2019 Mining Challenge at Place du Canada
16:00 - 16:10
Talk
SOTorrent: Studying the Origin, Evolution, and Usage of Stack Overflow Code Snippets
MSR 2019 Mining Challenge
A: Sebastian Baltes University of Trier, A: Christoph TreudeThe University of Adelaide, A: Stephan DiehlComputer Science, University Trier, Germany
Pre-print
16:10 - 16:17
Talk
Mining Rule Violations in JavaScript Code Snippets
MSR 2019 Mining Challenge
Pre-print
16:17 - 16:24
Talk
Snakes in Paradise?: Insecure Python-related Coding Practices in Stack Overflow
MSR 2019 Mining Challenge
Akond RahmanNorth Carolina State University, Effat Farhana, Nasif ImtiazNorth Carolina State University
Pre-print
16:24 - 16:31
Talk
Man vs Machine -- A Study into language identification of Stackoverflow code snippets
MSR 2019 Mining Challenge
Jens DietrichVictoria University of Wellington, Markus Luczak-Roesch, Elroy Dalefield
Pre-print
16:31 - 16:38
Talk
Python Coding Style Compliance on Stack Overflow
MSR 2019 Mining Challenge
Nikolaos Bafatakis, Niels Boecker, Wenjie Boon, Martin Cabello Salazar, Jens KrinkeUniversity College London, Gazi Oznacar, Robert WhiteUniversity College London, UK
Pre-print Media Attached
16:38 - 16:45
Talk
Towards Mining Answer Edits to Extract Evolution Patterns in Stack Overflow
MSR 2019 Mining Challenge
Themistoklis DiamantopoulosElectrical and Computer Engineering Dept, Aristotle University of Thessaloniki, Maria-Ioanna SifakiElectrical and Computer Engineering Dept, Aristotle University of Thessaloniki, Andreas SymeonidisAristotle University of Thessaloniki
Pre-print Media Attached
16:45 - 16:52
Talk
Analyzing Comment-induced Updates on Stack Overflow
MSR 2019 Mining Challenge
Abhishek Soni, Sarah NadiUniversity of Alberta
Pre-print
16:52 - 16:59
Talk
What Edits Are Done on Highly Answered Stack Overflow Questions? An Empirical Study
MSR 2019 Mining Challenge
Xianhao JinVirginia Tech, USA, Francisco ServantVirginia Tech
Pre-print
16:59 - 17:06
Talk
Can Duplicate Posts on Stack Overflow Benefit the Software Development Community?
MSR 2019 Mining Challenge
Durham AbricMcGill University, Oliver Clark, Matthew Caminiti, Keheliya GallabaMcGill University, Shane McIntoshMcGill University
Pre-print
17:06 - 17:13
Talk
How Often and What StackOverflow Posts Do Developers Reference in Their GitHub Projects?
MSR 2019 Mining Challenge
Saraj Singh Manes, Olga BaysalCarleton University
Pre-print
17:13 - 17:20
Talk
Characterizing Duplicate Code Snippets between Stack Overflow and Tutorials
MSR 2019 Mining Challenge
Manziba Nishi, Agnieszka Ciborowska , Kostadin DamevskiVirginia Commonwealth University
Pre-print
17:20 - 17:27
Talk
Challenges with Responding to Static Analysis Tool Alerts
MSR 2019 Mining Challenge
Nasif ImtiazNorth Carolina State University, Akond RahmanNorth Carolina State University, Effat Farhana, Laurie WilliamsNorth Carolina State University
Pre-print
17:27 - 17:34
Talk
Impact of stack overflow code snippets on software cohesion: a preliminary study
MSR 2019 Mining Challenge
DOI Pre-print
17:34 - 17:41
Talk
We Need to Talk about Microservices: an Analysis from the Discussions on StackOverflow
MSR 2019 Mining Challenge
Alan Bandeira, Carlos Filho, Matheus PaixaoState University of Ceara, Brazil, Paulo MaiaState University of Ceará
Pre-print Media Attached
17:41 - 17:48
Talk
What do developers know about machine learning: a study of ML discussions on StackOverflow
MSR 2019 Mining Challenge
Hareem-e-Sahar , Abdul Ali BangashUniversity of Alberta, Canada, Alexander William Wong, Shaiful ChowdhuryUniversity of Alberta, Abram HindleUniversity of Alberta, Karim AliUniversity of Alberta
17:48 - 18:00
Recap + voting
MSR 2019 Mining Challenge