Need advice about which tool to choose?Ask the StackShare community!

PMD

44
109
+ 1
0
Reek

9
22
+ 1
0
Add tool

PMD vs Reek: What are the differences?

Developers describe PMD as "An extensible cross-language static code analyzer". It is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It includes CPD, the copy-paste-detector. On the other hand, Reek is detailed as "Code smell detector for Ruby". Reek is a tool that examines Ruby classes, modules, and methods and reports any Code Smells it finds.

PMD and Reek can be categorized as "Code Review" tools.

PMD and Reek are both open source tools. It seems that Reek with 3.11K GitHub stars and 226 forks on GitHub has more adoption than PMD with 2.42K GitHub stars and 830 GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More

What is PMD?

It is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It includes CPD, the copy-paste-detector.

What is Reek?

Reek is a tool that examines Ruby classes, modules, and methods and reports any Code Smells it finds.

Need advice about which tool to choose?Ask the StackShare community!

What companies use PMD?
What companies use Reek?
See which teams inside your own company are using PMD or Reek.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with PMD?
What tools integrate with Reek?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to PMD and Reek?
SonarQube
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.
FindBugs
It detects possible bugs in Java programs. Potential errors are classified in four ranks: scariest, scary, troubling and of concern. This is a hint to the developer about their possible impact or severity.
Checkstyle
It is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard.
ESLint
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Prettier
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
See all alternatives