Find duplicate code with CPD
A copy/paste detector I’m sure that you know PMD, the famous static code analyzer. But have you ever tried CPD? Installation CPD belongs to PMD. You have to install PMD first. Command line usage I give you some examples here. minimum-tokens (minimum duplicate size) and files (source directory) are the only required options. Then you can specify the […]