In this article, we will learn how to do the code review process using AWS CodeGuru. Let me tell you first what is CodeGuru and how it works ?
What is code review :
Code review process includes suggestions for optimisation of the most expensive line of codes. It checks whether code is readable and understandable by a naive user or not. It includes how function naming has done or getting called etc.
AWS CodeGuru :
AWS CodeGuru is a developer tool that provides intelligent recommendations to improve your code quality and identify an application’s most expensive lines of code. This automation works based on generalised guidelines given by open source code communities and language based. CodeGuru Reviewer uses machine learning to identify critical issues, security vulnerabilities, and hard-to-find bugs during application development to improve code quality. It focuses more on the most expensive lines of code to improvisation.
How its works :
Benefits of CodeGuru :
- Troubleshooting performance issues
- Discover inconsistency and common issues in your application performance
- Catch your most expensive line of code today
Steps to start of CodeGuru:
- You should have an AWS console account to access AWS CodeGuru.
2. Go to Search Console -> Open CodeGuru
3. Click on Associate Repository option which show on dashboard or console
4. Select which repository management tool like Github, CodeCommit, BitBucket etc. You need to authorise respective account by login to site and give permission.
5. Click on Associate after selecting the repository from list of repository.
6. Tag is an optional step to identify a project. It will show like below Associating…
7. Then select Code Reviews from the left side menu.
8. Create Repository Analysis for each repository.
9. It will go to a pending state. Once it’s completed its will show result like below 👇🏻
Then we are done with the code review process. You can work on recommendations given based on analysis. Fix those issues and run it again.
Hope you like my blog. Thanks for reading my blog. If you have any questions you can reach out to me at my twitter handle — @aviboy2006
Originally published at https://www.internetkatta.com.