Hacker News new | ask | show | jobs
by maleldil 677 days ago
I've had some success with PMD/CMD [1]. It's Java-based, though, which could be a pain, depending on your setup. If your codebase uses Python, you can use Pylint for this, too.

[1] https://pmd.github.io/pmd/pmd_userdocs_cpd.html