Simplify in direction shown by code-climate