Skip to main content

dpdm vs Rev-dep

dpdm is a static analyzer that detects circular dependencies and unused files. rev-dep covers both and folds them into one config alongside the rest of a dependency-hygiene suite.

At a glance​

dpdmRev-dep
Primary focuscircular deps + unused filesdependency hygiene + architecture
RuntimeNodeGo - single parallel pass (up to 13x faster)
Circular dependenciesyesyes
Unused filesyesyes
Dependency tree output (JSON)yesno
Graph imagenono
Unused exports / dependenciesnoyes
Architecture rulesnoyes

Where rev-dep is stronger​

Where dpdm may still fit​

dpdm prints and serializes the dependency tree directly. rev-dep exposes the graph through the exploratory toolkit and JSON output, which is similar, but if you script against dpdm's tree format specifically, that's a difference to weigh.

Which should you choose?​

For circular detection plus broader hygiene in CI, rev-dep. If you only need a quick circular-dependency tree dump, dpdm is a small, focused option.

Migrating​

See Migrating from dpdm.