Comment 3 for bug 1439762

Revision history for this message
Csaba Henk (chenk) wrote :

We provide the meval.py script that can be used to dump occurrences of this anti-pattern.

The output is JSON.

Usage: use from the root of the git tree.

$ meval.py stats
# gives the listing of files with number of suspicious cases
$ meval.py select --kind=ambiguous
# gives the listing of cases where the program could not judge
# whether it's an occurrence
$ meval.py select --kind=suspicious
# gives the listing of cases which are found suspicious