This is a curated collection of articles, tools, checklists and other awesome resources about code reviews.
Contributions welcome - especially highlighting how different companies do code reviews.
If you want to suggest a new ressource, please open a pull request.
Inisghts of different companies on their code review practices:
- Facebook: Scaling Static Analyses at Facebook
- Gitlab's Code Review Values
- Google: Focusing on fast code reviews
- Google: Code review guidelines
- Microsoft: Understanding code review best practices
- Netlify: Feedback Ladders to encode review feedback
- New Relic: Creating Simple and Effective Guidelines for Code Reviews
- Palantir: How we do code reviews
- Quora: Using post-commit reviews to increase speed.
- PayPal's take on code reviews
- Plaid Code Review Culture
- Raycast: No code reviews by default
- Shopify: Code Review Superpower
- SIG: how we do code reviews
- Squarespace: Creating a Code Review Culture Part 1
- Squarespace: Creating a Code Review Culture Part 2
This is a list of articles about code reviews grouped by the main topic.
-
Do's and Don'ts in Code Reviews
-
Giving and Receiving Feedback
-
Stacked Pull Requests:
-
Truck-based Development and Code Reviews:
-
Bias in Code Reviews
-
Splitting Up Too Large Code Reviews
-
Best Practices:
— Rejecting OSS contributions — Stack Overflow discussion: unhelpful contribution — Linus Torvald rejecting a security fix
- Using labels to make comments clearer: conventional comments
- Open Source Best Practices
- Tweet about why PRs are a bad idea
- How to speed up code review assignment
- What do we know about the ROI of code reviews?
- Discussion about PR foucs: Clean code not good. Bugs much better.
- AWS team lead summarizes how to do PRs
- How does one get better at reading code?
- Code Review Guidelines
- What to talk about when talking abot code reviews?
- Mini JavaScript Code Reviews in a Tweet from Simon Høiberg
- 10 Tips on How to give respectful code review feedback by Michaela Greiler
- Amazing Code Reviews: Creating a Superhero Collective by Alejandro Lujan for GOTO 2019
- Crucible Atlassian's on-premise code review tool.
- Codacy Static analysis tool that acts as automated code review.
- CodeGuru: Amazon's AI enabled automated code analysis tool.
- CodeStream Code Collaboration Tool that allows for continious code reviews.
- Gerrit Open source git code review tool originating out of Google.
- GitHub Git hosting and pioneer of the "Pull Request".
- Gitpod Code review pull requests in a full IDE within your browser.
- GitRise Slack Reminders for GitHub pull requests
- Kiro GitHub app that is your PR coach: review reminder and reviewer selection.
- LGTM Automated Git code review for GitHub and Bitbucket pull requests for finding security vulnerabilities and code quality issues.
- Phabricator Open source git/mercurial/svn code review tool originating out of Facebook.
- PullRequest Code review as a service for GitHub pull requests.
- Pull Reminders Automated Slack reminders and metrics for GitHub pull requests.
- Reviewable Code review tool built on top of GitHub pull requests.
- Review Board Open source review tool that is SCM/platform neutral.
- Rubberduck Browser extension to adds code-aware navigation to GitHub pull requests.
- Sider Automated code review service for GitHub.
- Softagram Automated code change visualization (and dependency analytics) for pull requests, merge requests (GitLab) and patch sets (Gerrit).
- SonarCloud Detect code smells, bugs and vulnerabilities in Azure DevOps, Bitbucket and GitHub repositories.
- TugBoat Builds and deploys each pull request for easier previews of the code under review.
- Upsource JetBrain's on-premise git/mercurial/perforce/svn code review tool.
This section contains experiemental or small but handy bots that aim at making your live easier during code reviews.
- Prout: Deploy Reminder that reminds you that your pull request has been deployed in production and is ready to be tested.
- CodeSandbox CI bot builds and deploys every pull request to allow code reviewers to see the code change in action.
- A curated list of code review checklists Contains code review checklists from General to Language-based (Java, C# etc.)
- General Code Review Checklists A language agnostic code review checklist containing all relevant aspects.
- 30+ items for Reviewing Java Code A checklist with concrete examples, covering aspects relevant to object-oriented programming.
- Frontend pull request checklist This a meta checklist that makes sure you have done all necessary checks before your frontend code goes through a pull request.