Skip to content
Free planNo credit card requiredStart writing

article · 2024

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

Cited by 15Open access

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.

Cite this paper

APA 7

Froemmgen, A., Austin, J., Choy, P., Ghelani, N., Kharatyan, L., Surita, G., Khrapko, E., Lamblin, P., Manzagol, P.-A., Revaj, M., Tabachnyk, M., Tarlow, D., Villela, K., Zheng, D., Chandra, S., & Maniatis, P. (2024). Resolving Code Review Comments with Machine Learning. https://doi.org/10.1145/3639477.3639746

MLA 9

Froemmgen, Alexander, et al. “Resolving Code Review Comments with Machine Learning.” 2024, pp. 204–15, https://doi.org/10.1145/3639477.3639746.

Chicago

Froemmgen, Alexander, Jacob Austin, Peter Choy, Nimesh Ghelani, Lera Kharatyan, Gabriela Surita, Elena Khrapko, et al. 2024. “Resolving Code Review Comments with Machine Learning.” https://doi.org/10.1145/3639477.3639746.

Harvard

Froemmgen, A. et al. (2024) ‘Resolving Code Review Comments with Machine Learning’. Available at: https://doi.org/10.1145/3639477.3639746.

BibTeX
@article{froemmgen2024resolving,
  title = {{Resolving Code Review Comments with Machine Learning}},
  author = {Froemmgen, Alexander and Austin, Jacob and Choy, Peter and Ghelani, Nimesh and Kharatyan, Lera and Surita, Gabriela and Khrapko, Elena and Lamblin, Pascal and Manzagol, Pierre-Antoine and Revaj, Marcus and Tabachnyk, Maxim and Tarlow, Daniel and Villela, Kevin and Zheng, Daniel and Chandra, Satish and Maniatis, Petros},
  pages = {204--215},
  year = {2024},
  doi = {10.1145/3639477.3639746}
}

Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.