Enforcing PMD/CPD violations