VOOZH about

URL: https://thenewstack.io/amazon-web-services-codeguru-will-point-out-whats-wrong-with-your-code/

⇱ AWS' CodeGuru Will Point Out What's Wrong with Your Code - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2019-12-04 12:56:39
AWS' CodeGuru Will Point Out What's Wrong with Your Code
news,
Cloud Services / Software Development

AWS’ CodeGuru Will Point Out What’s Wrong with Your Code

Dec 4th, 2019 12:56pm by Joab Jackson
👁 Featued image for: AWS’ CodeGuru Will Point Out What’s Wrong with Your Code

Amazon Web Services wants to bring the full power of machine learning (ML) to code development. At the company’s annual user Re:Invent conference, the company has launched a new service, called CodeGuru, aimed to automate code reviews and provide application performance recommendations.

Manual code reviews are a pain, admitted AWS CEO Andy Jassy in a keynote at the conference, being held in Las Vegas this week. Company developers have to set aside time to review the code, and even the sharpest scrutiny can miss some elements. CodeGuru can find many of the common, though tricky-to-notice, errors, and even highlight the inefficient (i.e. costly) lines of code in an application.

The service is notable because it is one of the first ML-based code reviewing and profiling tool, said analyst Janakiram MSV, adding that it has potential appeal to developers when it is integrated with mainstream IDEs such as Visual Studio, VS Code, and IntelliJ (check back at The New Stack, as Janakiram will take a deeper dive into this service for us when he returns from the event).

CodeGuru can be easily dropped into the development process: Add CodeGuru as one of the recipients to a pull request. When the dev commits the code, CloudGuru consults its models and algorithms provides an assessment of the code, in a human-readable form that pinpoints the problematic lines of code.

The software itself grew from Amazon’s internal code review process, and draws from 10,000 application profiles on open source projects drawn from GitHub. It can pinpoint resource leaks, atomicity violations, potential concurrency race conditions, unsanitized inputs, and wasted CPU cycles and the difficult-to-pinpoint on thread-safe classes, among other gotchas.

👁 Image

It also was designed to pinpoint “your most inefficient, unproductive, most expensive lines of code,” Jassy said. The service does this through a machine-learning-powered profiler, one that requires a small agent to be embedded in the application. “CodeGuru observes your application, and every five minutes it creates a profile. It tells you things like latency and CPU utilization, and it helps you identify the most expensive lines of code in your application,” Jassy said.

Amazon itself has already been using this profiler for 80,000 of its own applications, which has led to “tens of millions of dollars in savings for us,” Jassy said. Amazon’s consumer payments team repeatedly used the tool over the course of a year, and was able to improve CPU utilization by 325% and save 39% in operating costs, even while demand for their services continued to grow. Likewise, the company’s catalog management service enjoyed up to 67% reduction of CPU usage after following the profiler’s recommendations, the company claims.

👁 Image

Initially, CodeGuru will support Java, though additional languages will be supported in the future. It can plug into GitHub and CodeCommit by AWS, with more repositories to be added in the future. While the service is now only in preview, when it goes live, AWS is promising low, on-demand pricing, so it can be used for all code reviews within an organization: CodeGuru will costs $0.005 per sampling hour per application profile and $0.75 per 100 lines of code per month.

AWS is not alone in thinking there is analytic value in scanning huge online repositories of code to derive a set of best practices and security fixes. GitHub itself is doing similar work with its CodeQL semantic code analysis engine that it acquired when it bought Semmle in September. The Microsoft-owned company is using the technology to generate a semantic code graph of all the public repos, which should offer enormous opportunities to understand and improve coding patterns, quality and security, reported Mary Branscombe reported for The New Stack.

TRENDING STORIES
Joab Jackson is a senior editor for The New Stack, covering cloud native computing and system operations. He has reported on IT infrastructure and development for over 30 years, including stints at IDG and Government Computer News. Before that, he...
Read more from Joab Jackson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.