Resolving Code Review Comments with Machine Learning
Citations Over TimeTop 10% of 2024 papers
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.
Related Papers
- → Modern code reviews in open-source projects: which problems do they fix?(2014)252 cited
- → Automatically Recommending Peer Reviewers in Modern Code Review(2015)172 cited
- → Recommending insightful comments for source code using crowdsourced knowledge(2015)61 cited
- → Automatic Code Review by Learning the Revision of Source Code(2019)45 cited
- → Towards demystifying dimensions of source code embeddings(2020)3 cited