Measure
Pull Request Analytics
Every pull request leaves a record of how the work was really done. Read across thousands of them, that record is the most detailed picture of your engineering process you will ever get for free.
Marvex analyses pull request size, review depth, rework and contribution across GitHub and GitLab, including a "PR worked on" measure that credits anyone who authored a non-merge commit in the change.
What it does
Capabilities
- Pull request size distribution by lines changed and files touched
- Review depth: comment counts, reviewer counts and approval patterns
- Rework measurement from commits pushed after review began
- "PR worked on" — credits any member who authored a non-merge commit in the pull request
- Author versus contributor views, kept deliberately distinct
- Review load distribution across a team, to surface a single overloaded reviewer
- Repository-level and team-level aggregation with drill-down to a single pull request
- GitHub pull requests and GitLab merge requests in one model
"PR worked on" is not the same as "PR authored"
Most tools attribute a pull request to the person who opened it. That is a reasonable default and a poor description of how work actually happens. Pairs swap the keyboard. A colleague pushes a fix to an open branch. Someone takes over a change when its author goes on leave. In each case the opener gets the credit and the contributor disappears.
Marvex tracks "PR worked on" as a distinct concept: a member is counted as having worked on a pull request when they authored at least one non-merge commit in it. Merge commits are excluded deliberately, because they are usually mechanical and would otherwise credit whoever pressed the button on someone else's work.
Keeping the two measures separate changes what the data can be used for. Author counts describe who initiates work. Worked-on counts describe who participates in it. A team where those two views look very different is telling you something real about how it collaborates — and a team where the second view is heavily concentrated is telling you something about its bus factor.
- Author — the member who opened the pull request
- Worked on — any member with at least one non-merge commit in it
- Merge commits are excluded from worked-on attribution
- Both views are available; neither is presented as an individual productivity score
Size, and what it predicts
Pull request size is the most reliable structural signal in the dataset. It is available for every change, requires no configuration, and correlates with almost everything else you care about: how long the change waits for pickup, how long review takes, how much rework it attracts, and how thoroughly it is actually read.
Marvex reports size as a distribution rather than an average, by lines changed and by files touched. The distribution is what matters, because a team's problem is usually not its typical pull request but its largest decile — the handful of thousand-line changes that consume a disproportionate share of review capacity and receive the least scrutiny per line.
Size is also the easiest metric to game, which is why it is never shown alone. Splitting one coherent change into six pull requests reduces median size and increases total review cycles, and is a net loss. Reading size alongside review depth and rework makes that trade visible instead of rewarding it.
Review depth: is the review real?
An approval is a signal with a very wide range of meanings, from a careful architectural read to a glance at the title. Marvex measures the observable proxies for depth — how many reviewers engaged, how many comments were left, whether comments led to changes — so a team can see the shape of its review culture rather than assuming it.
The most common finding is not that reviews are bad, but that they are uneven. A small number of pull requests get intense scrutiny while a long tail is approved within minutes and without comment. That pattern is often rational — a dependency bump does not need architectural review — but it is worth knowing whether the changes receiving the least attention are the trivial ones or the large risky ones nobody wanted to open.
The right response to shallow review is almost never a policy requiring more comments, which produces comments rather than review. It is usually smaller changes, clearer ownership of who reviews what, and removing the review requirement from changes that genuinely do not need it so that attention goes where it counts.
Review load, and the person carrying it
Review is work, and it is work that is invisible in most reporting. A senior engineer who reviews thirty pull requests a week and authors three will look unproductive in any author-centric view, while being the single highest-leverage person on the team — and the single largest bottleneck if they take a holiday.
Marvex reports review distribution across a team so that concentration is visible. The typical pattern is more extreme than managers expect: a large share of reviews handled by one or two people. That is worth knowing for three separate reasons — it is a burnout risk, it is a key-person risk, and it is very often the direct cause of the team's pickup time.
Reading review load next to pickup time turns a vague concern into a specific one. If one reviewer handles most of the queue, pickup time is a function of that person's calendar, and no amount of encouragement will fix it. Spreading the load will.
Rework: the loop after review starts
Commits pushed after review has begun are measured separately as rework. Some rework is the entire point of review: a reviewer spots a problem, the author fixes it, the code is better. Persistent high rework across a team is a different signal, and it usually points upstream of the pull request rather than at it.
The common causes are recognisable once you look: requirements that were not clear when the work started, design decisions being made in review because they were not made before it, or changes large enough that no one could have specified them properly in advance. Each has a different fix, and none of them is "review more carefully".
Because rework is measured from commit timestamps relative to review events, it needs no process change and no annotation to collect. It accumulates from what your repositories already record.
Aggregate, then drill down
Pull request analytics are only useful if the aggregate resolves back to specifics. A chart showing that rework rose last month is a prompt, not an answer; the answer is in the twelve pull requests that drove the change.
Every view in Marvex drills from team or repository level down to the individual pull request, with its stages, its size, its reviewers and its commits. That path — notice a shift, find the pull requests behind it, read them — is what separates a metrics tool people act on from a dashboard people stop opening.
Frequently asked questions
What does "PR worked on" mean in Marvex?
Why are merge commits excluded from pull request attribution?
Does pull request size predict review quality?
How does Marvex measure code review depth?
Can pull request analytics be used to rank developers?
What does review load distribution tell a manager?
What causes persistently high rework on pull requests?
Does Marvex analyse GitLab merge requests as well as GitHub pull requests?
Related capabilities
Marvex