Created
August 2, 2010 10:36
-
-
Save winks/504453 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ find|sort | |
. | |
./soap_testidentifier.php | |
./x | |
./x/vendor | |
./x/vendor/soap_testidentifier.php | |
$ phpcpd --verbose --exclude x/vendor . | |
phpcpd 1.3.1 by Sebastian Bergmann. | |
Processing files | |
2 / 2 [+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>] 100.00% | |
Found 1 exact clones with 24 duplicated lines in 2 files: | |
- x/vendor/soap_testidentifier.php:8-32 | |
soap_testidentifier.php:8-32 | |
18.46% duplicated lines out of 130 total lines of code. | |
------ | |
A quick fix would be http://gist.github.com/500438 (has other problems) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment