Added PMD and CPD tasks