Litcius/Paper detail

Resolving Code Review Comments with Machine Learning

Alexander Froemmgen, Jacob Austin, Peter Choy, Nimesh Ghelani, Lera Kharatyan, Gabriela Surita, Elena Khrapko, Pascal Lamblin, Pierre-Antoine Manzagol, Marcus Revaj, Maxim Tabachnyk, Daniel Tarlow, Kevin Villela, Daniel Zheng, Satish Chandra, Petros Maniatis

202416 citationsDOIOpen Access PDF

Abstract

Code reviews are a critical part of the software development process, taking a significant amount of the code authors' and the code reviewers' time. As part of this process, the reviewer inspects the proposed code and asks the author for code changes through comments written in natural language. At Google, we see millions of reviewer comments per year, and authors require an average of ~60 minutes active shepherding time between sending changes for review and finally submitting the change. In our measurements, the required active work time that the code author must devote to address reviewer comments grows almost linearly with the number of comments. However, with machine learning (ML), we have an opportunity to automate and streamline the code-review process, e.g., by proposing code changes based on a comment's text.

Topics & Concepts

Computer scienceCode (set theory)Code reviewProcess (computing)Programming languageSource codeSoftwareArtificial intelligenceSoftware engineeringSoftware developmentStatic program analysisSet (abstract data type)Software Engineering ResearchSoftware Testing and Debugging TechniquesAdvanced Malware Detection Techniques
Resolving Code Review Comments with Machine Learning | Litcius