Code duplication detection for python code. Implemented using an antlr-Tokenizer based on a grammar by Alex Tesca (Thanks!) and the PmdEngine of Sonar.
The duplicaton detection has been tested on a couple of code bases like "mercurial" and "bazzar" and found to be comparable to the duplication detection of pylint.
The known parameters of the PmdEngine may be used to trade the number of findings for the number of false positives.