Review this code and provide feedback:

{code}

Focus on:
- Code quality and readability
- Potential bugs or issues
- Performance improvements
- Best practices

{includeTests ? "Also suggest unit tests for this code." : ""}

Format: JSON
{"issues": [], "suggestions": [], "rating": 0-10}