Skip to content
Marvex

By need

Improve Code Review Without Making It Shallower

Two people on the same team say review is broken. One means they wait two days for a look. The other means the look, when it comes, is a thumbs up.

How to improve code review using pull request data: separating review latency from review depth, understanding what each measurement can and cannot tell you, and which changes actually help.

Source code displayed on a monitor during a code review

Definition

The problem: Code review is the thing everyone complains about, but half the team means it is slow and the other half means it is not catching anything.

What changes

  • Latency and depth measured separately, so the right one gets fixed
  • Pull request size treated as the lever it actually is
  • Review participation across the team seen rather than assumed
  • Improvements that do not quietly convert into rubber-stamping

What Marvex measures here

2
Distinct latency stages: first response / pickup, and review
2
Quality signals reported per pull request: size and review depth
1
Definition of "PR worked on": authored at least one non-merge commit in the pull request

The review complaint is two complaints

Almost every "our code review process is broken" conversation contains two grievances that have been merged into one. The latency grievance is about waiting: changes sit, context is lost, and the author has moved on by the time feedback arrives. The depth grievance is about substance: approvals arrive quickly and carry no information, so review is a formality and defects reach production anyway.

They pull in opposite directions. Push hard on latency alone and you get faster approvals with less thought. Push hard on depth alone and you get slower everything, which the team experiences as bureaucracy. The only way to make progress is to measure both and treat any movement in one that comes at the expense of the other as a non-result.

Marvex reports first-response and review time as separate stages, and reports pull request size and review depth alongside them, which is what makes the trade-off visible rather than argued about.

Measure pickup separately from review

This is the single most useful split, because the two stages have completely different causes. Pickup — the wait for anyone to engage — is queueing. Review — the interval from engagement to approval — is work plus context switching.

Teams routinely misdiagnose this. The felt experience of "review takes three days" is often two and a half days of pickup and half a day of review. That distinction matters because the fix for pickup is routing and ownership, which is cheap, while the fix for review time is reviewer capacity or change size, which is not.

When you set an expectation, set it on first response rather than on approval. "Someone will look within one working day" is achievable without compromising anything. "Everything is approved within one working day" is a target on the wrong stage, and the way teams hit it is by approving things.

  • Pickup is queueing: fix with rotas, group review requests and visibility
  • Review time is work plus context switching: fix with capacity or smaller changes
  • Set expectations on first response, never on approval
  • A pickup improvement with falling review depth is not an improvement

Review depth, and the limits of measuring it

Review depth — how much substantive engagement a change received — is the counterweight that stops latency work becoming rubber-stamping. Marvex reports it alongside the timing and size data for each pull request.

It needs handling carefully, because it is the most gameable metric in the set. Any depth measure based on engagement volume can be satisfied with volume: nitpicks, style comments a linter should have caught, or a reviewer who leaves five comments where one would do. A high depth score is not the goal. Depth is a guardrail, watched for collapse, not a number to maximise.

The useful reading is directional and comparative. If review depth is dropping across a team while pickup time improves, the latency push is being paid for with attention. If depth is very low on a specific repository, that is worth a look — it often turns out to be a codebase where nobody feels qualified to push back, which is a knowledge problem rather than a process one.

Pull request size is the lever you actually control

Of everything that affects review, change size is the most directly controllable. It is decided by the author, before any review happens, and it constrains every option the reviewer has afterwards.

A reviewer facing a very large diff has three realistic choices: approve it without reading closely, block out a long uninterrupted period, or defer it. The first degrades depth, the second and third degrade latency. There is no fourth option where a large change gets a fast, deep review, which is why size shows up in both grievances at once.

Marvex reports size per pull request next to the stage timings, so this is checkable on your own repositories rather than taken on faith. If your slowest reviews are also your largest changes, a size convention is a more direct fix than anything you could do to the review process itself.

  • Split structural changes from behavioural ones so each can be judged on its own terms
  • Land renames, moves and formatting separately from logic
  • Use draft pull requests to agree on direction before the diff gets large
  • Check size against review time in your own data before adopting anyone else's threshold

Look at reviewer load, and be careful with attribution

Review capacity is usually distributed far less evenly than anyone believes. A small number of people carry most of the review load, often the same people who are also the domain experts and the incident responders, and their queue is the constraint the whole team feels.

Making that concentration visible is usually enough to act on it, whether by expanding who can review a given area, pairing a less experienced reviewer with an expert, or reducing what routes to a particular person by default.

One attribution note matters here. Marvex's "PR worked on" concept counts any member who authored at least one non-merge commit in a pull request, which is deliberately broader than being the pull request author. It means collaborators are not erased by whoever opened the change. It also means these figures should not be read as an individual scoreboard: review and authorship counts describe how work is distributed across a team, not how good anyone is.

Frequently asked questions

How do you measure code review effectiveness without encouraging rubber-stamping?

Measure latency and depth separately and treat depth as a guardrail rather than a target. Marvex reports first-response time and review time as distinct stages, and reports review depth and pull request size alongside them. The rule is that any improvement in latency that coincides with a fall in review depth is not an improvement. Depth should never be maximised as a goal in its own right, because engagement-volume measures are trivially satisfied with nitpicks and style comments a linter should catch.

What is the difference between pickup time and review time?

Pickup, or first-response time, is the wait between a pull request being ready and anyone engaging with it — pure queueing, with no work happening. Review time is the interval from that first engagement to approval, which contains actual work plus reviewer context switching. Teams often experience the two as one "review is slow" complaint when the data shows most of the elapsed time is pickup. The distinction matters because pickup is fixed cheaply with routing and ownership, while review time needs reviewer capacity or smaller changes.

Should we set a target for how fast pull requests get reviewed?

Set it on first response, not on approval. "Someone will respond within one working day" is achievable without compromising quality, because responding is not the same as approving. A target on approval time pushes reviewers toward the one action guaranteed to satisfy it, which is approving. Pair any latency expectation with a watch on review depth, so it is visible if the target is being met by lowering the bar.

Why do large pull requests get worse reviews?

Because a reviewer facing a very large diff has only three realistic options: approve without reading closely, block out a long uninterrupted period, or defer it. The first degrades review depth and the other two degrade latency, so change size affects both the "review is slow" and the "review is shallow" complaints simultaneously. Since size is decided by the author before review begins, it is the most directly controllable factor in the whole process.

How do you find out whether review load is concentrated on a few people?

Look at how reviews and pull request participation are distributed across the team rather than at team-level averages. Concentration is common and usually invisible: a small group of domain experts absorbs most reviews and also handles incidents, and their queue becomes the constraint everyone else feels. Making the distribution visible is normally enough to act — by broadening who can review a given area, pairing a less experienced reviewer with an expert, or changing default review routing.

What does "PR worked on" mean in Marvex?

A member is counted as having worked on a pull request if they authored at least one non-merge commit in it. This is deliberately different from being the pull request author, so engineers who contributed commits to a change someone else opened are not erased by the authorship record. It exists to describe how work is distributed across a team, not to rank individuals — delivery data used for individual performance measurement reliably degrades, because the behaviours that improve the number are cheaper than the ones that improve delivery.

Marvex

Put this in front of your teams where code review is either too slow or too shallow

Connect GitHub, GitLab or Jira and Marvex builds your DORA, cycle-time and sprint views from the history you already have.