Write a Blog >>
ICSE 2021
Mon 17 May - Sat 5 June 2021
Tue 25 May 2021 11:10 - 11:30 at Blended Sessions Room 1 - 1.1.1. Code Review: Automation Chair(s): Antonia Bertolino
Tue 25 May 2021 23:10 - 23:30 at Blended Sessions Room 1 - 1.1.1. Code Review: Automation

Code reviews are popular in both industrial and open source projects. The benefits of code reviews are widely recognized and include better code quality and lower likelihood of introducing bugs. However, since code review is a manual activity it comes at the cost of spending developers’ time on reviewing their teammates’ code.

Our goal is to make the first step towards partially automating the code review process, thus, possibly reducing the manual costs associated with it. We focus on both the contributor and the reviewer sides of the process, by training two different Deep Learning architectures. The first learns code changes performed by developers during real code review activities, thus providing the contributor with a revised version of her code implementing code transformations usually recommended during code review before the code is even submitted for review. The second automatically provides the reviewer commenting on a submitted code with the revised code implementing her comments expressed in natural language.

The empirical evaluation of the two models shows that, on the contributor side, the trained model succeeds in replicating the code transformations applied during code reviews in up to 16% of cases. On the reviewer side, the model can correctly implement a comment provided in natural language in up to 31% of cases. We believe that these encouraging results can pave the way to novel research in the area of automating code review.

Tue 25 May

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

10:30 - 11:30
10:30
20m
Paper
LightSys: Lightweight and Efficient CI System for Improving Integration Speed of SoftwareSEIP
SEIP - Software Engineering in Practice
Geunsik Lim Samsung Research, Samsung Electronics, MyungJoo Ham Samsung Electronics, Jijoong Moon Samsung Electronics, Wook Song Samsung Electronics
Link to publication DOI Pre-print Media Attached
10:50
20m
Paper
Using Machine Intelligence to Prioritise Code Review RequestsSEIP
SEIP - Software Engineering in Practice
Nishrith Saini Ericsson, Ricardo Britto Ericsson / Blekinge Institute of Technology
Pre-print Media Attached
11:10
20m
Paper
Towards Automating Code Review ActivitiesTechnical Track
Technical Track
Rosalia Tufano Università della Svizzera Italiana, Luca Pascarella Delft University of Technology, Michele Tufano Microsoft, Denys Poshyvanyk College of William & Mary, Gabriele Bavota Software Institute, USI Università della Svizzera italiana
Pre-print Media Attached
22:30 - 23:30
22:30
20m
Paper
LightSys: Lightweight and Efficient CI System for Improving Integration Speed of SoftwareSEIP
SEIP - Software Engineering in Practice
Geunsik Lim Samsung Research, Samsung Electronics, MyungJoo Ham Samsung Electronics, Jijoong Moon Samsung Electronics, Wook Song Samsung Electronics
Link to publication DOI Pre-print Media Attached
22:50
20m
Paper
Using Machine Intelligence to Prioritise Code Review RequestsSEIP
SEIP - Software Engineering in Practice
Nishrith Saini Ericsson, Ricardo Britto Ericsson / Blekinge Institute of Technology
Pre-print Media Attached
23:10
20m
Paper
Towards Automating Code Review ActivitiesTechnical Track
Technical Track
Rosalia Tufano Università della Svizzera Italiana, Luca Pascarella Delft University of Technology, Michele Tufano Microsoft, Denys Poshyvanyk College of William & Mary, Gabriele Bavota Software Institute, USI Università della Svizzera italiana
Pre-print Media Attached