VOOZH about

URL: https://www.analyticsvidhya.com/blog/2024/01/ai-coding-assistants-produce-bad-quality-code-study/

⇱ AI Coding Assistants Produce ‘Bad Quality Code’: Study


India's Most Futuristic AI Conference Is Back – Bigger, Sharper, Bolder

  • d
  • :
  • h
  • :
  • m
  • :
  • s

AI Coding Assistants Produce ‘Bad Quality Code’: Study

K.C. Sabreena Basheer Last Updated : 04 Aug, 2025
2 min read

A recent study by GitClear delves into the intricate world of code development, analyzing a staggering 153 million lines of code to unravel the impact of generative AI coding tools on code quality and maintainability. This study sheds light on how the surge in AI tools is influencing programming practices.

Also Read: GPT-Engineer: Your New AI Coding Assistant

Unraveling the Code Quality Tapestry

GitClear’s analysis focuses on key aspects such as code churn, duplication, and age, spanning the years 2020 to 2023. By scrutinizing code authored in 3400 repositories, the study paints a comprehensive picture of the evolving coding landscape.

Also Read: Leveraging GenAI to Enhance Coding Skills

Key Metrics: Code Churn, Duplication, and Age

Results from the study highlight significant shifts in three key metrics in the latter half of the studied period: code churn, code duplication, and code age. These metrics serve as markers for understanding the evolving nature of code development influenced by the advent of AI programming assistants.

AI’s Influence on Code Churn and Duplication

The increase in code churn, signifying the percentage of code undergoing substantial alterations soon after integration, suggests a rise in the generation of what the study terms as “bad code.” The higher percentage of duplicated code points to developers resorting to “quick patches,” potentially compromising the clarity of projects.

👁 AI's influence on code churn and duplication
Source: https://arc.dev/developer-blog/impact-of-ai-on-code/

The GitHub Copilot Context: A Game-Changing Era

The year 2023 marked the mainstream launch of GitHub Copilot, propelling AI-generated code into the limelight. GitHub’s CEO, Thomas Dohmke, touts impressive statistics – 15 million more “developers,” a global economic impact of 1.5 trillion U.S. dollars, 55% faster coding, and 46% more code written. GitClear’s study seeks to measure the tangible implications of this widespread adoption.

Also Read: Microsoft GitHub Copilot Chat Revolutionizes Coding Assistance

Analyzing Code Operations and Developer Intentions

GitClear classifies code changes into seven main operations, deciphering developer intentions. From “additions” indicating new features to “deletions” aligning with cleanup, the study aims to understand how AI-generated code influences the intricate dance of code development. The concept of “Churned Code” becomes pivotal, representing changes that were incomplete or erroneous upon creation.

Our Say

As the coding landscape evolves with the integration of generative AI tools, GitClear’s study sparks essential conversations. The rise in code churn and duplication prompts a closer look at the implications of AI-driven coding practices. The challenge now lies in balancing the efficiency gains promised by AI with the potential drawbacks in code quality and maintainability. It seems that the human layer of software developers still remains crucial in the era of GitHub Copilot.

Follow us on Google News to stay updated with the latest innovations in the world of AI, Data Science, & GenAI.

Sabreena is a GenAI enthusiast and tech editor who's passionate about documenting the latest advancements that shape the world. She's currently exploring the world of AI and Data Science as the Manager of Content & Growth at Analytics Vidhya.

Login to continue reading and enjoy expert-curated content.

Free Courses

Generative AI - A Way of Life

Explore Generative AI for beginners: create text and images, use top AI tools, learn practical skills, and ethics.

Getting Started with Large Language Models

Master Large Language Models (LLMs) with this course, offering clear guidance in NLP and model training made simple.

Building LLM Applications using Prompt Engineering

This free course guides you on building LLM apps, mastering prompt engineering, and developing chatbots with enterprise data.

Improving Real World RAG Systems: Key Challenges & Practical Solutions

Explore practical solutions, advanced retrieval strategies, and agentic RAG systems to improve context, relevance, and accuracy in AI-driven applications.

Microsoft Excel: Formulas & Functions

Master MS Excel for data analysis with key formulas, functions, and LookUp tools in this comprehensive course.

Responses From Readers

Flagship Programs

GenAI Pinnacle Program| GenAI Pinnacle Plus Program| AI/ML BlackBelt Program| Agentic AI Pioneer Program

Free Courses

Generative AI| DeepSeek| OpenAI Agent SDK| LLM Applications using Prompt Engineering| DeepSeek from Scratch| Stability.AI| SSM & MAMBA| RAG Systems using LlamaIndex| Building LLMs for Code| Python| Microsoft Excel| Machine Learning| Deep Learning| Mastering Multimodal RAG| Introduction to Transformer Model| Bagging & Boosting| Loan Prediction| Time Series Forecasting| Tableau| Business Analytics| Vibe Coding in Windsurf| Model Deployment using FastAPI| Building Data Analyst AI Agent| Getting started with OpenAI o3-mini| Introduction to Transformers and Attention Mechanisms

Popular Categories

AI Agents| Generative AI| Prompt Engineering| Generative AI Application| News| Technical Guides| AI Tools| Interview Preparation| Research Papers| Success Stories| Quiz| Use Cases| Listicles

Generative AI Tools and Techniques

GANs| VAEs| Transformers| StyleGAN| Pix2Pix| Autoencoders| GPT| BERT| Word2Vec| LSTM| Attention Mechanisms| Diffusion Models| LLMs| SLMs| Encoder Decoder Models| Prompt Engineering| LangChain| LlamaIndex| RAG| Fine-tuning| LangChain AI Agent| Multimodal Models| RNNs| DCGAN| ProGAN| Text-to-Image Models| DDPM| Document Question Answering| Imagen| T5 (Text-to-Text Transfer Transformer)| Seq2seq Models| WaveNet| Attention Is All You Need (Transformer Architecture) | WindSurf| Cursor

Popular GenAI Models

Llama 4| Llama 3.1| GPT 4.5| GPT 4.1| GPT 4o| o3-mini| Sora| DeepSeek R1| DeepSeek V3| Janus Pro| Veo 2| Gemini 2.5 Pro| Gemini 2.0| Gemma 3| Claude Sonnet 3.7| Claude 3.5 Sonnet| Phi 4| Phi 3.5| Mistral Small 3.1| Mistral NeMo| Mistral-7b| Bedrock| Vertex AI| Qwen QwQ 32B| Qwen 2| Qwen 2.5 VL| Qwen Chat| Grok 3

AI Development Frameworks

n8n| LangChain| Agent SDK| A2A by Google| SmolAgents| LangGraph| CrewAI| Agno| LangFlow| AutoGen| LlamaIndex| Swarm| AutoGPT

Data Science Tools and Techniques

Python| R| SQL| Jupyter Notebooks| TensorFlow| Scikit-learn| PyTorch| Tableau| Apache Spark| Matplotlib| Seaborn| Pandas| Hadoop| Docker| Git| Keras| Apache Kafka| AWS| NLP| Random Forest| Computer Vision| Data Visualization| Data Exploration| Big Data| Common Machine Learning Algorithms| Machine Learning| Google Data Science Agent
👁 Av Logo White

Continue your learning for FREE

Forgot your password?
👁 Av Logo White

Enter OTP sent to

Edit

Wrong OTP.

Enter the OTP

Resend OTP

Resend OTP in 45s

👁 Popup Banner
👁 AI Popup Banner