Apply coding standard to an if statement