Amazon CodeGuru is a machine learning service for automated
code reviews and application performance recommendations. It
helps you to find out the most expensive lines of code that
hurts the application performance. Amazon CodeGuru gives you
specific recommendations to fix or improve your code. Amazon
CodeGuru is powered by machine learning, best practices, and
hard-learned lessons across millions of code reviews and
thousands of applications profiled on open source projects and
internally at Amazon. With Amazon CodeGuru, you can find and
fix code issues such as resource leaks, potential concurrency
race conditions, and wasted CPU cycles. And with low,
on-demand pricing, it is inexpensive enough to use for every
code review and application you run.
For now, CodeGuru supports Java applications only, with
support for more languages coming soon. CodeGuru helps you to
catch problems faster and earlier, so you can build and run
Before the launch of Amazon CodeGuru Developers was wasting
most of their time in debugging of the application. Major
issue was, Memory leaks, race condition and stack overflow
etc. which are very much costly in terms of time and efforts.
For beginners, most of the time multiple test cases execution
were effortless when they have less knowledge of these types
Configure Amazon CodeGuru in your application
- Login to AWS Management console.
Go to Amazon CodeGuru Service under Machine Learning
Choose require option from
Create Profiling Group
Create new Profiling Group
Integrate Amazon CodeGuru in your Java Application.
Benefits and features
Improve code quality
CodeGuru analyzes all pull
requests on your source code repositories and automatically
flags critical defects such as data leaks, concurrency
issues, and inefficient use of AWS resources. It suggests
changes to specific lines of code to remediate the defects.
You can use CodeGuru to
uncover performance bottlenecks, inefficiencies, and
availability issues you didn't know you had. CodeGuru also
profiles your applications against performance engineering
best practices and reveals performance bottlenecks or other
issues that would normally require expert evaluation to
Integrate with GitHub
CodeGuru connects to code
repositories such as GitHub and AWS CodeCommit and evaluates
your code against best practices observed in popular open
source code repositories, as well as Amazon's own code base.
CodeGuru connects to
code repositories such as GitHub and AWS CodeCommit and
evaluates your code against best practices observed in
popular open source code repositories, as well as Amazon's
own code base.
CodeGuru augments code analysis,
acting like an additional code reviewer who is up to date on
industry and Amazon best practices.
CodeGuru runs continuously
in production with minimal impact on your running
applications, helping you understand what is affecting
performance in live applications.
Amazon CodeGuru helps you to reduce your all-night application