PMD : reduce npath complexity