Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Usability improvements

Better usability with bookmarkable open pull request, retrospective summary and statistics

So far, all our three main pages didn’t incorporate the search filter criterias like repository, date range etc. into the URL, which leads to the fact that one cannot bookmark statistics with the chosen filter, or share them with the team (e.g., the retrospective summary for sprint XY with the selected date range). This is now fixed. Here’s an example:

Instead of: https://BITBUCKET/plugins/servlet/pra4bbs/stats

Now: https://BITBUCKET/plugins/servlet/pra4bbs/stats/projects/PRA/repos/pull-request-analytics?from=2020-06-01T00%3A00%3A00.000%2B02%3A00&to=2020-06-22T23%3A59%3A59.000%2B02%3A00&targetBranches=develop,master

...

New Features

  • Activity sparkline in the open pull request list: shows the activity level of the pull request in the last five days

With this addition, you can glance at a pull request and immediately get a feeling about the pull requests progress and see if an action is necessary to get the pull request reviewed and merged.

...

  • The retrospective summary is preselected with the last 2 weeks

Until now we’ve have had just shown an empty page when clicking the “PR Analytics” link. To get started and to see content immediately, we now by default show the retrospective summary with the last two weeks:,

...

  • Retrospective summary redesign

We redesigned the retrospective to improve usability and make the important information stand out more clearly. Additionally, we also link to the statistics from metrics to allow a drill-down and to better connect the statistics and the retrospective summary.

...

Notification improvements

Backend work for supporting E-mail as another notification channel (**)

...

Enhancements

  • Differentiation between approved and needs work in Slack reminders

So far we didn’t differentiate between “Needs work” and “Approved” in Slack due date reminders. This was now changed so that you can better see the actual status of a pull request and where you may need to take action:

...

Pull Request Activities

Spark line in open pull request list

To get a quick impression about the activity state of a pull request, we now show a spark line in the open pull request list. With this, you should get a feeling about how much work or progress there is on a pull request and if an action is necessary to get the pull request reviewed and merged:

...

New aggregated pull request statistics

To give an overview about the activities in your pull requests, we now provide a new statistic which gives you an overview of what actions happened like commits, comments and merges. With that, you can directly see how your team worked with pull requests over a given period of time:

...

...

Statistics improvements

  • Replace existing merge frequency statistic with pull request distribution

The pull request distribution graph from the retrospective summary provides more value than the existing merge frequency statistic didn’t add any value anymore than the new pull request distribution. That is why we replaced it statistics. Therefore we replaced the merge frequency statistic with the distribution statistics from the retrospective summary. This statistic . It shows you the different states of your pull requests at different points in time and helps you to . You can see if the pull request workload was equally spread, or if the merges all happened at the sprint end, possibly having an impact on proper PR pull request review:

...

The retrospective summary will contain a simplified version of this statistic.

Move open pull requests to the bottom to help seeing the workload better

The existing pull request distribution statistic shows

To make the graph more comprehensible, We reordered the stacked bars to show the open pull requests at the top in the stacked bar chart. To help better see on the bottom. It should make the graph more comprehensible and provide a better overview of the pull request workload, we moved them to the bottom:

...

.

...

  • Extend all single pull request tooltips with useful information

To make it less necessary to click on a tooltip to go to the pull request detail, we now show three more information pieces in the pull request tooltip: the title of the pull request, linked Jira issues and the target branch.

...

To reduce the impact of outliers, we changed to a logarithmic Y-axis scale for the statistics.

  • Improved line of code statistic

...

In addition to the pull request line of code scatter plot visualization, we added the aggregated total amount of added /& removed LOC lines of code per day, we now not only show the individual pull requests, but also the aggregated values. Additionally. Besides that, you can now also see the added/removed lines in the tooltip of a single pull request:

...

Improved Jira integration (**)

To give you more context in the pull request analytics statistics, we now also show the Jira releases that occurred in the chosen time frame:

...