-
Notifications
You must be signed in to change notification settings - Fork 7
Alternatives to DCD
evernat edited this page Jul 8, 2017
·
11 revisions
This page lists and compares some free alternatives to DCD (Dead Code Detector).
As said below, static analysis of public, protected or package-private dead code in a java application is the almost unique feature of DCD. Public and protected dead code is a unique feature of DCD in a headless or no-eclipse world.
| Rule or Feature | DCD or DCD Netbeans plugin | Eclipse/NetBeans | Findbugs | Checkstyle | PMD | UCDetector eclipse plugin |
|---|---|---|---|---|---|---|
| Dead private methods and fields | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Dead package-private methods and fields | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Dead public or protected methods and fields | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Dead local variable | ![]() |
![]() |
(DLS) |
![]() |
![]() |
![]() |
| Self assignment | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| String toString | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Useless initialization | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Xml report | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Maven2 report plugin | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Legend:
The feature exists
The feature doesn't exist
If I made an error, please send me an email at evernat at free.fr
Of course, Findbugs, Checkstyle and PMD have a lot of other rules and features, such as IDE or Continuous Integration plugins.