IT Glossary
What is code review (peer code review)?
The four-eyes rule applied to programming: code written by one developer is read and approved by another before it enters the product.
- 7
- sections
- 6
- questions answered
Code review (peer code review) is the check in which a second developer reads a code change — usually a pull request in GitHub or a merge request in GitLab — and approves it or asks for fixes before it enters the product. The rule can be enforced in the platform, not just claimed: in GitHub, the “Require pull request reviews before merging” setting blocks the merge until the set number of approvals is reached, while in GitLab Free approvals are optional and block nothing — required approval rules need Premium or Ultimate (checked on 18 November 2026 in the GitHub and GitLab documentation). The DORA 2019 State of DevOps report found that approval through peer review backed by automated tests works better than approval by an external board, for which it found no link to fewer failed changes.
In accounting, nobody is surprised that large payments require two signatures; code review is the same idea applied to code. For you as a buyer, the practice has three effects visible in money: fewer bugs reach users, the code stays intelligible (so the next change costs less), and knowledge of the project lives in at least two heads — one person leaving doesn’t bury the know-how. That is why “do you review every change?” is one of the short questions separating disciplined vendors from those who deliver fast now and expensive forever. On critical projects you can also commission an external code audit — a review by eyes completely foreign to the project.
Why it matters for your business
Defects caught at the source
An error spotted while reading costs minutes; the same error found by customers in production costs hours, data and reputation.
Code that doesn’t age badly
Standards enforced through review keep the code clean and readable — every future modification lands faster and cheaper.
No irreplaceable key person
At least two people understand every piece of code — vacations, departures and the proverbial bus stop being existential project risks.
What a reviewer checks in a pull request
Google’s public code review guide (eng-practices) lists what a reviewer looks at: the design of the change, functionality, complexity, tests, naming, comments, style and documentation. Its standard: the reviewer approves a change as soon as it definitely improves the overall health of the code, even if it isn’t perfect. Optional remarks are marked with the prefix “Nit:”.
Size matters too. The same guide says about 100 lines is usually a reasonable change, while 1,000 lines is usually too large. In buyer terms: small changes can really be read; a 3,000-line pull request is, in practice, approved on trust.
How the process looks: pull request, comments, approval
The developer opens a pull request, a request to merge the change into the main branch. The reviewer leaves one of three states in GitHub: Comment (a remark without a verdict), Approve, or Request changes. The automated checks of your CI/CD pipeline run on the same pull request, so the reviewer doesn’t spend time on what a machine catches.
Optional settings tighten the process: dismissing stale approvals (a new change after approval needs a new approval), requiring that the latest push be approved by someone other than its author, and a CODEOWNERS file that automatically requests a review from the owner of each area of the code, plus the 'Require review from Code Owners' option that makes their approval mandatory.
Want an estimate for your project?
Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.
How a buyer verifies that review really happens
Ask for read access to the code repository. In GitHub, under Settings → Branches (or Rules), the main branch should have “Require a pull request before merging”, at least one required approval, and “Do not allow bypassing the above settings” — by default, the rules do not apply to administrators. Protected branches in private repositories need GitHub Pro, Team or Enterprise; GitHub Free covers public repositories only.
GitLab Free has no required approval, so you check each merge request by hand. On Premium or Ultimate, ask for approval rules with a number above zero and the “Prevent approval by merge request creator” option. On both platforms, open 5 recent pull requests: each must show an approval from someone other than the author. Commits pushed straight to the main branch mean review was skipped. For the wider check of delivered code, see the question on code quality.
Code review, automated testing and code audit
These are three different checks. Code review: a person reads each change. Automated testing: the code runs checks on every change and catches what broke. Code audit: a one-off review of the whole project by an outside team; for the security slice, see the security audit. A serious vendor combines them, because each catches something different.
AI-assisted code review
Tools such as GitHub Copilot, Claude Code or Codex can leave comments on a pull request. According to GitHub’s documentation, Copilot reviews do not count toward required approvals by default; an administrator can enable Copilot approvals, and then they can satisfy the rule. So ask the vendor whether a human approval is still required.
Frequently asked questions
Doesn’t code review slow down and inflate development?
It adds hours to each delivery and saves more than it adds: defects caught early, code that stays modifiable and distributed know-how all cost less than their alternatives. On projects with a real lifespan, review hours are among the best-yielding ones you pay for.
How do I verify a vendor actually reviews code rather than just claiming to?
Ask to see the process: pull requests with comments and approvals in GitHub or GitLab, and a protected-branch rule with a required approval that blocks integration without one. The repository history doesn’t lie — a project with no review traces was written on trust alone.
What is a code audit, and when is it worth paying for separately?
A broad review by an independent team across the entire project: quality, security, dependencies, risks. It pays off before taking over an inherited application, during due diligence, or when you want a second opinion on what your current vendor delivers.
What does LGTM mean in a code review?
LGTM means “Looks Good to Me”. A reviewer writes it when approving a change, following the terminology of Google’s public code review guide. It is not an empty formula: it is worth exactly as much as the reading that came before it.
How big should a pull request be?
Small: Google’s code review guide says about 100 lines is usually reasonable and 1,000 lines is usually too large. The smaller the change, the more carefully the reviewer reads it, instead of approving it in a hurry.
Can an AI tool replace human code review?
Not by default: in GitHub, Copilot reviews do not count toward required approvals unless an administrator enables that. AI works as a first filter, while a human approval remains the rule a buyer can ask for.
Let’s talk about your project
Book a free 30-minute call or send us an email. We reply the same working day.
office@northdan.com · +40 750 252 851