Fri 27 Oct 2023 11:00 - 11:20 at Rhythms 2 - 5A - Code review Chair(s): Eray Tüzün

Background: As improving code review (CR) effectiveness is a priority for many software development organizations, projects have deployed CR analytics platforms to identify potential improvement areas. The number of issues identified, which is a crucial metric to measure CR effectiveness, can be misleading if all issues are placed in the same bin. Therefore, a finer-grained classification of issues identified during CRs can provide actionable insights to improve CR effectiveness. Although a recent work by Fregnan et al. proposed automated models to classify CR-induced changes, we have noticed two potential improvement areas – i) classifying comments that do not induce changes and ii) using deep neural networks (DNN) in conjunction with code context to improve performances.

Aims: This study aims to develop an automated CR comment classifier that leverages DNN models to achieve a more reliable performance than Fregnan et al.

Method: Using a manually labeled dataset of 1,828 CR comments, we trained and evaluated supervised learning-based DNN models leveraging code context, comment text, and a set of code metrics to classify CR comments into one of the five high-level categories proposed by Turzo and Bosu. Results: Based on our 10-fold cross-validation-based evaluations of multiple combinations of tokenization approaches, we found a model using CodeBERT achieving the best accuracy of 59.3%. Our approach outperforms Fregnan et al.’s approach by achieving 18.7% higher accuracy.

Conclusion: In addition to facilitating improved CR analytics, our proposed model can be useful for developers in prioritizing code review feedback and selecting reviewers.

Fri 27 Oct

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

10:40 - 12:15
10:40
20m
Full-paper
ToxiSpanSE: An Explainable Toxicity Detection in Code Review Comments
ESEM Technical Papers
Jaydeb Sarker Department of Computer Science, Wayne State University, Sayma Sultana Wayne State University, Steven Wilson , Amiangshu Bosu Wayne State University
Pre-print Media Attached
11:00
20m
Full-paper
Towards Automated Classification of Code Review Feedback to Support Analytics
ESEM Technical Papers
Asif Kamal Turzo Wayne State University, Fahim Faysal , Ovi Poddar , Jaydeb Sarker Department of Computer Science, Wayne State University, Anindya Iqbal Bangladesh University of Engineering and Technology Dhaka, Bangladesh, Amiangshu Bosu Wayne State University
Pre-print Media Attached
11:20
20m
Full-paper
Security Defect Detection via Code Review: A Study of the OpenStack and Qt Communities
ESEM Technical Papers
Jiaxin Yu , Liming Fu Wuhan University, Peng Liang Wuhan University, China, Amjed Tahir Massey University, Mojtaba Shahin RMIT University, Australia
Link to publication Pre-print Media Attached
11:40
15m
Vision and Emerging Results
Exploring the Advances in Identifying Useful Code Review Comments
Emerging Results, Vision and Reflection Papers Track
Sharif Ahmed Boise State University, USA, Nasir Eisty Boise State University
11:55
10m
Journal Early-Feedback
Using a Balanced Scorecard to Identify Opportunities to Improve Code Review Effectiveness: An Industrial Experience Report
ESEM Journal-First Papers
Masum Hasan , Anindya Iqbal Bangladesh University of Engineering and Technology Dhaka, Bangladesh, Mohammad Rafid Ul Islam , Ajm Imtiajur Rahman , Amiangshu Bosu Wayne State University
12:05
10m
Journal Early-Feedback
A Critical Comparison on Six Static Analysis Tools: Detection, Agreement, and Precision
ESEM Journal-First Papers
Valentina Lenarduzzi University of Oulu, Fabiano Pecorelli Jheronimus Academy of Data Science, Nyyti Saarimäki Tampere University, Savanna Lujan Tampere University, Fabio Palomba University of Salerno