The Self-reviewed pull requests graph displays integrated code reviews that have bypassed the standard review process, i.e., have not been validated by a team member other than the author.
You can display this data by day, week, month, or by sprint, depending on your preference. However, note that if a Kanban-type board has been linked to your Axify project, the "sprint" option will not be available in the filters at the top of the page. In addition, the periods "last 6 months" and "last year" do not allow the display by day.
Psst! This graph is handy to identify automation that approves certain reviews, such as bots.
Reading the graph
For the following graph, the period displayed corresponds to the last three months, and the display mode is per week. On average, we can see that 3.1 code reviews are integrated without having been reviewed by a 2nd team member. The trend (red dotted line) is therefore increasing for the current period.
In the case of this team, the variation indicator informs us that it is an increase of 49% for the current period compared to the previous period. To learn more about the variation indicator and its calculation, check out this article!
These self-reviewed pull requests increase the risk of introducing bugs and technical debt, as other team members did not validate them. As much as possible, teams should aim to avoid merging pull requests without a review. Maintaining a low number of self-reviewed pull requests will likely result in a better delivery pipeline, quality, and team collaboration.
Calculating the metric
For the calculation of this metric, merged code reviews within an iteration that have received no review or have been reviewed by the PR author are considered. This may also include automation or bots, as mentioned in the introduction to this article.
The set of merged code reviews matching the previous criteria is aggregated by week (month, or sprint, depending on the selected mode) and the average number per iteration is evaluated. Then, an average is calculated for the selected period and displayed at the top of the graph.