Sonar Technologies has announced the launch of two innovative features aimed at enhancing software development in the age of artificial intelligence (AI). The new capabilities, Sonar AI Code Assurance and Sonar AI CodeFix, are designed to improve the quality of code generated by AI tools and streamline developer workflows.
As the use of AI coding assistants rises, Sonar is addressing concerns around code accountability. Tariq Shaukat, CEO of Sonar, noted that while AI is streamlining coding processes, it also poses challenges in ensuring the quality of AI-generated code. “With AI Code Assurance, we’re helping organizations ensure that AI-written code receives the high level of quality and security review that you would expect from your developers,” Shaukat explained.
Sonar AI Code Assurance enables companies to evaluate the quality of AI-generated code thoroughly. The tool conducts extensive analyses of the codebase, ensuring compliance with high standards of quality and security. With estimates suggesting that poor code costs businesses over a trillion dollars, the importance of scrutinising AI-generated code cannot be overstated.
The AI Code Assurance capabilities include a project tagging feature that allows developers to mark projects containing AI-generated code, triggering a detailed analysis. Furthermore, an optimised quality gate ensures that only code meeting stringent quality and security criteria is approved for production. Successful projects receive an AI Code Assurance Approved Badge, indicating their compliance with the rigorous AI-ready analysis.
In addition to quality assurance, Sonar has launched AI CodeFix to boost developer productivity. This feature allows developers to rectify issues identified by Sonar’s code analysis engine with a single click, integrating seamlessly into their existing workflows. AI CodeFix automates the generation of fix recommendations, significantly reducing the time spent on issue resolution.
Fabrice Bellingard, VP of Product at Sonar, remarked, “AI CodeFix helps developers streamline their workflow and ramp up their productivity. We’re putting remediation options for Sonar-identified issues right in front of the people working on them.” This integration facilitates quicker issue resolution, enabling developers to focus on their core tasks.
Research has shown that automation tools can enhance the developer experience. McKinsey’s findings suggest that developers using generative AI tools report increased happiness and fulfillment compared to those who do not. The AI CodeFix feature is expected to improve this experience further, offering instant code fixes and contextual understanding of Sonar findings. It supports multiple programming languages, including Java, JavaScript, TypeScript, C#, Python, and C/C++, and provides ongoing suggestions based on user feedback.
The new features are currently available for both SonarQube and SonarCloud. AI Code Assurance is available now on SonarQube, with general availability on SonarCloud expected by the end of October. AI CodeFix is currently in early access for users of SonarQube Enterprise Edition, SonarQube Data Center Edition, and SonarCloud Team and Enterprise plans.
For more information about these new features, interested parties can visit Sonar’s AI features page.