Research Raises Concerns Over AI Impact on Code Quality

Share post:

Recent findings from GitClear, a developer analytics firm, indicate that the increasing reliance on AI assistance in software development may be adversely affecting code quality. The study, which analyzed a staggering 150 million changed lines of code from both private and open-source projects, has brought to light several concerning trends, including a rise in code churn and a higher incidence of repetitive code.

GitHub’s Copilot, a leading AI coding assistant used by over a million developers, has been reported to increase task completion speed by 55%, with 46% of code in enabled files being generated by the tool. However, GitClear’s research shifts the focus from the quantity to the quality of code produced with AI assistance. The study points out that AI tools tend to suggest additions to the code but seldom recommend updates, relocations, or deletions. This pattern raises questions about the conciseness and readability of the resulting code.

A significant finding of the research is the increase in code churn, which has escalated to 7.1% from 3.3% in 2020. Additionally, there has been a noted decrease in the movement of code, suggesting a reduction in code refactoring activities. The researchers have expressed concerns over the growing tendency to use copied and pasted code, citing it as a major challenge for the long-term maintainability of software.

While the exact reasons behind these trends are subject to speculation, the researchers associate them with the burgeoning use of AI in coding. They advise engineering leaders to closely monitor these trends and consider their potential impact on future product maintenance.

The study concludes that AI coding assistants, in their current state, are unlikely to replace human developers. The AI tools are deemed too error-prone and not yet capable of securely modifying existing code. This insight may offer some reassurance to developers who fear being supplanted by AI, highlighting the current limitations and challenges of AI in coding scenarios.

Sources Include: The Register

SUBSCRIBE NOW

Related articles

Hertz Data Breach Exposes Customer Information via Supply Chain Hack

Hertz has disclosed a data breach resulting from a cyberattack on its vendor, Cleo Communications, which compromised sensitive...

ChatGPT’s New Memory Feature Remembers Past Conversations for Personalized Interactions

OpenAI has upgraded ChatGPT with a long-term memory feature, enabling the AI to recall previous conversations and provide...

AI Vibe Coding Explained: The Future of Programming?

JOIN OUR DISCORD CHANNEL https://discord.gg/4uwxk6TN6r Support us at: buymeacoffee.com/techpodcast Discover how "AI Vibe Coding" is revolutionizing programming in our...

US Tariffs Could SLASH Global IT Spending Growth by 50%! 🚨Hashtag Trending Special Edition

US tariffs are making waves in the global tech industry, with IDC warning they could slash global IT...

Become a member

New, Relevant Tech Stories. Our article selection is done by industry professionals. Our writers summarize them to give you the key takeaways