Checkstyle report

this change is based on my previous PR (pmd, findbug, ... ), if it is problem to apply I could rebase it after first is applied