Modern code review: a case study at google
Open accessThe DOI matches its Crossref record; 47 of the 47 references it cites were found in a registry or an index.
Abstract
Employing lightweight, tool-based code review of code changes (aka modern code review) has become the norm for a wide variety of open-source and industrial systems. In this paper, we make an exploratory investigation of modern code review at Google. Google introduced code review early on and evolved it over the years; our study sheds light on why Google introduced this practice and analyzes its current status, after the process has been refined through decades of code changes and millions of code reviews. By means of 12 interviews, a survey with 44 respondents, and the analysis of review logs for 9 million reviewed changes, we investigate motivations behind code review at Google, current practices, and developers' satisfaction and challenges.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Qualitative Data Analysis: An Expanded Sourcebook
(1994) · Journal of Environmental Psychology · doi:10.1016/s0272-4944(05)80231-2 · Cited by 48,420
The Discovery of Grounded Theory: Strategies for Qualitative Research.
Wagner, H. R., Glaser, B. G., & Strauss, A. L. (1968) · Social Forces · doi:10.2307/2575405 · Cited by 46,361
The Discovery of Grounded Theory; Strategies for Qualitative Research
Glaser, B. G., Strauss, A. L., & Strutzel, E. (1968) · Nursing Research · doi:10.1097/00006199-196807000-00014 · Cited by 39,449
Research design: qualitative, quantitative, and mixed methods approaches
Caldas, M. P. (2003) · Revista de Administração Contemporânea · doi:10.1590/s1415-65552003000100015 · Cited by 18,745
(2009) · Cited by 6,311
Sackett, D. L. (1979) · Journal of Chronic Diseases · doi:10.1016/0021-9681(79)90012-2 · Cited by 2,075
Design and code inspections to reduce errors in program development
Fagan, M. E. (1976) · IBM Systems Journal · doi:10.1147/sj.153.0182 · Cited by 1,492
The Child in America: Behavior Problems and Programs
Blanchard, P., Thomas, W. I., & Thomas, D. S. (1929) · Journal of the American Institute of Criminal Law and Criminology · doi:10.2307/1134792 · Cited by 1,478
Building knowledge through families of experiments
Basili, V. R., Shull, F., & Lanubile, F. (1999) · IEEE Transactions on Software Engineering · doi:10.1109/32.799939 · Cited by 852
Expectations, outcomes, and challenges of modern code review
Bacchelli, A., & Bird, C. (2013) · 2013 35th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2013.6606617 · Cited by 650 · cited 7×
“Previous studies investigated challenges in the review process overall [4, 26] and provided compelling evidence, also corroborated by our experience as engineers, that understanding code to review is a major hurdle.”
BackgroundMethodResultInfluentialSelf-citationThe Logic of Qualitative Survey Research and its Position in the Field of Social Research Methods
Jansen, H. A. M. (2010) · Forum qualitative Sozialforschung · doi:10.17169/fqs-11.2.1450 · Cited by 532
(2013) · doi:10.5555/2486788.2486882 · Cited by 437
Self-citationExpertise Browser: a quantitative approach to identifying expertise
Mockus, A., & Herbsleb, J. D. (2003) · Proceedings of the 24th International Conference on Software Engineering. ICSE 2002 · doi:10.1109/icse.2002.1007994 · Cited by 383
Don't touch my code!: examining the effects of ownership on software quality
Bird, C., Nagappan, N., Murphy, B., Gall, H., & Devanbu, P. (2011) · Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on Foundations of software engineering · doi:10.1145/2025113.2025119 · Cited by 340
Work practices and challenges in pull-based development: the contributor's perspective
Gousios, G., Storey, M.-A., & Bacchelli, A. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884826 · Cited by 335
Self-citationWork Practices and Challenges in Pull-Based Development: The Integrator's Perspective
Gousios, G., Zaidman, A., Storey, M.-A., & Deursen, A. V. (2015) · 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering · doi:10.1109/icse.2015.55 · Cited by 312
Convergent contemporary software peer review practices
Rigby, P. C., & Bird, C. (2013) · Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2491411.2491444 · Cited by 311
Software inspections: an effective verification process
Ackerman, A. F., Buchwald, L. S., & Lewski, F. H. (1989) · IEEE Software · doi:10.1109/52.28121 · Cited by 276
Thongtanunam, P., Tantithamthavorn, C., Kula, R. G., Yoshida, N., Iida, H., & Matsumoto, K.-I. (2015) · 2015 IEEE 22nd International Conference on Software Analysis, Evolution, and Reengineering (SANER) · doi:10.1109/saner.2015.7081824 · Cited by 228
Expertise browser: a quantitative approach to identifying expertise
Mockus, A., & Herbsleb, J. D. (2002) · Proceedings of the 24th international conference on Software engineering - ICSE '02 · doi:10.1145/581339.581401 · Cited by 199
Conducting on-line surveys in software engineering
Punter, T., Ciolkowski, M., Freimut, B., & John, I. (2003) · 2003 International Symposium on Empirical Software Engineering, 2003. ISESE 2003. Proceedings. · doi:10.1109/isese.2003.1237967 · Cited by 193 · cited 1×
“We received 44 valid responses to our survey (45% response rate, which is considered high for software engineering research [31]).”
BackgroundHelping Developers Help Themselves: Automatic Decomposition of Code Review Changesets
Barnett, M., Bird, C., Brunet, J., & Lahiri, S. K. (2015) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2015.35 · Cited by 189
Code review quality: how developers see it
Kononenko, O., Baysal, O., & Godfrey, M. W. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884840 · Cited by 183
Balachandran, V. (2013) · 2013 35th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2013.6606642 · Cited by 178
Automatically Recommending Peer Reviewers in Modern Code Review
Zanjani, M. B., Kagdi, H., & Bird, C. (2016) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2015.2500238 · Cited by 175
Why Google stores billions of lines of code in a single repository
Potvin, R., & Levenberg, J. (2016) · Communications of the ACM · doi:10.1145/2854146 · Cited by 157
Thongtanunam, P., McIntosh, S., Hassan, A. E., & Iida, H. (2016) · Empirical Software Engineering · doi:10.1007/s10664-016-9452-6 · Cited by 155
Tricorder: Building a Program Analysis Ecosystem
Sadowski, C., van Gogh, J., Jaspan, C. N. C., Söderberg, E., Winter, C., & Google Inc (2015) · Cited by 147
Self-citationTricorder: Building a Program Analysis Ecosystem
Sadowski, C., Van Gogh, J., Jaspan, C., Soderberg, E., & Winter, C. (2015) · 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering · doi:10.1109/icse.2015.76 · Cited by 145
Self-citationBalachandran, V. (2013) · doi:10.5555/2486788.2486915 · Cited by 140
Thongtanunam, P., McIntosh, S., Hassan, A. E., & Iida, H. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884852 · Cited by 138
Contemporary Peer Review in Action: Lessons from Open Source Development
Rigby, P., Cleary, B., Painchaud, F., Storey, M.-A., & German, D. (2012) · IEEE Software · doi:10.1109/ms.2012.24 · Cited by 135
Will my patch make it? And how fast? Case study on the Linux kernel
Jiang, Y., Adams, B., & German, D. M. (2013) · 2013 10th Working Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2013.6624016 · Cited by 132
Untangling fine-grained code changes
Dias, M., Bacchelli, A., Gousios, G., Cassou, D., & Ducasse, S. (2015) · 2015 IEEE 22nd International Conference on Software Analysis, Evolution, and Reengineering (SANER) · doi:10.1109/saner.2015.7081844 · Cited by 111
Self-citationPeer Review on Open-Source Software Projects: Parameters, Statistical Models, and Theory
Rigby, P. C., German, D. M., Cowen, L., & Storey, M.-A. (2014) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/2594458 · Cited by 110
Code Reviews Do Not Find Bugs. How the Current Code Review Best Practice Slows Us Down
Czerwonka, J., Greiler, M., & Tilford, J. M. (2015) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2015.131 · Cited by 106
Developer fluency: achieving true mastery in software projects
Zhou, M., & Mockus, A. (2010) · Proceedings of the eighteenth ACM SIGSOFT international symposium on Foundations of software engineering · doi:10.1145/1882291.1882313 · Cited by 101
Impact of Peer Code Review on Peer Impression Formation: A Survey
Bosu, A., & Carver, J. C. (2013) · 2013 ACM / IEEE International Symposium on Empirical Software Engineering and Measurement · doi:10.1109/esem.2013.23 · Cited by 100
The influence of non-technical factors on code review
Baysal, O., Kononenko, O., Holmes, R., & Godfrey, M. W. (2013) · 2013 20th Working Conference on Reverse Engineering (WCRE) · doi:10.1109/wcre.2013.6671287 · Cited by 98
Helping developers help themselves: automatic decomposition of code review changesets
Barnett, M., Bird, C., Brunet, J., & Lahiri, S. K. (2015) · doi:10.5555/2818754.2818773 · Cited by 81
Characteristics of useful code reviews: an empirical study at Microsoft
Bosu, A., Greiler, M., & Bird, C. (2015) · Mining Software Repositories · doi:10.5555/2820518.2820538 · Cited by 79
Survey of Software Inspection Research
Kollanus, S., & Koskinen, J. (2009) · The Open Software Engineering Journal · doi:10.2174/1874107x00903010015 · Cited by 77
Can peer code reviews be exploited for later information needs?
Sutherland, A., & Venolia, G. D. (2009) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse-companion.2009.5070996 · Cited by 44
Inspecting the History of Inspections: An Example of Evidence-Based Technology Diffusion
Shull, F. J., & Seaman, C. B. (2008) · IEEE Software · doi:10.1109/ms.2008.7 · Cited by 35
Code reviews do not find bugs: how the current code review best practice slows us down
Czerwonka, J., Greiler, M., & Tilford, J. M. (2015) · doi:10.5555/2819009.2819015 · Cited by 33
The Impact of a Low Level of Agreement Among Reviewers in a Code Review Process
HIRAO, T., Ihara, A., Ueda, Y., Phannachitta, P., & Matsumoto, K. (2016) · IFIP advances in information and communication technology · doi:10.1007/978-3-319-39225-7_8 · Cited by 24
Convergent Software Peer Review Practices
Rigby, P. C., & Bird, C. (2013) · Foundations of Software Engineering · Cited by 15
Research works printed but not linked: 4
- A.F. Ackerman , P.J. Fowler , and R.G. Ebenau . 1984. Software inspections and the industrial production of software . In Symposium on Software validation: inspection-testing-verification-alternatives. A.F. Ackerman, P.J. Fowler, and R.G. Ebenau. 1984. Software inspections and the industrial production of software. In Symposium on Software validation: inspection-testing-verification-alternatives.
- chromium 2016. Chromium developer guidelines. https://www.chromium.org/developers/contributing-code. (August 2016 ). chromium 2016. Chromium developer guidelines. https://www.chromium.org/developers/contributing-code. (August 2016).
- gerrit 2016. https://www.gerritcodereview.com/. (August 2016 ). gerrit 2016. https://www.gerritcodereview.com/. (August 2016).
- P. Rigby B. Cleary F. Painchaud M.A. Storey and D. German. 2012. Open Source Peer Review---Lessons and Recommendations for Closed Source. IEEE Software (2012). P. Rigby B. Cleary F. Painchaud M.A. Storey and D. German. 2012. Open Source Peer Review---Lessons and Recommendations for Closed Source. IEEE Software (2012).
Cited by
Automating code review activities by large-scale pre-training
Li, Z., Lu, S., Guo, D., Duan, N., Jannu, S., Jenks, G., Majumder, D., Green, J., Svyatkovskiy, A., Fu, S., et al. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549081 · Cited by 196
“As indicated by previous empirical studies, code review is an important part in the software development lifecycle and involves a significant amount of effort and time of reviewers [5, 33].”
BackgroundMethodUsing pre-trained models to boost code review automation
Tufano, R., Masiero, S., Mastropaolo, A., Pascarella, L., Poshyvanyk, D., & Bavota, G. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510621 · Cited by 177
“Also, code reviews help in preventing bugs and foster knowledge transfer among developers [10, 40].”
Background(2018) · doi:10.1145/3274404 · Cited by 122
“[51] found that Google has refined its code review process over several years into an exceptionally lightweight one, which–in part–seems to contradict the aforementioned findings.”
ResultSelf-citationCORE: Automating Review Recommendation for Code Changes
Siow, J. K., Gao, C., Fan, L., Chen, S., & Liu, Y. (2020) · 2020 IEEE 27th International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner48275.2020.9054794 · Cited by 56
Understanding Accessibility and Collaboration in Programming for People with Visual Impairments
Pandey, M., Kameswaran, V., Rao, H. V., O'Modhrain, S., & Oney, S. (2021) · Proceedings of the ACM on Human-Computer Interaction · doi:10.1145/3449203 · Cited by 54
“They have to adhere to agreed-upon rules of code writing and styling to maintain the readability and consistency of code [65].”
Background
Metadata
- Authors
- Sadowski, C., Söderberg, E., Church, L., Sipko, M., & Bacchelli, A.
- Venue
- Proceedings of the 40th International Conference on Software Engineering: Software Engineering in Practice
- Publisher
- ACM
- Published
- 2018-05-27
- Pages
- 181-190
- OpenAlex
- W2808429234
- Cited by
- 280
- References
- 47
- FWCI
- 17.94
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- Funders
- Swiss National Science Foundation (PP00P2_170529)
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.