Gerrit Code Review vs SonarQube: What are the differences?
Gerrit Code Review: OpenSource Git Code Review Tool. Gerrit is a self-hosted pre-commit code review tool. It serves as a Git hosting server with option to comment incoming changes. It is highly configurable and extensible with default guarding policies, webhooks, project access control and more; SonarQube: Continuous Code Quality. SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.
Gerrit Code Review and SonarQube can be primarily classified as "Code Review" tools.
"Cleaner repository story" is the primary reason why developers consider Gerrit Code Review over the competitors, whereas "Tracks code complexity and smell trends" was stated as the key factor in picking SonarQube.
SonarQube is an open source tool with 3.72K GitHub stars and 1.05K GitHub forks. Here's a link to SonarQube's open source repository on GitHub.
According to the StackShare community, SonarQube has a broader approval, being mentioned in 101 company stacks & 59 developers stacks; compared to Gerrit Code Review, which is listed in 11 company stacks and 6 developer stacks.