MSR 2020
Mon 29 - Tue 30 June 2020
co-located with ICSE 2020
Tue 30 Jun 2020 11:12 - 11:24 at MSR:Zoom - Quality Chair(s): Jens Krinke

Understanding the nature of regular expression (regex) issues is important to tackle practical issues developers face in regular expression usage. Knowledge about the nature and frequency of various types of regular expression issues, such as those related to performance, API misuse, and code smells, for example, can guide testing, inform documentation writers, and motivate refactoring efforts. However, beyond ReDoS (Regular expression Denial of Service), little is known about to what extent regular expression issues affect software development and how these issues are addressed in practice.

This paper presents a comprehensive empirical study of 350 merged regex-related pull requests (PRs) from Apache, Mozilla, Facebook, and Google GitHub repositories. Through classifying the root causes and manifestations of those bugs, we show that incorrect regular expression behavior is the dominant root cause of regular expression bugs (46.3%). The remaining root causes are incorrect API usage (9.3%) and other code issues that require regular expression changes in the fix (29.5%). By studying the code changes of regex-related pull requests, we observe that fixing regular expression bugs is nontrivial as it takes more time and more lines of code to fix them compared to the general pull requests. The results of this study contribute to a broader understanding of the practical problems faced by developers when using regular expressions.

Tue 30 Jun
Times are displayed in time zone: (UTC) Coordinated Universal Time change

msr-2020-papers
11:00 - 12:00: Technical Papers - Quality at MSR:Zoom
Chair(s): Jens KrinkeUniversity College London

Q/A & Discussion of Session Papers over Zoom (Joining info available on Slack)

msr-2020-papers11:00 - 11:12
Live Q&A
Laerte XavierUniversidade Federal de Minas Gerais (UFMG), Fabio da Silva Ferreira, Rodrigo Brito, Marco Tulio ValenteFederal University of Minas Gerais, Brazil
Pre-print Media Attached
msr-2020-papers11:12 - 11:24
Live Q&A
Peipei WangNorth Carolina State University, USA, Chris BrownNorth Carolina State University, Jamie JenningsNorth Carolina State University, Kathryn StoleeNorth Carolina State University
Pre-print Media Attached
msr-2020-Registered-Reports11:24 - 11:36
Live Q&A
Pavlína Wurzel Gonçalves, Enrico Fregnan, Tobias Baum, Kurt SchneiderLeibniz Universität Hannover, Software Engineering Group, Alberto BacchelliUniversity of Zurich
Pre-print Media Attached
msr-2020-papers11:36 - 11:48
Live Q&A
Pre-print Media Attached
msr-2020-papers11:48 - 12:00
Live Q&A
Yaroslav GolubevJetBrains Research, ITMO University, Maria Eliseeva, Nikita PovarovJetBrains, Timofey BryksinJetBrains Research, Saint Petersburg State University
Pre-print Media Attached