What is Amazon CodeGuru?
Amazon CodeGuru is a set of developer tools powered by machine learning that provides intelligent recommendations to improve code quality and identify an application’s most expensive lines of code.
Key Concepts
1. CodeGuru Reviewer
- Automated code reviews.
- Detects security vulnerabilities, resource leaks, and deviations from AWS best practices in your Pull Requests.
2. CodeGuru Profiler
- Observes your application runtime in production.
- Identifies the "most expensive" lines of code (CPU/Latency) to help reduce infrastructure costs.
Exam Tips
[!IMPORTANT] "Automated code review / Machine Learning for code": Answer is CodeGuru Reviewer. "Identify expensive lines of code in production": Answer is CodeGuru Profiler.
Common Use Cases
- Code Quality: Catching bugs before they merge to main.
- Performance Tuning: Finding exactly which function is slowing down your app.