Added sonar code quality checks