{"id":386,"date":"2021-11-03T10:47:14","date_gmt":"2021-11-03T10:47:14","guid":{"rendered":"http:\/\/18.141.20.153\/?p=386"},"modified":"2025-08-21T10:12:58","modified_gmt":"2025-08-21T10:12:58","slug":"how-to-raise-code-quality-for-python-applications-using-amazon-codeguru","status":"publish","type":"post","link":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/","title":{"rendered":"How to raise code quality for python applications using Amazon CodeGuru?"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">11<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p><strong><img src=\"https:\/\/lh5.googleusercontent.com\/kEjldOKlQV21G4uauu2UScFJCmUPwHNY60_91JhiTC4hXIMHg5jNOB_0dFxlNwFnpNzhyGM7KirSM5vY8j9ZHg61cIqvVxzE3CsIYg3aDXe2QMnf1uoRvcHSmIc2mNSpudzFjO4OX2vx_KbOtmfW4APjJCMitMtphcVSogPPsidmKWdc4zC5Hpci\" style=\"width: 1600px;\"><\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Amazon CodeGuru is a machine learning service that provides code reviews and application performance recommendations, which help developers to improve the development process and helps in reducing overall development costs!&nbsp; In this blog, you can explore everything about CodeGuru including how to integrate it into the development workflow of the <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-build-a-web-scraper-using-python\/\">Python<\/a> application.&nbsp;<\/p>\n\n\n\n<p>In this blog, we will cover :<\/p>\n\n\n\n<ul><li>What is Amazon CodeGuru?<\/li><li>Why do we need it?<\/li><li>How does it work?<\/li><li>Benefits of using Amazon CodeGuru<\/li><li>What languages does it support?<\/li><li>Security Detectors for Amazon CodeGuru<\/li><li>Use Cases<\/li><li>Previous challenges<\/li><li>Who is using Amazon CodeGuru?<\/li><li>Review the code quality for uploaded Python files in a repository on GitHub as well as continuously monitor the code updates via reviewing the pull request created for each code update<\/li><\/ul>\n\n\n\n<h2><strong>What is Amazon CodeGuru?<\/strong><\/h2>\n\n\n\n<p class=\"has-text-align-justify\"><a href=\"https:\/\/aws.amazon.com\/codeguru\/\" target=\"_blank\" rel=\"noreferrer noopener\">Amazon CodeGuru<\/a> is a developer tool that gives intelligent recommendations to boost your code quality and determine an application\u2019s costliest lines of code. Amazon CodeGuru offers two services, the CodeGuru Reviewer service and the CodeGuru Profiler service. When CodeGuru is integrated into a previously developed software code it automatizes code reviews throughout the application development via the CodeGuru Reviewer service followed by regular monitoring of the application\u2019s performance under production via the CodeGuru Profiler service. Moreover, CodeGuru offers recommendations and visual clues for rising code quality and application performance and scaling back overall price.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u201cCodeGuru 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,\u201d Andy Jassy, AWS CEO.<\/p>\n\n\n\n<h2><strong>Why do we need Amazon CodeGuru?<\/strong><\/h2>\n\n\n\n<p class=\"has-text-align-justify\">Once we proceed with the application development, we often end up with a lot of code errors or miss out on something important. For files containing thousands of lines of code, it is very normal to make minute mistakes or repeat certain sections of code that are very difficult to trace. Amazon CodeGuru thus takes off the burden of reviewing the quality of the code and tracing the mistakes to help developers update the code immediately and focus more on application development. Other aspects provided by Amazon CodeGuru are:<\/p>\n\n\n\n<ul><li>Code quality improvement &#8211; CodeGuru evolves with users&#8217; feedback.<\/li><li>Effective Troubleshooting &#8211; Provides actionable recommendations to fix identified issues.<\/li><li>GitHub integration<\/li><li>Performance improvement<\/li><\/ul>\n\n\n\n<h2><strong>How does it work?<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/GKa_ycNJf-5DHvPnagTadM4VVNy-5dfuyscPY1iXIp0k1akpqr8UWahK5qVjtWeYTMuY8xn4JO2vEPkx-Go9c_VwId-ug9PQlyvCBM54yJ7nfo2JHemwRkLc5Uhpn-jlIycq9Ov8YkXlsx-sCJoHW_IAOS4W-qc-w7oJx-91ZJYoRmnLE_fkOvIH\" alt=\"How does CodeGuru works?\"\/><\/figure>\n\n\n\n<p>CodeGuru is powered by machine learning whose key roles are to&nbsp; provide the following two functionalities:<\/p>\n\n\n\n<ul><li>Reviewer: provides machine-driven code reviews for static code analysis<\/li><\/ul>\n\n\n\n<ul><li>Profiler: provides visibility into and proposals concerning application performance throughout the runtime<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Parameters<\/td><td>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Reviewer<\/td><td>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Profiler&nbsp;<\/td><\/tr><tr><td>Key&nbsp; Function<\/td><td>Reviews code and identifies any defects and issues within source code<\/td><td>Responsible for application performance optimizations, identifying the most \u201cexpensive\u201d lines of code, and recommending ways to fix them.<\/td><\/tr><tr><td>Cost-Effectiveness<\/td><td>Does Not require any extra cost<\/td><td>Cut compute costs, and improve application performance.<\/td><\/tr><tr><td>Performance<\/td><td>Push requests to make incremental changes in code to meet the quality standards.<\/td><td>Analyzes the runtime behavior of an application and provides visualized recommendations to reduce CPU utilization.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/8-sUINJATVmBkZvJVuRuZDf3Gpe5hoo5h4DjNxq8vSrDXhnkzeXX9Fh3R8hYl9bFq-WC6iKliLpP_Az__8_pEmLCNVCLkqZaPQaw9bL0rXwx-hNTok8vZ2KOn3Fi5l3oC92V80Gmm9Zj91ARfo76tnAkfQ1wQ956ZtaYDAwGOtARPWcbPlsdXom7\" alt=\"CodeGuru using ML\"\/><\/figure>\n\n\n\n<h2><strong>Benefits of using CodeGuru&nbsp;<\/strong><\/h2>\n\n\n\n<p class=\"has-text-align-justify\">Let\u2019s have a look at some of the major benefits of using Amazon CodeGuru for automating the code reviewal process:<\/p>\n\n\n\n<ul><li>Instantly improve code quality by continuous monitoring: For every pull request initiated, the CodeGuru Reviewer service automatically analyzes the updated codes and posts the recommendations for the pull request. Additionally, it supports code base scan for periodic code maintainability and ensures your code quality is consistent.<\/li><\/ul>\n\n\n\n<ul><li>Decode problems before they hit the production environment: CodeGuru Reviewer service analyzes existing codebases within the repository and then identifies hard-to-find bugs and important problems with high accuracy. It also provides intelligent suggestions for best practices and creates a baseline for ordered code reviews.<\/li><\/ul>\n\n\n\n<ul><li>Security Fix Suggestions: The CodeGuru reviewer identifies security vulnerabilities in the top 10 OWASP categories and helps your code follow best practices for KMS, EC2 APIs, and common Java crypto and TLS\/SSL libraries. When the security detector discovers a problem, it provides a recommendation for rectification along with proof of why it suggests the code improvement, thereby following the application-specific security best practices.<\/li><\/ul>\n\n\n\n<h2><strong>What languages does it support?<\/strong><\/h2>\n\n\n\n<p class=\"has-text-align-justify\">Amazon CodeGuru has recently started accepting application codes written in Python. Before this, it could just compile the JAVA code as CodeGuru was only operating applications running on JAVA Virtual Machine(JVM).<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Python support for Amazon CodeGuru: This can improve the Python code of your applications in multiple categories such as concurrency, data structures, control flow, scientific\/math operations, error handling, using the standard library, and of course following the AWS best practices. Focusing on parts by helping you to reduce infrastructure costs and improve application performance.<\/p>\n\n\n\n<h2><strong>Security Detectors for CodeGuru<\/strong><\/h2>\n\n\n\n<p class=\"has-text-align-justify\">The CodeGuru reviewer security detector is a new feature that uses automated reasoning to research all the code methods and notice potential security problems deep inside your code including the ones that span across multiple files that could involve multiple sequences of operations. The Security Detector also identifies the security vulnerabilities amongst the <a href=\"https:\/\/owasp.org\/www-project-top-ten\/\">top 10 Open Web Application Security Project (OWASP) categories<\/a>, such as weak hash encryption, SQL injection, etc. Thus, the detector makes it easier to follow the security best practices as it not only provides suggestions but also explanations.<\/p>\n\n\n\n<h2><strong>Use Cases<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/pXVnv94-qFAXSrb6qyZM5-74MG_d3oYzUuvOEy7_Uq9wxZBlqAe4RFd0mYs1UvPcB6uGlLWu6cRfGvy7uvzF6cv8HqEIW71QpEOiEm_SC0NW7aLrdHza1J9WrQMEGkxH-s2w7JE8_ANYepgeoStxSzz9tqJnhG0q7zsvHdHSpMWFl9cYf_lMi0Mq\" alt=\"Developer Workflow with CodeGuru\"\/><\/figure>\n\n\n\n<ul><li>Code Analysis&nbsp; &#8211;&nbsp; CodeGuru acts like an additional code reviewer which is up to date in the industry and also Amazon best practices.<\/li><\/ul>\n\n\n\n<ul><li>Application Profiling &#8211; CodeGuru continuously runs even during and after production with minimal impact on your running application, and helps you in understanding the live application performance activities.&nbsp;<\/li><\/ul>\n\n\n\n<h2><strong>Previous challenges?<\/strong><\/h2>\n\n\n\n<p class=\"has-text-align-justify\">Before the launch of Amazon CodeGuru, developers were wasting most of their time debugging the application to trace minute mistakes. Major issues involved memory leaks, race conditions, stack overflow, etc. which results to be very costly in terms of time and effort. For beginners, most of the time multiple test case executions are effortless when they have less knowledge of these types of scenarios.<\/p>\n\n\n\n<h2><strong>Who is using Amazon CodeGuru? &nbsp; &nbsp; <\/strong>&nbsp;<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/btVA1xDjHdQn2jqD6yPgZY06vM_X6jcFCJZTODF1N4zE4S6Plywy7Gt3a5ha0bEJSaaT_bhTtNpvlvb9BgYSwmoRK68xj61TT6wFeikO9PALyRiR8Kbk3KVQpPXobgFxmJNhXzGGjATZXNf5zvvT5Nje5M_AUOiDRUwTtuXh0yg_6CmAU4zmTuz_\" alt=\"Companies using CodeGuru\"\/><\/figure>\n\n\n\n<h2><strong>Let\u2019s do hands-on<\/strong><\/h2>\n\n\n\n<p class=\"has-text-align-justify\">Consider a scenario where we have multiple files with python codes in a repository and pull requests created for each code update which are to be reviewed to ensure the code quality is at its best and receive recommendations to improve the quality using Amazon CodeGuru Reviewer Service.<\/p>\n\n\n\n<p><strong>To implement this, we will do the following:<\/strong><\/p>\n\n\n\n<ul><li>Log in to your GitHub account<\/li><li>Create a new repository or use an existing one (if any)<\/li><li>Add the python files to the repository<\/li><li>Navigate to the Amazon CodeGuru Reviewer service and associate the newly created Git repository<\/li><li>Create a new repository analysis on the Amazon CodeGuru console<\/li><li>View the recommendations and update the code accordingly<\/li><li>Create a pull request on GitHub adding the updated python files into a new branch in the repository<\/li><li>View the recommendations for the newly created pull request on the Amazon CodeGuru console<\/li><li>Update the code based on the recommendations (if any) provided by the CodeGuru Reviewer service and merge the pull request to the main branch<\/li><li>Create a new repository analysis via the CodeGuru console for a final review of all the code files in the repository and thus, ensure their quality&nbsp;<\/li><\/ul>\n\n\n\n<p>Navigate to \u2018<a href=\"https:\/\/github.com\/login\">https:\/\/github.com\/login<\/a>\u2019 and login into your GitHub account.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/WY0Fw9majUJRTbLmi6RCXQiKni_9QBiCtF02H7t_43RFjtWZXvI_xDWv8wUPR6gD6FiCNnWtKvUYTSwubZzwxFPBF6ZINuIUzhJSVaWWdBGU5G4Q26IXRnbbgH59bVclpN2mOsecmSqlzHk0zOmRfvQqnrBifCn2Z96ZZhedchVi_O82rpMALKnU\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p>Now, create a new repository or use an existing one (if any).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/A_I-ldiXuR8B4CfNNY6iaPOf83t1-aLK6XEU5P1_5ASsFL6a6q6ANYiA75V99nssrf2Rwwjcct8QkxOHGLX77INeAXjlNy80dzN8UpT4cEhO4ojKpDZYbZTq1wZklQzDjS7ZSLzgC6v8pUIL9svXQWiTcXcpQpoA3LDuIFZg0aQncdMkD_tNrdao\" alt=\"Amazon CodeGuru\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">For this blog, we will be adding two files in a branch in the repository we created on GitHub with some code in them for AWS CodeGuru Reviewer to review the code and provide us with suggestions to improve the code quality.<\/p>\n\n\n\n<p>File 1:&nbsp; LambaFunction1.py<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/Yb2hwvgSD5VZallqx3LBG6yKV3vRRGdHQOhMKNoRaez5kJ-MAZuCoM8hW_QYEIozXFSfQkG42mOiowdsp9yXAVwT-A_--fbeuWh2saKY4irxN3Ab2cyQRbFISirKZQwG93LCrJndHI0M5EQPNx_OhbeEPLUwNORUkp6358xYSy7QwxtdalwvS8WR\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/itFzdQODUQi3ZGH_yhCTacdF1lAGVFGRqOFhJccHkp27osoUmrSod3WL-oO58gcEd0dgORrw-Vn0sW-v9cEi6MFDlPKOoqx_D4fuEHgPwtUFfptk2Uxr_aXdhvghzN0NTOJvGl7apajWkXXCfExARWvdB5OVqN4-lK3gaBFTQbuA-9graseHjhXX\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p>File 2: LambdaFunction2.py<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/qf7YjnpY_oc-AgCS6KtEHh3DOeGAIiKkQqyCre8qD0euzjDycCUNPMOZ8c9gPtc2dXfJm3ycLqOf7yRo3TsrsnY94w3HIoCM_-cdbWaG7CWvueUGR60HNyJZ_I_9mpXIKku2m6uKB90_TxrzetUTrS6Nmp_wJRNx5F94XZP6iNToTSztN4kFtlp0\" alt=\"\"\/><\/figure>\n\n\n\n<p>After uploading the files on GitHub, you will see the list of files as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/FL3kRME-vnTFAs7J2qH62k-GlL4StACUWhgqkkPzPBxJaIB0FM4VHQ4o1a4HR4IjoDM12P02dJXAvuBFD34FBlrC9TV9dRgysVWyOpJvLYEGBc7hM_5GacLeXt7Hokqw9dZPk7yBs417xXq4zxkOMzdPT4oyJFn3IhCjOHSW4ukqgsQ0dslRE5F3\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Navigate to the AWS CodeGuru console. You can get started by selecting the \u2018CodeGuru Reviewer\u2019 service on the home page of the AWS CodeGuru console and then click on \u2018Get started\u2019 to immediately start using the \u2018Reviewer\u2019 service but in this blog, we will first navigate to the Dashboard to have a look and feel of AWS CodeGuru Reviewer Console and then start with the usage of the \u2018CodeGuru Reviewer\u2019 service. Now, click on the \u2018Dashboard\u2019 in the left navigation pane.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/yJTsMv637bYVEcoLholOmY2najAskKJ0tF2wmbLwSx9aUEz2eZiH-zCcmJoqFyrfLE9dF17vccPG-IvulC3u0EXndWRdvsiZ2y49NSSK46qZIwqz3gnmY5Lj0WQe8gZhoNiGf6t76wgocMInULzhhI6mG400oRCoCFrTOheHcXwJGpQPyWvJT26Q\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">The Dashboard of AWS CodeGuru gives an overview of how many lines of code were reviewed, the pull requests created and the count of recommendations provided as well as the profiling groups (if any created). Click on \u2018Repositories\u2019 in the left navigation pane.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/F32bES-yD3NkdY9ogiuElu4ap5TCDtuC7AcMzt6AgrYsHuP_EPITuU-c4VuCuFcsXO1s_hgrG3ZvNv3P3AI9PJbtSVbfMOXQbflXp2ndHt08SGj7YVZxEj9IDalW4EU2PQ9X1JZloWXHrzCXpcPrwVU7AUxZUTDfyFlwoYpNLLHvUApFQjXW32Sx\" alt=\"\"\/><\/figure>\n\n\n\n<p>Click on \u2018Associate repository\u2019 to link the GitHub repository to AWS CodeGuru Reviewer.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/oS_h_tn21izmV11NyhN5VU0vX9xGnjynsbbSQkWEn2oNlxCtcgGrP2Da5VI934VJkXMSTXGQtz9rxmJw2fS_tvMi5uo54FIHf6GqUi0_NrCqp8B4ppXeFvn7uRCagKmIsrTDEvpCZ-FowqM-9ObWVTaRYcOmnvg_4JTdeyj6UIStpBg3pnAGn_VZ\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Now, select \u2018GitHub or GitHub Enterprise Cloud\u2019, Connect to your GitHub account (when prompted, authorize CodeGuru Reviewer service to connect), select the repository you created on GitHub which has the code to be reviewed, add \u2018Tags\u2019 (if any) and click on \u2018Associate\u2019.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/x7dN3DbxCU2SNcBaNDYd4L4QVQlAHNZAa1Hr-39GV33CfecAyfkqjoBIOandM8FMmR5nDgW4MXJuYBF1T7a_YB5dJQwfp0Uk6IYkl7LowWfwlI3Hh5WGTtHetNyOzfXcKxSyHb-wntfY_pRwdHUjE9Uupl302PFZU0RZgmvKuXgEkBrb7bJ6oJB4\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p>On associating the repository, you will see the status as \u2018Associating\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/-quurQ6vi-arCBxqbdPDIU9MrRbsq0Km4wD4z_KZ0vtNv8F_hFpEakoN5ADInzmCrip0kxpkjhxGmzzl7gH-hlSC3aolAsNibSXzOaie-moX7gV71q6o05solLTnjNTMyy7fsflG8fh85sAsksJ3wiCMmmsDgNU075KjS0Ey4ErLRazDQD09jOQ2\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">After some time, hit \u2018refresh\u2019 and the status will be updated to \u2018Associated\u2019. Once associated, click on \u2018Code Reviews\u2019 in the left navigation pane.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/bDfb9TiqPknzsoTTkl6bp1uRsfFf3g1I7D3RPTG1NlNjKBvST8uD0feLjMKWMlcHP3njZem4REoFKn1jIdy5m76HpCNHlpad-bg0lQXfdZA6B_MoEPIQsc_BPqKhdIQf5DuLSWJb5h7GfD_SdUM6zmEQ-uDHcO82AQi62oyY-lIospoEC1klUnXv\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p>Now, select the \u2018Repository analysis\u2019 tab.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/Hd4CPZovBwDjdgQJDNqnKaNTJxGCjt99cMJrTinIWVie6FJDl60QCsWk1JclanKYrxIu2UnsWR2f4LhfBO7asxip7pX9CuUkv3g2kBU02KtU0m5fzHET03YkoPSLKMikLUGzWtxhtm87NfyWY-jwnWL-CA6UPtzh1u3G-bWIltfX5HXML14fuGqr\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p>Click on \u2018Create repository analysis\u2019 to create a new analysis for the code in the GitHub repository to be reviewed.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/kpGIkFkMW5WD1Td4BvU5t1XYS6yVFJk811smX1Xrm36wnfv1w1LrkhaOUCPTRBWNU9rsXGgAohf-YqGRZCtZ2owJuN5t0MPTooGtVOkUs9nLDnYgJBMQc-bFdjx72HMaD_xM8xaJEBlxwKZehdit8kHfxnLKiECVybSvvB93yZD3vRknNUhjESDb\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Select \u2018Code recommendations\u2019 to let CodeGuru Reviewer service scan through your code added in different files in your GitHub repository and provide recommendations. Select the repository that contains the files of codes to be reviewed and select the branch in which the files are stored in the GitHub repository. In the \u2018Additional settings\u2019 you can add a name for the repository analysis or use the existing one. Click on \u2018Create repository analysis\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/Y5BqFKl6yvBkDOHoNPpK0pqvyK-_OjGnnRsZ8-eE5bbH1NOzTmL-pTmZzd7t7yMgc2X49yD9k-Bn21DZaPlIDGkRspeHuMSFjPuGr69ae2eYyCiASZAx64P8IIobf9l3plUf7cbfc0Eup8M645vBE-_eiraRvqGeILKaApxnubLgJHlSNtZkhWvu\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Once done, you will see a new repository analysis entry created under the \u2018repository analysis\u2019 tab with the status as \u2018Pending\u2019. AWS CodeGuru Reviewer service takes about 5 to 10 minutes to review all the files with codes in the repository and provide recommendations to improve the code quality.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/B893qWVW7NkFft-HFIjlY8uckwVZj00hmdtHiwttXGjXzmOp8WuF6DA9dK1-wQAab8NixsN4cBviJY1s3shqX18AHZ2eNzXWhuV97tgWsBzV6FDdRGpjurMgWLDvCpZY-8rffTHWiRTxIZnYdrQfYOCJ2-N0DaBZm5vh8tOlY4dwk8MoLR0Wb79z\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">After 5 to 10 minutes, hit \u2018refresh\u2019 and the status will be updated to \u2018Completed\u2019 and you will see the recommendations count provided by the CodeGuru Reviewer service in the recommendations column. Now, Click on the repository analysis name to view the details.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/rCLjLsBIndOH5CMWP1TkeD1JxCPhO6pA1v2j_30mR3ks59_sT98gCN0EBMP8j505A9FHs7csZfDlYYSJSNgBNWmJ0pStu_CqxTjVHRZavfk8tM-SNWbff4JD2Td-B48Ao8uhtOlwp8CPPwbRiz5SupJz__IgiEonGFY_9gE5BLPo5dSq6xUaISUN\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Under the \u2018Recommendations\u2019 section, you will see the recommendations provided along with the file name and the line number.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/a6Vo2aoEH9vMLifzcRmJxxKr8-1oTpoqDqsTiBidPSyVwZA5OBQp06IIPTmzXzQNXYTY0VQCq3TEIsLH_c0iK61tjR2jC0YcQZVGoqFgplj9CjllUB8kHOLTalU4RND4mWslBqpaPF7V1ZQeTc93nvYR4wUw7q1K0Ai2quuXjnfe3ClC6bkkntYM\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Once you click on any of the recommendations, you will be navigated to that file, and on that line number in your GitHub repository for which the recommendation is provided. The line number for which the recommendation is provided will be highlighted as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/C_Vc61uq67XtTV5oi4oujG_GwkOPzRrUzafe5X3AodAVZS5pg1h5qEPzPYJndtVQrvPSEuF2gTt7UeoFi0o2RLtuumu1pNjhOATFKH7lGc_u45Yd0lpVFtCfy7pKw4rWT-SeRL0Cpgepa2MxHEWm7fhqJXwWxb35JT5uJbpLmKZyVcO0Dvm1-WqM\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p>AWS CodeGuru Reviewer can also review the \u2018Pull Requests\u2019 created for numerous code updates\/changes.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Navigate to the GitHub repository and create a new branch. Now, as the recommendations provided by AWS CodeGuru Reviewer, update and add the code to the files \u2018LambdaFunction1.py\u2019 and&nbsp; \u2018LambdaFunction2.py\u2019 as shown below.<\/p>\n\n\n\n<p>File 1: LambdaFunction1.py<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/NqbOAcbjVBrgSZdwYI6vb0EhMRzT8MwE7ki_CU0BPT7MfG_AlZaQuiO89e9I2mTIYkUM3WBbaMG4vkbOx2cSScRQPqXZgnscqUuSI3zfoZxONvfxD7qEWBq-G-4fK-2wp8kS02U5l2aKC1jzQQuOWALFwi8T7777hqvkE1Uo3jJCCCKS_OVu4utC\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/6i1xztUeKuVvq0l_yi2RpuzrtrOKkQaQ8EmBzU__XSptxR0KeHI6efeiiSk4Y7QJo4SErjVPZZ-b9V2qOiyg6zVzTllaErXEBCaGtIoIUkIzs7YZO7CyuMqtSEPbj3GWYV7m-3bcC__SqsjLXOvkyfJ1ennSqFd98LWGGUfnRU0Yxt-ZzuQojZde\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p>File 2: LambdaFunction2.py<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/8RiZVSGwfAFtG006HmxULGub_n-Jh3uXYNay9fVHo8btx7Lc3FoQxtTLDZpvaQXv2bEJXkv7d5HK1QcU8g8yeCQsPGA27ZHUp9xSmtaJZJranv9UawDhvzhLcNuGJhcA5oUNLc9CWYjqJoAkwo6HCOwcWYeGJZxD9mwtHX6fLAyaGtl0SzUj8hgN\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Upload the updated files \u2018LambdaFunction1.py\u2019 and \u2018LambdaFunction2.py\u2019 file to a new branch created above in the GitHub repository. Once done, you will be able to view the files in the new branch. Now, click on \u2018Pull request\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/Bft5DbtMNyAqlmsR4S1OHIz0omYha6iHxUC4yxG70WmJGcCWi_B_L22cpAoWmcknxQZ9mzCBTpV4kC5hLZLAZOjsimY4x2-P2eHsuUWSdKnOMQMvownXsd8r6Tw75umEiIvHxvglzuHmyj0htiirA-gfQg9o-tO16LbEiKcEY_8-uIhlV6M5UZTo\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p>Click on \u2018Create pull request\u2019 and navigate to the AWS CodeGuru Reviewer console.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/J8y4tlBZRbFZDlmuCnDfB2yimMOMdQstcf3hOvPDb1EBWcdqldpZ-_GyeKOz_-4MIkP-mGM4UtTduqozGnHWYtkKTdmqOkDqZNwSJZFgCqEMugbwmfajGULEtzkGyKXscPyLrJ5iqFJ_WhN1rU1FiUDTzffhtAqDjlB-CJrvFRIWbZNCmVL9-IsC\" alt=\"\"\/><\/figure>\n\n\n\n<p>Under the \u2018Pull request\u2019 tab you will see a new entry created with the status as \u2018Pending\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/g-znZ8M2G2n0zXQ1xKPb8OurY8u-sAMhc7F0oC5UeBYpm_2x8qlp7WTjxo1h-rVxx4GNFymSfquwMoZMAgg1ps39gLIQDyYC7p7KHVsDEIiGvY-296nZI6KRIgcq-ByjRUjM0ndq-HgepmgGtN2-3UCfTyaRdaT7wMpMp8yAYvKcxR_B2t1aoZHy\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">After a few minutes, hit \u2018refresh\u2019. On successful completion, the status will be updated to \u2018Completed\u2019 and you will see the recommendations count (if any) for the files with codes you just updated in your newly created branch. Since the updated codes were of the best quality, the recommendations count is shown as \u20180\u2019 for the pull request entry.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/DpiExTIAmMplfF_h3V07Tqsi1L4cIT1KOzIrtMNpzHQWeqKKebf4YSkAyEfDWwWmLcfl0XEbmNBso31ok31jqlnNlIHIpoEeZVGgOscuSsl0Ax_HmOhKchK8CIxMeIjam6sOkFKRbimLBjLXnabEy9_X94s0PhX9v78pQyXhTPPx5crUnLiq510H\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">If any recommendations are provided, you can update the code again, create a new Pull Request on GitHub and you will see a new entry created under the Pull Request tab. Note that the \u2018Pull request\u2019 section only reviews the newly added files with codes whereas the \u2018Repository analysis\u2019 section on creating a new analysis, will review the code quality for all the files with codes in the mentioned and associated repository.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Once the recommendations count appears to be \u20180\u2019, it can be assured that the code quality has been improved. Click on the \u2018Pull request code review name\u2019. You will see the \u2018Repository name\u2019 and the \u2018Pull request Id\u2019 for the newly created pull request which on clicked, will navigate you to the repository or the pull request created on GitHub. Select the \u2018Pull request Id\u2019 and you will be navigated to GitHub for merging the created pull request.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/gF9Vk5VMRkZ6JDLYQdKRXdDZcFs_tft0s1-vD6U44IsumsrRjO_TlO6iahRZsKlwZhJZdlWiCzMEE_kqFWeaYoJRchkAMZtfYKFEqdIn1iKi7hhdTf338CmnITH6TcRstPFnXJrNSzq7iwK4GgGRXCb25TElo3B_Iyv3MIzuWbUihuJiw1_UA_uh\" alt=\"\"\/><\/figure>\n\n\n\n<p>Now, click on \u2018Merge pull request\u2019 to merge the newly created pull request with the main branch in the repository.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/xnrQAqgYwJVRcF_AZV3QIBrKTFYE6yGh_yaK8X0ytBgscog_rqD1VUvN3nKPxuX_XKTAy_tVt8zAxpUW8ERTO8YjYv9-e6jL2uUyK7aUb_VvjMZZVvRiy-XSoDVglnt1A87Iqb5A2DK9HRBb-eBxmQ87gZocq6fU5AR28gSRd9zG3OqecimOPKK2\" alt=\"\"\/><\/figure>\n\n\n\n<p>On successful completion, you will be shown the below message.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/vZNidayjfcUxX2qJEDTbYP77qeAsLJiMGqMSlaG76uP8wk_LAfnU2YbN8Jq4biRl70WxUo83qXI2_Tuq4TdZFPN9eu8LuoxZZ1XTQI53LYS5ekElv0ozyteHKwnj9mC4Ec-4yGINVs2MU7W4x6fqRqTGDTCE1JeMF_TccxJxnpnKaP1GL7-VP5AV\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Now, navigate to the AWS CodeGuru Reviewer console and create a new \u2018repository analysis\u2019 for the main branch which contains the files with updated codes. On successful completion, once the status changes to \u2018Completed\u2019 and the recommendations count appears to be \u20180\u2019, it can be assured that the code quality for all the files with the updated codes in that repository has been improved.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Since the \u2018recommendations count\u2019 in the below screenshot appears to be \u20180\u2019, it can be stated that the quality of the code has been improved.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/7ntOM0vFKslY5mYXMBW5oRbhaLa97SAWzlCWHNLwAB40GcGH7ICxP6EnxcNOr6CmYCwzPOpA1nBKe4i_p96lUyViacuwmdTG8233MEfRplLRVg8GjfBweYaCCytsjb5CMPIyxkSbh9NsDMGxM2LoI4FLCxGgHS1aXohtrdyDr5m3qzcIG4b57iyS\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Now, click on the \u2018Dashboard\u2019 in the left navigation pane. You will see the lines of code scanned by the CodeGuru Reviewer service, the recommendations count, the pull requests count, and the associated repository details.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/1Gr3ZlnMn-V2sjgqQlcQ-neh_U7MPi0jQYF1iTDQjhVjpeIRGFmbB-XeJy7lfR5enJGlEQrEGOiuin_3sH5LIS8mKy5QWvMX2vNTyYSZXNy6LxLN7431XiUOz-5qU1CvosBWTx6VNBsFgnTIH6g7JvTbgdCWlFC6W0LDmSpipbBKldybQRJqEs9p\" alt=\"How to raise code quality for python applications using Amazon CodeGuru?\"\/><\/figure>\n\n\n\n<h2><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, you have seen how we can make use of Amazon CodeGuru to review the python codes and provide recommendations to improve the code quality for the same via continuous monitoring of the code throughout the application development. We will discuss more about Amazon CodeGuru and its integration with applications in our upcoming blog. Stay tuned to keep getting all updates about our upcoming new blogs on AWS and relevant technologies.&nbsp;<\/p>\n\n\n\n<p>Meanwhile \u2026<\/p>\n\n\n\n<p><strong>Keep Exploring -&gt; Keep Learning -&gt; Keep Mastering<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">This blog is part of our effort towards building a knowledgeable and kick-ass tech community. At Workfall, we strive to provide the best tech and pay opportunities to AWS-certified talents. If you\u2019re looking to work with global clients, build kick-ass products while making big bucks doing so, give it a shot at<a href=\"https:\/\/www.workfall.com\/partner\/\"> workfall.com\/partner<\/a> today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">11<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span> Amazon CodeGuru is a machine learning service that provides code reviews and application performance recommendations, which help developers to improve the development process and helps in reducing overall development costs!&nbsp; In this blog, you can explore everything about CodeGuru including how to integrate it into the development workflow of the Python application.&nbsp; In this blog, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":387,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[2],"tags":[3,115,116,114,6],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to raise code quality for python applications using Amazon CodeGuru? - The Workfall Blog<\/title>\n<meta name=\"description\" content=\"Amazon CodeGuru uses ML to review code and provide performance suggestions, saving developers time and reducing development costs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to raise code quality for python applications using Amazon CodeGuru? - The Workfall Blog\" \/>\n<meta property=\"og:description\" content=\"Amazon CodeGuru uses ML to review code and provide performance suggestions, saving developers time and reducing development costs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/\" \/>\n<meta property=\"og:site_name\" content=\"The Workfall Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/workfall\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-03T10:47:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-21T10:12:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/18-141-20-153.plesk.page\/learning\/blog\/wp-content\/uploads\/2021\/11\/codeguru.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@workfall\" \/>\n<meta name=\"twitter:site\" content=\"@workfall\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Workfall\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\",\"name\":\"Workfall - Hire #Kickass Coders On Demand\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/workfall\/\",\"https:\/\/www.linkedin.com\/company\/workfall\/\",\"https:\/\/facebook.com\/workfall\",\"https:\/\/twitter.com\/workfall\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"contentUrl\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"width\":400,\"height\":400,\"caption\":\"Workfall - Hire #Kickass Coders On Demand\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"name\":\"The Workfall Blog\",\"description\":\"#Tech #Remote #Jobs\",\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#primaryimage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/codeguru.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/codeguru.png\",\"width\":1200,\"height\":628,\"caption\":\"Amazon CodeGuru Reviewer in the Development Workflow\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#webpage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/\",\"name\":\"How to raise code quality for python applications using Amazon CodeGuru? - The Workfall Blog\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#primaryimage\"},\"datePublished\":\"2021-11-03T10:47:14+00:00\",\"dateModified\":\"2025-08-21T10:12:58+00:00\",\"description\":\"Amazon CodeGuru uses ML to review code and provide performance suggestions, saving developers time and reducing development costs.\",\"breadcrumb\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learning.workfall.com\/learning\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to raise code quality for python applications using Amazon CodeGuru?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#webpage\"},\"author\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\"},\"headline\":\"How to raise code quality for python applications using Amazon CodeGuru?\",\"datePublished\":\"2021-11-03T10:47:14+00:00\",\"dateModified\":\"2025-08-21T10:12:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#webpage\"},\"wordCount\":2390,\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/codeguru.png\",\"keywords\":[\"AWS\",\"codeguru\",\"development workflow\",\"python\",\"workfall\"],\"articleSection\":[\"AWS Cloud Computing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\",\"name\":\"Workfall\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"caption\":\"Workfall\"},\"sameAs\":[\"https:\/\/www.workfall.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to raise code quality for python applications using Amazon CodeGuru? - The Workfall Blog","description":"Amazon CodeGuru uses ML to review code and provide performance suggestions, saving developers time and reducing development costs.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/","og_locale":"en_US","og_type":"article","og_title":"How to raise code quality for python applications using Amazon CodeGuru? - The Workfall Blog","og_description":"Amazon CodeGuru uses ML to review code and provide performance suggestions, saving developers time and reducing development costs.","og_url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/","og_site_name":"The Workfall Blog","article_publisher":"https:\/\/facebook.com\/workfall","article_published_time":"2021-11-03T10:47:14+00:00","article_modified_time":"2025-08-21T10:12:58+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/18-141-20-153.plesk.page\/learning\/blog\/wp-content\/uploads\/2021\/11\/codeguru.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@workfall","twitter_site":"@workfall","twitter_misc":{"Written by":"Workfall","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization","name":"Workfall - Hire #Kickass Coders On Demand","url":"https:\/\/learning.workfall.com\/learning\/blog\/","sameAs":["https:\/\/www.instagram.com\/workfall\/","https:\/\/www.linkedin.com\/company\/workfall\/","https:\/\/facebook.com\/workfall","https:\/\/twitter.com\/workfall"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","contentUrl":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","width":400,"height":400,"caption":"Workfall - Hire #Kickass Coders On Demand"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website","url":"https:\/\/learning.workfall.com\/learning\/blog\/","name":"The Workfall Blog","description":"#Tech #Remote #Jobs","publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#primaryimage","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/codeguru.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/codeguru.png","width":1200,"height":628,"caption":"Amazon CodeGuru Reviewer in the Development Workflow"},{"@type":"WebPage","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#webpage","url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/","name":"How to raise code quality for python applications using Amazon CodeGuru? - The Workfall Blog","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#primaryimage"},"datePublished":"2021-11-03T10:47:14+00:00","dateModified":"2025-08-21T10:12:58+00:00","description":"Amazon CodeGuru uses ML to review code and provide performance suggestions, saving developers time and reducing development costs.","breadcrumb":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learning.workfall.com\/learning\/blog\/"},{"@type":"ListItem","position":2,"name":"How to raise code quality for python applications using Amazon CodeGuru?"}]},{"@type":"Article","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#article","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#webpage"},"author":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a"},"headline":"How to raise code quality for python applications using Amazon CodeGuru?","datePublished":"2021-11-03T10:47:14+00:00","dateModified":"2025-08-21T10:12:58+00:00","mainEntityOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#webpage"},"wordCount":2390,"publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-raise-code-quality-for-python-applications-using-amazon-codeguru\/#primaryimage"},"thumbnailUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/codeguru.png","keywords":["AWS","codeguru","development workflow","python","workfall"],"articleSection":["AWS Cloud Computing"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a","name":"Workfall","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","caption":"Workfall"},"sameAs":["https:\/\/www.workfall.com"]}]}},"jetpack_featured_media_url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/codeguru.png","jetpack-related-posts":[{"id":520,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-serverless-workflow-with-aws-step-functions-part-1\/","url_meta":{"origin":386,"position":0},"title":"How to build a Serverless Workflow with AWS Step Functions (Part 1)?","date":"November 10, 2021","format":false,"excerpt":"AWS Step Functions is a serverless orchestration solution that enables you to effortlessly coordinate several Lambda functions into customizable workflows that are simple to debug and modify. To see the full implementation of How to Build a Serverless Workflow with AWS Step Functions, refer to part 2 of the blog\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS Step Functions - Workfall","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/StepFunction01.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":361,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-create-ci-cd-workflow-using-aws-codestar\/","url_meta":{"origin":386,"position":1},"title":"How to create CI\/CD workflow using AWS CodeStar?","date":"November 3, 2021","format":false,"excerpt":"DevOps and CI\/CD are the future of software development. AWS CodeStar makes building a full CI\/CD workflow easier and helps us to create a CI\/CD toolchain using AWS developer tools - CodeCommit, CodeBuild, and CodePipeline In this blog we will demonstrate how to create CI\/CD workflow using AWS CodeStar. Before\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Create CI\/CD workflow using AWS CodeStar","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CodeStar.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":675,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-a-continuous-deployment-pipeline-to-deploy-versions-of-an-application-on-aws-elastic-beanstalk-using-aws-codepipeline-part-1\/","url_meta":{"origin":386,"position":2},"title":"How to set up a continuous deployment pipeline to deploy versions of an application on AWS Elastic Beanstalk using AWS CodePipeline (Part 1)?","date":"November 24, 2021","format":false,"excerpt":"Do you have concerns about managing and deploying web applications? With AWS Elastic Beanstalk, you can launch your full web application in just a few minutes by simply uploading the code. Starting with capacity provisioning, load balancing, auto-scaling, and application health monitoring, this service will take care of the whole\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS Elastic Beanstalk - Workfall","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-6.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":541,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-serverless-event-driven-workflow-with-aws-glue-and-amazon-eventbridgepart-1\/","url_meta":{"origin":386,"position":3},"title":"How to build a serverless event-driven workflow with AWS Glue and Amazon EventBridge(Part 1)?","date":"November 10, 2021","format":false,"excerpt":"Have you ever wondered how huge IT companies construct their ETL pipelines for production? Are you curious about how TBs and ZBs of data are effortlessly captured and rapidly processed to a database or other storage for data scientists and analysts to use? The answer is the serverless data integration\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS Glue","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Glue.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1498,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-etl-api-data-to-aws-s3-bucket-using-apache-airflow\/","url_meta":{"origin":386,"position":4},"title":"How to ETL API data to AWS S3 Bucket using Apache Airflow?","date":"November 1, 2022","format":false,"excerpt":"2.5 quintillion bytes of data are produced every day with 90% of it generated solely in the last 2 years (Source: Forbes). Data is pulled, cleaned, transfigured & then presented for analytical purposes & put to use in thousands of applications to fulfill consumer needs & more. While generating insights\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"How to ETL API data to AWS S3 Bucket using Apache Airflow?","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2022\/11\/Cover-Images_Part2-2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-orchestrate-queue-based-microservices-with-aws-step-functions-and-amazon-sqs\/","url_meta":{"origin":386,"position":5},"title":"How to orchestrate Queue-based Microservices with AWS Step Functions and Amazon SQS?","date":"October 23, 2021","format":false,"excerpt":"Since the term was coined in 2011, Microservices have been making waves among forward-thinking application development corporations. Microservices help decouple application components so that they run and fail independently, increasing the overall fault tolerance of the system. When your application is decoupled you need them to communicate in a seamless\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Orchestrate Queue-based Microservices with AWS Step Functions and Amazon SQS","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/33.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/386"}],"collection":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/comments?post=386"}],"version-history":[{"count":6,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/386\/revisions"}],"predecessor-version":[{"id":2206,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/386\/revisions\/2206"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media\/387"}],"wp:attachment":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}