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

Software developers all over the world use Stack Overflow (SO) to interact and exchange code snippets. Research also uses SO to harvest code snippets for use with recommendation systems. However, previous work has shown that code on SO may have quality issues, such as security or license problems.

We analyse Python code on SO to determine its coding style compliance. From 1,962,535 code snippets tagged with ‘python’, we extracted 407,097 snippets of at least 6 statements of Python code. Surprisingly, 93.87% of the extracted snippets contain style violations, with an average of 0.7 violations per statement and a huge number of snippets with a considerably higher ratio. Researchers and developers should, therefore, be aware that code snippets on SO may not representative of good coding style.

Furthermore, while user reputation seems to be unrelated to coding style compliance, for posts with vote scores in the range between -10 and 20, we found a strong correlation (r = -0.87, p < 10^-7) between the vote score a post received and the average number of violations per statement for snippets in such posts.

Sun 26 May

Displayed time zone: Eastern Time (US & Canada) change

16:00 - 18:00
Mining Challenge presentationsMSR 2019 Mining Challenge at Place du Canada
16:00
10m
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 Treude The University of Adelaide, A: Stephan Diehl Computer Science, University Trier, Germany
Pre-print
16:10
7m
Talk
Mining Rule Violations in JavaScript Code Snippets
MSR 2019 Mining Challenge
Pre-print
16:17
7m
Talk
Snakes in Paradise?: Insecure Python-related Coding Practices in Stack Overflow
MSR 2019 Mining Challenge
Akond Rahman North Carolina State University, Effat Farhana , Nasif Imtiaz North Carolina State University
Pre-print
16:24
7m
Talk
Man vs Machine -- A Study into language identification of Stackoverflow code snippets
MSR 2019 Mining Challenge
Jens Dietrich Victoria University of Wellington, Markus Luczak-Roesch , Elroy Dalefield
Pre-print
16:31
7m
Talk
Python Coding Style Compliance on Stack Overflow
MSR 2019 Mining Challenge
Nikolaos Bafatakis , Niels Boecker , Wenjie Boon , Martin Cabello Salazar , Jens Krinke University College London, Gazi Oznacar , Robert White University College London, UK
Pre-print Media Attached
16:38
7m
Talk
Towards Mining Answer Edits to Extract Evolution Patterns in Stack Overflow
MSR 2019 Mining Challenge
Themistoklis Diamantopoulos Electrical and Computer Engineering Dept, Aristotle University of Thessaloniki, Maria-Ioanna Sifaki Electrical and Computer Engineering Dept, Aristotle University of Thessaloniki, Andreas Symeonidis Aristotle University of Thessaloniki
Pre-print Media Attached
16:45
7m
Talk
Analyzing Comment-induced Updates on Stack Overflow
MSR 2019 Mining Challenge
Abhishek Soni , Sarah Nadi University of Alberta
Pre-print
16:52
7m
Talk
What Edits Are Done on Highly Answered Stack Overflow Questions? An Empirical Study
MSR 2019 Mining Challenge
Xianhao Jin Virginia Tech, USA, Francisco Servant Virginia Tech
Pre-print
16:59
7m
Talk
Can Duplicate Posts on Stack Overflow Benefit the Software Development Community?
MSR 2019 Mining Challenge
Durham Abric McGill University, Oliver Clark , Matthew Caminiti , Keheliya Gallaba McGill University, Shane McIntosh McGill University
Pre-print
17:06
7m
Talk
How Often and What StackOverflow Posts Do Developers Reference in Their GitHub Projects?
MSR 2019 Mining Challenge
Saraj Singh Manes , Olga Baysal Carleton University
Pre-print
17:13
7m
Talk
Characterizing Duplicate Code Snippets between Stack Overflow and Tutorials
MSR 2019 Mining Challenge
Manziba Nishi , Agnieszka Ciborowska , Kostadin Damevski Virginia Commonwealth University
Pre-print
17:20
7m
Talk
Challenges with Responding to Static Analysis Tool Alerts
MSR 2019 Mining Challenge
Nasif Imtiaz North Carolina State University, Akond Rahman North Carolina State University, Effat Farhana , Laurie Williams North Carolina State University
Pre-print
17:27
7m
Talk
Impact of stack overflow code snippets on software cohesion: a preliminary study
MSR 2019 Mining Challenge
DOI Pre-print
17:34
7m
Talk
We Need to Talk about Microservices: an Analysis from the Discussions on StackOverflow
MSR 2019 Mining Challenge
Alan Bandeira , Carlos Filho , Matheus Paixao State University of Ceara, Brazil, Paulo Maia State University of Ceará
Pre-print Media Attached
17:41
7m
Talk
What do developers know about machine learning: a study of ML discussions on StackOverflow
MSR 2019 Mining Challenge
Hareem-e-Sahar , Abdul Ali Bangash University of Alberta, Canada, Alexander William Wong , Shaiful Chowdhury University of Alberta, Abram Hindle University of Alberta, Karim Ali University of Alberta
17:48
12m
Recap + voting
MSR 2019 Mining Challenge