A Drupal core maintainer shares peer code review best practices

6 Jun 2023, 5:30 am

Improve your teams' peer code review process, your code maintainability, and your Drupal contributions. Learn from a Drupal core release manager—with over ten years of Drupal core experience—how to give an efficient and effective peer code review.

Peer code reviews are essential, improving maintainability, increasing productivity, and reducing costs. They can also reduce the rate of defects (bugs) introduced into a codebase by as much as 80-90 percent. Most importantly, they build a shared understanding of the application within a team and are an opportunity for developers to mentor each other.

Drupal core's peer code review process has two phases:
1. An initial peer code review cycle with one or more other contributors
2. A final stage of code review by a Drupal core committer (one of the few like xjm who can accept changes into Drupal core's production codebase).

As a result, the core committers are exposed to all the peer review (good and not-so-good) throughout the Drupal core issue queue. This makes committers ideal mentors and subject matter experts on both best practices and pitfalls to avoid.

In this session, you will also discover research and psychological principles on when code review is effective and when it is not. You will learn how structuring your change sets for the reviewer can improve the whole team's code and maintainability. Finally, you will learn about automation and tooling that can help reviewers focus on what's most important.

(Sponsored by Agileana)

When: Tuesday, June 6, 2023 - 15:00 to 15:50 EDT
Room: Room 324
Track: development & coding

 

Learning Objectives

- Learn about research on effective code review
- Learn code review tools and best practices that will help your organization
- Learn more about what it means to be a Drupal core maintainer
 

Prerequisites

Those who have participated in some sort of peer code review process before, either as part of Drupal contribution or in their own organizations, will get the most out of this session.
 

Synopsis

Improve your teams' peer code review process, your code maintainability, and your Drupal contributions. Learn from a Drupal core release manager—with over ten years of Drupal core experience—how to give an efficient and effective peer code review.

Other Sessions

Call for Support