Posted On: Dec 3, 2019
Amazon CodeGuru is a new machine learning service for development teams who want to automate code reviews, identify the most expensive lines of code in their applications, and receive intelligent recommendations on how to fix or improve their code. Even for the most seasoned engineers, it can be difficult to detect some types of code issues even through peer code reviews and unit testing. It can also be challenging to identify the most resource intensive code methods without needing performance engineering expertise. CodeGuru helps you catch code issues faster and earlier, and improve application performance.
CodeGuru Reviewer detects and flags wide-ranging issues in source code such as thread safety issues, use of un-sanitized inputs, inappropriate handling of sensitive data, and resource leaks. It also detects deviation from best practices for using AWS APIs and SDKs, flagging common issues that can lead to production issues, such as detection of missing pagination or error handling with batch operations. CodeGuru Profiler is always searching for application performance optimizations, recommending ways to fix issues such as excessive recreation of expensive objects, expensive deserialization, usage of inefficient libraries, and excessive logging. CodeGuru Profiler runs continuously in production, consuming minimal CPU capacity so it does not significantly impact application performance.
It’s easy to get started. To begin reviewing code, you can associate your existing code repositories on GitHub or AWS CodeCommit with CodeGuru. You can also begin profiling your application by installing a small agent using code that CodeGuru provides and configuring it in the CodeGuru console.
You can use Amazon CodeGuru in preview in the following AWS Regions: US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), and Asia Pacific (Sydney). To learn more and get started with the preview, visit the Amazon CodeGuru product page.