rake metrics:phpcpd["plugins","hello.php"]

http://localhost:4567/metrics/plugins/logs/hello.php/pmd-cpd.xml