The Amazon CodeGuru Reviewer service is now available for Python. It helps developers improve their code quality by identifying and fixing defects.
According to an Amazon Web Services announcement, the Amazon CodeGuru reviewer for Python has become generally available (GA), after being in preview since December.
CodeGuru Reviewer can be used as one component of Amazon CodeGuru, which AWS launched last January. CodeGuru is a tool that helps developers improve their code using machine learning models that are based on the millions code reviews that AWS has performed over the past 20 year. The Reviewer component reviews code-pull requests for defects and analyzes them. Profiler, the other component of CodeGuru analyzes the performance and efficiency of applications as they run.
The GA announcement about Python support only applies to the Reviewer tool. CodeGuru Profiler is currently in preview. Reviewer already supports Java.
AWS developed Reviewer for Python. It said that it “analyzed large code corpuses, Python documentation, to source difficult-to-find programming issues, and trained our detectors in best-practice recommendations.” The GA product “extends CodeGuru Reviewer’s coverage to include more recommendations for existing detectors as well as new detectors that have been internally validated.”
The resource leak detector has also seen improvements. AWS stated that the resource leak detector is now capable of identifying problems in open files descriptors and can alert developers to leaks “connections. sessions. sockets [and] multiprocessing thread pool”.
Two new detectors were also included in the GA release. The code maintainability detector detects bad code practices that can make code difficult to read, interpret, and maintain. The input validation detector identifies areas that do not have sufficient input validation.
More Affordable Pricing Models
AWS also announced that it has changed its pricing structure to make it more affordable and easier to forecast.
CodeGuru Reviewer was previously $0.75 per 100 lines per month. Pricing will change to a predictable monthly rate starting April: $10 for the first 100,000 lines per month and $30 for each additional 100,000 lines. This monthly rate includes two full scans per repository. Additional full scans will cost $10 for each 100,000 lines of code.
“This price structure will not only make the cost more predictable, transparent, and it will also simplify the way that you scale CodeGuru Reviewer
AWS announced that the announcement was made across all teams within the organization. “You still have the option to run full repository scans on request and do incremental reviews on each pull-request.”
According to AWS, the new pricing structure could reduce costs by as much 90 percent. “We expect the greatest number of use cases to see a significant cost reduction.”
