CodeGuru For Automated Code Review
Written by Sue Gee   
Friday, 06 December 2019

Perhaps the most interesting AWS announcement for professional programmers from this week's annual re:Invent conference was Amazon CodeGuru which makes the claim "It's like having a distinguished engineer on call, 24x7."

Currently in preview, Amazon CodeGuru is a machine learning service for automated code reviews and application performance recommendations. It helps developers identify the most expensive lines of code in their applications, and receive intelligent recommendations on how to fix or improve their code. 

codegurusq

CodeGuru’s machine learning models are trained on Amazon’s code bases comprising hundreds of thousands of internal projects, as well as over 10,000 open source projects in GitHub.

CodeGuru has two components, a Reviewer that finds issues in your code  and recommends how to remediate them and a Profiler that automatically identifies performance issues in your application and provides intelligent recommendations on how to remediate them. 

 codegururev1

CodeGuru Reviewer can be associated with existing code repositories on GitHub or AWS CodeCommit. It detects and flags 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. 

 codeguruprof2

CodeGuru Profiler requires installing a small agent using code that CodeGuru provides and configuring it in the CodeGuru console. It runs continuously in production but consumes minimal CPU capacity to minimize its impact on application performance.It constantly searches for application performance optimizations and recommends ways to fix issues such as excessive recreation of expensive objects, expensive deserialization, usage of inefficient libraries, and excessive logging.

According to Amazon, CodeGuru has been used internally to optimize 80,000 applications, and has led to tens of millions of dollars in savings. Amazon also claims that some teams were able to reduce processor utilization by 325%.

Amazon is offering a 90 day free trial of CodeGuru in supported AWS Regions - currently US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), and Asia Pacific (Sydney).

 codegurusq

 

More Information

Amazon CodeGuru

AWS announces Amazon CodeGuru

Related Articles

Sagemaker Studio - An IDE for Machine Learning

Amazon Redshift Updates 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


C23 ISO Standard Is Here But You Probably Won't Read It
06/11/2024

At last ISO C23 has been published, but at $250 you probably aren't going to read it. Can we really tolerate this sort of profiteering on the work of others? This is worse than academic publishing!



JetBrains Improves Kubernetes Support In IDE Upgrades
12/11/2024

JetBrains has improved its IDEs with features to suggest the logical structure of code, to streamline the debugging experience for Kubernetes applications, and provide comprehensive cluster-wide Kuber [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 06 December 2019 )