Check for code complexity
Fix linting errors