Working remotely? Waydev can help. Learn how to gain visibility into your engineering teams activity with Waydev. Request a demo

Features

PR Workflow Analytics

Waydev's PR Workflow analytics bundles up all the features you need to identify bottlenecks, long-running or unreviewed pull-requests, so you have a better understanding of PRs and improve your engineers’ performance.

Enable a culture of productive code reviews, positive practices, and better team dynamics. Using our PR workflow analytics tool, you can boost code review productivity and reinforce positive patterns in your team. Waydev analyzes PRs with the help of 4 different PR workflow features that ultimately help you understand and determine if your team’s code review workflow objectives are on track.

Features:

PR Resolution

Identify the bottlenecks in your PR cycles over the course of the sprint. Find outliers, visualize high-level team dynamics and the underlying activities that can contribute to those dynamics.

github pull request workflow

The PR resolution report is designed to help you see how metrics like Time to First Comment, Number of Reviewers, and Number of Follow-on Commits are leading indicators of Time to Resolve, or how long it takes for your teams’ work to get through the review process to production.

How to use the PR Resolution feature:

  1. The PR Resolution feature can help you identify the bottlenecks in your PR cycles over the course of the sprint.
  2. This report focuses on six core PR cycle metrics: Time to Resolve (a PR in hours), Time to First Comment (in hours), Number of Follow-on Commits, Number of reviewers on a PR, Number of reviewer comments on a PR, and the Average number of comments per reviewer.
  3. While these metrics can be a high level benchmarking, the PR resolution is designed to help you find outliers.
  4. The primary thing to pay attention to, is when something jumps out as noticeably out of the ordinary. This really helps to see the ground truth of your code review and can be a great visualization to incorporate into team retrospectives.
  5. One of the biggest sources of pain and frustration in the delivery process is when an engineer opens a PR, and then they wait an enormous time before the reviewer picks it up. Time to resolve is the time that it takes for a pull request to be resolved, whether that means merging it, closing it, or withdrawing it. This metric looks at the broader picture of how work is being handled during the review process.

Review Workflow

View a map of pull request activity in the selected time frame. Identify long-running pull requests, unreviewed pull requests that have been merged, and spot closed pull requests that have not been merged.

github code review tool

How to use the Review Workflow feature:

  1. PRs opened before the selected period are included if they were open during the selected period. Use this report as your starting place for a birds-eye view of all Pull Request activity.
  2. You can select which team’s review workflow to see, which repositories’ review workflow to see, what period should the review workflow span to, as well as what type of workflow reviews to see (open, merged, closed, or all).
  3. One of the uses of the Review Workflow is to identify long-running pull requests, zoom into them and point out what is keeping/ kept that pull request from being merged. It can be a late review, unclear requirements, or multiple follow-on commits.
  4. Another use of the Review Workflow is to identify the unreviewed pull requests that have been merged. We display them with a yellow color. Pull requests that have been merged can raise critical issues if done by a less experienced engineer.
  5. An additional use of the Review Workflow feature is to spot closed pull requests that have not been merged. We display them with a grey color. Closed pull requests that have not been merged indicate unproductive work.
  6. The bars represent the time it took for a pull request to close, while the numbers on the right side of the page are the pull request’s ID. 
  7. The bubbles indicate a follow-on commit, while the half bars indicate the comments. If you click on a bar, details about that particular pull request will pop up.
  8. You can see the pull request ID, the engineer that created the pull request, when it was opened and when it was merged, how much time passed until the first comment, the work level, the number of commits, the number of comments, the number of reviews and its status.
  9. You will also see a timeline of the follow-on commits and comments on the pull request. If you click on a commit title, the commit page from the Git provider will open in a new window.

Review Collaboration

Understand how your engineering teams work collaboratively. Effectively communicate the healthy tension between speed and thoroughness in code review.

The Review Collaboration report offers a unified view of submitter and reviewer metrics of the PR process.

How to use the Review Collaboration feature:

  1. Review Collaboration shows code collaboration stats between the submitters and the reviewers. Engineers can play the role of both submitters and reviewers.
  2. You can select which team’s review collaboration stats to view, which repositories to be analyzed, and what time frame to analyze.
  3. Responsiveness and Reaction Time help you understand how quickly the team members are responding to and communicating with each other in reviews. A healthy code review workflow should aim to improve the velocity of code review communication.
  4. Involvement represents the percentage of PRs a reviewer participated in. It provides a measure of the engineering engagement in the code review process.
  5. Comments addressed is the percentage of Reviewer comments that were responded to with a comment or a code revision.
  6. Receptiveness is the ratio of follow-on commits to comments. This is an indicator of openness to constructive feedback, but you should never expect this metric to go up to 100%. This would mean that every comment lead to a change.
  7. Influence is a ratio of follow-on commits made after the reviewer commented. When this metric is viewed across a longer period of time, it can provide some insight into the likelihood that reviewers’ comments will lead to a follow on commit, thus their influence. 
  8. Unreviewed PRs help you measure the thoroughness of the feedback. Unreviewed PRs shows you the number of pull requests that are open and merged without ever getting a comment. 
  9. The Review Coverage indicates the number of pull requests that have been merged after review, and engineering leaders should try to bring this metric as close as possible to 100%. It helps us get an understanding of the thoroughness of a review between the submitter metrics and the reviewer metrics. 
  10. The Sharing Index report includes a visualization of the evolution of knowledge sharing throughout the organization. It is the ratio of active reviewers to submitters. Active reviewers is the count of active users who actually reviewed a PR in the selected time period. Submitters represent the total number of users who submitted a PR in the selected time period.
  11. The Review Collaboration feature also includes a map of code collaboration. If you hover over an engineer’s name in the right column, you will see whose pull requests he/ she reviewed. This is useful to gain insights about whether your senior engineers are active in the code review process.

Fundamentals

The Submitter Fundamentals and Reviewer Fundamentals provide a view of how the metrics from the Review Collaboration evolved over time. These features should be used as a gauge to determine if your objectives regarding the code review workflow are on track.

How to use the Fundamentals feature:

  1. You can select which team’s performance to view, which repositories’ contribution to analyze, and what period to inspect. 
  2. Each metric has its own average value which you can see in the tab view or on the left side of the chart. For example, if you see that over a quarter, the Unreviewed PRs percentage dropped from 40% to 20%, this translates into a lower risk of solutions delivered.
  3. Reviewer Fundamentals offers an overview of the reviewers’ metrics. 
  4. You can select which team’s performance to view, which repositories’ contribution to analyze, and what period to inspect. Each metric has its own average value which you can see in the tab view or on the left side of the chart.

Unlock the value of your team’s Git workflow analytics

Waydev’s PR Workflow analytics bundles up all the features you need to identify bottlenecks, long-running or unreviewed pull-requests, so you have a better understanding of PRs and improve your engineers’ performance.

Try Waydev for free

As Featured In

Ready to improve your Engineers’ performance?

Try Waydev with your team for free

Waydev's Playbook for data-driven engineering leaders.

Waydev's Playbook for data-driven engineering leaders.

Download Now!