Thank you for this great tool!
I have fixed a number of bugs in Duplo, as well as extended it:
- C/C++-style block/line comment stripping sometimes leads to file parts
being ignored (even when including the bug fix from Wilson Snyder)
- Duplicates are counted too often, when occurring more than twice. To
be exact, duplicates are counted (n-1)! times. (If you have 4 files
containing the same code, duplo’s result is 6 duplications instead of 3,
as it matches the code between file 1 and 2, 3, 4; between 2 and 3; and
between 3 and 4.)
- Memory leaks fixed as discovered by Ekaterina Antakova.
I have fixed the above issues, as well as extended duplo to also count code duplicates
within individual files themselves.
I am available to discuss the changes.
Please note I had to upgrade the project/solution files to DevStudio 2010.