Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Code Review for Teams
Search
Josh Betz
July 26, 2015
Technology
54
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Code Review for Teams
Josh Betz
July 26, 2015
More Decks by Josh Betz
See All by Josh Betz
WP REST API
joshbetz
0
86
Automate All the Things
joshbetz
1
1.5k
Hypersonic
joshbetz
1
3.7k
Other Decks in Technology
See All in Technology
マイナンバーカード本人確認の実装比較(OAuth/OIDC Numa (Immersion) Workshop 2026) / 20260825 numa-12
oidfj
PRO
0
360
APIセキュリティを組織で実現するには~注力する点と設計・実装に入れたい対策~
riiimparm
2
780
分割40%キーボードにスムーズに入門するには
hoto17296
1
200
型落ちシンクライアント端末のPoEモジュールを自作したかった話
logica0419
0
520
Digitization部 紹介資料
sansan33
PRO
2
7.8k
あなたの知らないバージョン命名規則
sat
PRO
2
870
OpenID for Verifiable Credentials 実装から見えた相互運用性確保までの道のり(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
380
アクセスキー流出時の対応で再認識した攻撃側と防御側の非対称性について
kazzpapa3
1
460
Microsoft MVP プログラムを紹介するから目指す人増えてくれ
tsubakimoto_s
0
150
最新技術に積極チャレンジ!EKS共通基盤のこれまでとこれから
daitak
0
260
tamachi.goを支える技術
rymiyamoto
0
120
会計事務所と顧問先の契約関係をOIDC・OAuthで表現する
terara
0
520
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
460
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
240
Embracing the Ebb and Flow
colly
88
5.1k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
So, you think you're a good person
axbom
PRO
2
2.1k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.1k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Unsuck your backbone
ammeep
672
58k
Transcript
Code Review
Josh Betz Engineer, Automattic
Why Code Review?
• More than 2.6 billion monthly page views • More
than 9.5 million lines of code • 100% uptime last 30 days
Another set of eyes on your code.
Be proactive • Fix issues before they make it to
production • Limit downtime • Don’t get hacked
Save $$ • Downed, broken, hacked sites are expensive. •
Expensive to debug • Expensive to fix
Become a better programmer • Part of the WordPress culture
is learning by example. • All code that goes into core starts as a patch on a trac ticket. • You can learn just as much by giving feedback as you can by receiving feedback.
You wouldn't publish a book without sending it to an
editor first, don't publish software without code review.
What is Code Review?
What do we look for?
Security • XSS • SQL Injection • …
Performance • Slow Queries • Self DoS • Uncached functions
Functionality “Does this do what it’s supposed to do?”
When do you Code Review?
Always before production.
Before staging, if possible.
Methods of Code Review
Line-by-line • Important: Feedback references the code, not the developer.
• Have a Checklist • Github Pull Requests • Feature Branch Workflow • Gitflow Workflow
Pair Programming
Automated
Unit Tests
Static Analysis • VIP Scanner • PHP Codesniffer • Services
like Code Climate
Mix
What do you do?
Come work with me! http://automattic.com/work-with-us/