Write a Blog >>
ICPC 2022
Mon 16 - Tue 17 May 2022
co-located with ICSE 2022

Code review is a mature practice for software quality assurance in software development with which reviewers check the code that has been committed by developers, and verify the quality of code. During the code review discussions, reviewers and developers might use code snippets to provide necessary information (e.g., suggestions or explanations). However, little is known about the intentions and impacts of code snippets in code reviews. To this end, we conducted a preliminary study to investigate the nature of code snippets and their purposes in code reviews. We manually collected and checked 10,790 review comments from the Nova and Neutron projects of the OpenStack community, and finally obtained 626 review comments that contain code snippets for further analysis. The results show that: (1) code snippets are not prevalently used in code reviews, and most of the code snippets are provided by reviewers. (2) We identified two high-level purposes of code snippets provided by reviewers (i.e., Suggestion and Citation) with six detailed purposes, among which, Improving Code Implementation is the most common purpose. (3) For the code snippets in code reviews with the aim of suggestion, around 68.1% was accepted by developers. The results highlight promising research directions on using code snippets in code reviews.

Mon 16 May

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

02:50 - 03:20
Session 4: Understanding Development Practices and Challenges 1Early Research Achievements (ERA) / Tool Demonstration / Research / Replications and Negative Results (RENE) at ICPC room
Chair(s): Bin Lin Universitร  della Svizzera italiana (USI)
02:50
4m
Talk
Understanding Code Snippets in Code Reviews: A Preliminary Study of the OpenStack Community
Early Research Achievements (ERA)
Liming Fu Wuhan University, Peng Liang Wuhan University, China, Beiqi Zhang Wuhan University
Pre-print Media Attached
02:54
4m
Talk
GitQ- Towards Using Badges as Visual Cues for GitHub Projects
Tool Demonstration
Akhila Sri Manasa Venigalla IIT Tirupati, Kowndinya Boyalakuntla , Sridhar Chimalakonda Indian Institute of Technology Tirupati
Media Attached
02:58
7m
Talk
Revisiting the Effect of Branch Handling Strategies on Change Recommendation
Replications and Negative Results (RENE)
Keisuke Isemoto Tokyo Institute of Technology, Takashi Kobayashi Tokyo Institute of Technology, Shinpei Hayashi Tokyo Institute of Technology
DOI Pre-print Media Attached
03:05
4m
Talk
pycefr: Python Competency Level through Code Analysis
Tool Demonstration
Gregorio Robles Universidad Rey Juan Carlos, Raula Gaikovina Kula Nara Institute of Science and Technology, Chaiyong Ragkhitwetsagul Mahidol University, Thailand, Tattiya Sakulniwat Nara Institute of Science and Technology, Kenichi Matsumoto Nara Institute of Science and Technology, Jesus M. Gonzalez-Barahona Universidad Rey Juan Carlos
Pre-print Media Attached
03:09
11m
Live Q&A
Q&A-Paper Session 4
Research


Information for Participants