Devs don’t trust AI code – but many say they still don’t check it anyways

  • 96% of developers don’t fully trust AI, 52% don’t always check for errors
  • The majority of ChatGPT and Perplexity users access AI through a personal account
  • Conversely to trends, data exposure and vulnerabilities are big concerns

Sonar’s latest State of Code Developer Survey has found almost all (96%) developers say they don’t fully trust AI-generated code to be functionally correct, despite widespread use, and even worse, many don’t check their AI-generated code properly.

Currently, around 42% of developers’ code is said to be AI-generated (up a significant amount from just 6% in 2023), but this is expected to rise to around 65% by 2027.

And yet not even half (48%) of them always check AI’s work before committing, highlighting a huge potential for bugs and vulnerabilities to be introduced.

Developers aren’t checking AI-generated code before using it

While three in five (59%) say that they give ‘moderate’ or ‘substantial’ effort into checking AI-generated code, two in five (38%) agree its takes more time to verify than the equivalent human-written code. And, because the code generated uses a whole internet load of data to inform its output, three in five (61%) agree that it often looks correct, but isn’t.

This study corroborates with a separate piece of recent research published by CodeRabbit, revealing that AI generates 1.7x more issues (and 1.7x more major issues) than humans.

Current trends show AI tools being most used across prototyping (88%) and internet production software (83%), which might not appear to be so critical, but nearly as many use it for customer-facing apps (73%). GitHub Copilot (75%) and ChatGPT (74%) are by far the most commonly used assistants.

But taking this information one step further, Sonar found more than one in three (35%) developers use their own personal accounts rather than work-approved ones – a figure that rises to 52% among ChatGPT users, and 63% for Perplexity fans. This presents yet another risk to potentially confidential or sensitive company information.

In fact, despite what Sonar found to be true about AI usage among developers, data exposure (57%), small vulnerabilities (47%) and severe vulnerabilities (44%) are among the highest concerns.

“Generating code faster is only half the battle,” the report concludes. “The real value comes from being able to trust and verify that code efficiently.”

Follow TechRadar on Google News and add us as a preferred source to get our expert news, reviews, and opinion in your feeds. Make sure to click the Follow button!

And of course you can also follow TechRadar on TikTok for news, reviews, unboxings in video form, and get regular updates from us on WhatsApp too.

Read more @ TechRadar

Latest posts

Google will disable Search for students unless schools accept AI features in ‘Guided Learning’ push

Google is today launching new AI settings for schools, but with the big catch that Search is fully disabled if AI features are turned...

ChatGPT has hit roughly 20% of Google Search volume, OpenAI says

According to OpenAI, ChatGPT has managed to grow its search use to around 20% of Google Search’s total volume, a staggering figure. Read more @...

Peak Design’s new wireless charging stand pulls double duty, literally

The three new charging accessories from Peak Design hit the high notes, like (dual) Qi2 wireless charging and wired fast charging without bulky bricks. Read...

Google Messages redesigning pinned chats and moving search

In addition to the new app icon, Google Messages is testing a redesign of pinned chats and search on the homepage. Read more @ 9to5google

The Sideload 050: The phones Samsung and Google won’t make

Welcome to episode 50 of The Sideload, a 9to5Google podcast. This week, Will and Daniel are joined by Nick Sutrich to discuss the ever-present split between...

Google confirms something was draining Pixel Watch batteries, fix rolling out

Google has confirmed that some Pixel Watches are experiencing unexpected battery drain, but it also says a fix is already available. Read more @ 9to5google

Microsoft Authenticator is ditching its own password backup for Google One

Microsoft is ditching its own password backup option for the Microsoft Authenticator app for Android and instead using Google One for that service. Read more...

Deals: Pixel 11 up to $580 off, Google Home Speaker all-time low, Dell XPS 13 $200 off, new Fire TV Stick 58% off, more

Alongside the Pixel 11 Pro, Pixel 11 Pro XL, and Pixel 11 Pro Fold. Best Buy is now offering massive Pixel 11 series price...

Android Auto 18.1 update rolling out with additional prep for light mode and redesign

Google is rolling out Android Auto 18.1 to the masses and, while there are no major changes, the update continues to work on upcoming...

Google’s Stadia Controller dream lives on in the $50 Xbox Nano Controller

The Stadia Controller introduced the idea of connecting directly to cloud gaming via its own Wi-Fi connection and, while Google’s platform is long dead,...