fix if statement braces, disable codepro audit on autogenerated functions, disable codepro audit for junit tests that expect to throw exception etc.