Gerrit Code Review is a web-based code review tool built on Git version control.

What is Gerrit Code Review?

Gerrit provides a framework you and your teams can use to review code before it becomes part of the code base. Gerrit works equally well in open source projects that limit the number of users who can approve changes (typical in open source software development) and in projects in which all contributors are trusted.

What is Code Review?

Code reviews can identify mistakes before they’re found by customers. In a world of continuous integration, code must be tested before it’s submitted to the master branch to become part of the code base. Tests confirm that a product works (and continues to work) as intended by the developers.

When code is reviewed, developers:

  1. Work carefully and consistently

  2. Learn best practices and new techniques from other developers

  3. Implement consistency and quality across the code base

Code reviews typically turn up issues related to:

  1. Design: Is code well-designed and suited to the code base?

  2. Functionality: Does code perform as intended and in a way that is good for users?

  3. Complexity: Can other developers understand and use the code?

  4. Naming: Does the code contain clear names for elements such as variables, classes, and methods?

  5. Comments: Are comments specific and complete?

Learn Gerrit Code Review

If you’re new to Gerrit and want to learn how Gerrit can improve your workflow, see:

Getting Started

To learn more, see: