Write a Blog >>
ICSE 2022
Sun 8 - Fri 27 May 2022
Tue 10 May 2022 22:15 - 22:20 at ICSE room 1-even hours - Mining Software Repositories 4 Chair(s): Joshua Garcia
Fri 13 May 2022 13:05 - 13:10 at ICSE room 3-odd hours - Mining Software Repositories 7 Chair(s): Grace Lewis

Existing code repositories contain numerous instances of code patterns that are idiomatic ways of accomplishing a particular programming task. Sometimes, the programming language in use supports specific operators or APIs that can express the same idiomatic imperative code much more succinctly. However, those code patterns linger in repositories because the developers may be unaware of the new APIs or have not gotten around to them. Detection of idiomatic code can also point to the need for new APIs.

We share our experiences in mining imperative idiomatic patterns from the Hack repo at Facebook. We found that existing techniques either cannot identify meaningful patterns from syntax trees or require test-suite-based dynamic analysis to incorporate semantic properties to mine useful patterns. The key insight of the approach proposed in this paper - Jezero - is that semantic idioms from a large codebase can be learned from canonicalized dataflow trees. We propose a scalable, lightweight static analysis-based approach to construct such a tree that is well suited to mine semantic idioms using nonparametric Bayesian methods.

Our experiments with Jezero on Hack code show a clear advantage of adding canonicalized dataflow information to ASTs: Jezero was significantly more effective in finding new refactoring opportunities from unannotated legacy code than a baseline that did not have the dataflow augmentation.

Tue 10 May

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

22:00 - 23:00
Mining Software Repositories 4Technical Track / Journal-First Papers / SEIP - Software Engineering in Practice at ICSE room 1-even hours
Chair(s): Joshua Garcia University of California, Irvine
22:00
5m
Talk
Dependency Smells in JavaScript Projects
Journal-First Papers
Abbas Javan Jafari Concordia University, Canada, Diego Costa Concordia University, Canada, Rabe Abdalkareem Carleton University, Emad Shihab Concordia University, Nikolaos Tsantalis Concordia University
DOI Pre-print File Attached
22:05
5m
Talk
Assisting Example-based API Misuse Detection via Complementary Artificial Examples
Journal-First Papers
Maxime Lamothe Polytechnique Montréal, Heng Li Polytechnique Montréal, Weiyi Shang Concordia University
Link to publication DOI Pre-print Media Attached
22:10
5m
Talk
Breaking Type Safety in Go: An Empirical Study on the Usage of the unsafe Package
Journal-First Papers
Diego Costa Concordia University, Canada, Suhaib Mujahid Concordia University, Rabe Abdalkareem Carleton University, Emad Shihab Concordia University
Link to publication Pre-print Media Attached
22:15
5m
Talk
Mining Idioms in the Wild
SEIP - Software Engineering in Practice
Aishwarya Sivaraman University of California, Los Angeles, Rui Abreu Faculty of Engineering, University of Porto, Portugal, Andrew Scott Facebook, Tobi Akomolede Facebook, Satish Chandra Facebook
Pre-print Media Attached
22:20
5m
Talk
AutoTransform: Automated Code Transformation to Support Modern Code Review Process
Technical Track
Patanamon Thongtanunam University of Melbourne, Chanathip Pornprasit Monash University, Kla Tantithamthavorn Monash University
Pre-print Media Attached
22:25
5m
Talk
What Makes a Good Commit Message?Distinguished Paper Award
Technical Track
Yingchen Tian Beijing Institute of Technology, Yuxia Zhang Beijing Institute of Technology, Klaas-Jan Stol University College Cork, Lero, SINTEF, Lin Jiang Beijing Institute of Technology, Hui Liu Beijing Institute of Technology
Pre-print Media Attached

Fri 13 May

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

13:00 - 14:00
Mining Software Repositories 7SEIP - Software Engineering in Practice / Journal-First Papers at ICSE room 3-odd hours
Chair(s): Grace Lewis Carnegie Mellon Software Engineering Institute
13:00
5m
Talk
Dependency Smells in JavaScript Projects
Journal-First Papers
Abbas Javan Jafari Concordia University, Canada, Diego Costa Concordia University, Canada, Rabe Abdalkareem Carleton University, Emad Shihab Concordia University, Nikolaos Tsantalis Concordia University
DOI Pre-print File Attached
13:05
5m
Talk
Mining Idioms in the Wild
SEIP - Software Engineering in Practice
Aishwarya Sivaraman University of California, Los Angeles, Rui Abreu Faculty of Engineering, University of Porto, Portugal, Andrew Scott Facebook, Tobi Akomolede Facebook, Satish Chandra Facebook
Pre-print Media Attached
13:10
5m
Talk
The Impact of Flaky Tests on Historical Test Prioritization on Chrome
SEIP - Software Engineering in Practice
Emad Fallahzadeh Concordia University, Peter Rigby Concordia University, Montreal, Canada
Pre-print Media Attached

Information for Participants
Tue 10 May 2022 22:00 - 23:00 at ICSE room 1-even hours - Mining Software Repositories 4 Chair(s): Joshua Garcia
Info for room ICSE room 1-even hours:

Click here to go to the room on Midspace

Fri 13 May 2022 13:00 - 14:00 at ICSE room 3-odd hours - Mining Software Repositories 7 Chair(s): Grace Lewis
Info for room ICSE room 3-odd hours:

Click here to go to the room on Midspace