sebastianbergmann/phpcpd — Issue #35: Is it possible to search for duplicate code on different files in the same project?
Author: enanetti
Created: 2011-11-24 10:40:17+00:00
State: open

Greetings.
I am still new to phpcpd, but I think it could really become one of my favorite tools.

I am trying trying to detect duplicate code on different files, belonging to the same project.
I am currently working on old stuff to renew, and I can find lots of cut-paste issues.

Nevertheless I have the impression that phpcpd allows only to find duplicate code inside each file, not comparing the contents of a file to another different one.
Can you confirm this?

Is there a way to find any possible duplicate code in a project (no problem of memory nor time), examining all existing files, with your tool?

Thank you for your feedback.
Cheers
Emanuele