Skip to content
Marvex

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.

Source code displayed on a monitor in a darkened room
Author ≠ contributor
Marvex tracks both, because they are frequently different people
Per-PR drill-down
Every aggregate resolves to the individual pull requests behind it

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?

A member is counted as having worked on a pull request when they authored at least one non-merge commit in that pull request. This is deliberately distinct from being the pull request's author, which only records who opened it. The distinction matters for pairing, hand-overs and colleagues pushing fixes to an open branch, where an author-only view credits one person and hides everyone else. Merge commits are excluded so that pressing the merge button on someone else's work does not create attribution.

Why are merge commits excluded from pull request attribution?

Merge commits are usually mechanical — they record that branches were combined, not that code was written. Counting them would attribute a pull request to whoever performed the merge, which is often a maintainer or an automated process rather than a contributor. Marvex therefore requires at least one non-merge commit before crediting a member with having worked on a pull request, so attribution reflects authorship of actual changes.

Does pull request size predict review quality?

Larger pull requests reliably take longer to be picked up and longer to review, and in most teams they attract less scrutiny per line, because review attention does not scale with diff size. Marvex reports size as a distribution rather than an average so that the largest decile is visible — those few very large changes typically consume a disproportionate share of review capacity while receiving the shallowest reading, which is the opposite of what their risk profile warrants.

How does Marvex measure code review depth?

Through observable proxies rather than judgement: the number of distinct reviewers who engaged, the number of review comments left, and whether those comments were followed by further commits. No tool can assess whether a review was intellectually thorough, but these signals reliably distinguish a change that was discussed from one that was approved without comment, and they make an uneven review culture visible across a repository or a team.

Can pull request analytics be used to rank developers?

They should not be. Pull request counts, lines changed and review counts all measure activity rather than value, and ranking on them produces predictable distortions: smaller pull requests that are not better, work split to inflate counts, and reviews that are approvals rather than reviews. Marvex reports author and contributor views to describe how a team collaborates — for example whether review load is concentrated on one person — not to produce an individual productivity score.

What does review load distribution tell a manager?

It shows how much of the team's review work is handled by each member, and it is usually more concentrated than managers expect. Heavy concentration on one or two reviewers is simultaneously a burnout risk, a key-person risk, and often the direct cause of the team's pull request pickup time — because the queue moves at the pace of one person's calendar. Reading review load next to pickup time turns a general concern about slow reviews into a specific, fixable staffing question.

What causes persistently high rework on pull requests?

Rework is commits pushed after review has begun, and some of it is exactly what review exists to produce. Persistently high rework across a team usually points upstream of the pull request: requirements that were unclear when the work started, design decisions being made during review instead of before it, or changes large enough that they could not have been specified properly in advance. The fix is normally clearer up-front definition or smaller changes, not more careful reviewing.

Does Marvex analyse GitLab merge requests as well as GitHub pull requests?

Yes. GitLab merge requests and GitHub pull requests are normalised into the same model, so size, review depth, rework and contributor attribution are defined identically across both. An organisation running some repositories on GitHub and others on GitLab sees one consistent set of measures rather than two reports that cannot be compared.

Marvex

See it on your own delivery data

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