Sonar Violations and Formatting