~/talk

A Drupal Core Maintainer shares peer code review best practices

Talkat DrupalCamp NJ 2023 · 2023-03-16..03-18· [developer-experience, open-source]
links:none on file
slides:none on file

Peer code review finds far more bugs than tests alone: informal reviews catch about 60% of defects, formal reviews combined with design and QA reach 90%+, and reviews can reduce defects by 80–90% compared with post‑release fixes. Use automated tools (static analysis, linters, phpcs, Drupal CI, GitLab CI) to eliminate nitpicks, split changes into small chunks and include tests and docs, keep changes small — aim for <=400 lines per review and review in short sessions to avoid decision and attention fatigue.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:02Drupal core maintainer role
  3. 2:06Purpose of peer code review
  4. 9:01Psychology behind code review
  5. 13:21Defect detection research
  6. 20:00Optimizing for reviewable code
  7. 25:40Handling nitpicks in reviews
  8. 29:54Optimizing change sets for reviewers
  9. 38:38Key review recommendations
  10. 43:12Tools and resources for reviews
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.