# CodeGuru

• An ML-powered service for automated code reviews and application performance recommendations

• Provides two functionalities

* CodeGuru Reviewer: automated code reviews for static code analysis (development)
* CodeGuru Profiler: visibility/recommendations about application performance during runtime (production)

<figure><img src="https://1722711354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwNXdoUkfmcozr29fRrfb%2Fuploads%2Fm52ulU9yEjJYnLqH1jcb%2FScreenshot%202023-12-24%20at%2000.36.00.png?alt=media&#x26;token=7016a0e8-5e66-44a8-85a7-58e8b641dc82" alt=""><figcaption></figcaption></figure>

### Reviewer

* Identify critical issues, security vulnerabilities, and hard-to-find bugs
* Example: common coding best practices, resource leaks, security detection, input validation
* Uses Machine Learning and automated reasoning
* Hard-learned lessons across millions of code reviews on 1000s of open-source and Amazon repositories
* Supports Java and Python
* Integrates with GitHub, Bitbucket, and  AWS CodeCommit

<figure><img src="https://1722711354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwNXdoUkfmcozr29fRrfb%2Fuploads%2FmvFRlTR17EdrMiFR6LUn%2FScreenshot%202023-12-24%20at%2000.37.23.png?alt=media&#x26;token=e956be98-37a6-4c7d-a106-9f1a14df2e6a" alt=""><figcaption><p><a href="https://aws.amazon.com/codeguru/features/">https://aws.amazon.com/codeguru/features/</a></p></figcaption></figure>

### Profiler

* Helps understand the runtime behavior of your application
* Example: identify if your application is consuming excessive CPU capacity on a logging routine
* Features:
  * Identify and remove code inefficiencies
  * Improve application performance(e.g., reduce CPU utilization)
  * Decrease compute costs
  * Provides heap summary (identify which objects using up memory)
  * Anomaly Detection
* Support applications running on AWS or on-premise
* Minimal overhead on application

<figure><img src="https://1722711354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwNXdoUkfmcozr29fRrfb%2Fuploads%2FRTxdE5JBzxrCOAMuL1WJ%2FScreenshot%202023-12-24%20at%2000.39.06.png?alt=media&#x26;token=ab743128-c99b-4cd1-825d-3d33cf82327f" alt=""><figcaption></figcaption></figure>
