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.
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
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?
What is the difference between pickup time and review time?
Should we set a target for how fast pull requests get reviewed?
Why do large pull requests get worse reviews?
How do you find out whether review load is concentrated on a few people?
What does "PR worked on" mean in Marvex?
Where to go next
Marvex