{"id":2295,"date":"2024-01-24T17:03:27","date_gmt":"2024-01-24T09:03:27","guid":{"rendered":"https:\/\/arc.dev\/developer-blog\/?p=2295"},"modified":"2024-04-17T11:16:34","modified_gmt":"2024-04-17T03:16:34","slug":"impact-of-ai-on-code","status":"publish","type":"post","link":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/","title":{"rendered":"Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI"},"content":{"rendered":"\n<p>This study was conducted by analyzing how code was authored in 3400 repositories between 2020 and 2023. Results show that three key metrics have seen significant change in the second half of the studied interval: code churn, code duplication, and code age.<\/p>\n\n\n\n<p>The paper studies the variation of those factors and how their change correlates with the advent of AI programming assistants. The increase in code churn (the percentage of code that gets removed or significantly altered soon after integration) suggests that more \u201cbad code\u201d is being authored. The higher percentage of duplicated code indicates that developers applied \u201cquick patches\u201d more often than 3 years ago, decreasing the clarity of the project. Finally, the shorter average \u201crefactor time\u201d points to more time spent on fixing recent bad code versus refactoring legacy modules.<\/p>\n\n\n\n<p>Perhaps unsurprisingly, the output quality of AI-generated code resembles that of a developer unfamiliar with the projects they are altering. Just like a developer assigned to a brand new repository, code generation tools are prone to corrupting the DRY-ness of the project. To see the full details, view the full paper <a href=\"https:\/\/www.gitclear.com\/coding_on_copilot_data_shows_ais_downward_pressure_on_code_quality\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p class=\"has-johannes-bg-alt-1-background-color has-background\"><strong><strong><strong><strong><strong><a href=\"https:\/\/arc.dev\/hire-developers\/ai\">Hire an AI developer<\/a> | <\/strong><\/strong><\/strong><\/strong><\/strong>Browse experts in generative AI, LLM, and OpenAI<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h.dty56q6iuy7w\">The GitHub Copilot Context<\/h2>\n\n\n\n<p>2023 marked the mainstream launch of GitHub Copilot and the dramatic increase in code written by an AI programming assistant. As far as its impact, GitHub\u2019s CEO Thomas Dohmke&nbsp;<a href=\"https:\/\/www.google.com\/url?q=https:\/\/github.blog\/2023-06-27-the-economic-impact-of-the-ai-powered-developer-lifecycle-and-lessons-from-github-copilot\/&amp;sa=D&amp;source=editors&amp;ust=1706071508697940&amp;usg=AOvVaw0ZUmTHoVQCKUxfBWEnK0Cj\">highlights<\/a><a href=\"https:\/\/www.google.com\/url?q=https:\/\/github.blog\/2023-06-27-the-economic-impact-of-the-ai-powered-developer-lifecycle-and-lessons-from-github-copilot\/&amp;sa=D&amp;source=editors&amp;ust=1706071508697940&amp;usg=AOvVaw0ZUmTHoVQCKUxfBWEnK0Cj\" target=\"_blank\" rel=\"noreferrer noopener\"> <\/a><a href=\"https:\/\/www.google.com\/url?q=https:\/\/github.blog\/2023-06-27-the-economic-impact-of-the-ai-powered-developer-lifecycle-and-lessons-from-github-copilot\/&amp;sa=D&amp;source=editors&amp;ust=1706071508697940&amp;usg=AOvVaw0ZUmTHoVQCKUxfBWEnK0Cj\">in his blog post<\/a>&nbsp;a gain of 15 million \u201cdevelopers,\u201d a global impact on the economy of 1.5 trillion U.S. dollars, 55% \u201cfaster coding,\u201d and 46% more \u201ccode written.\u201d<\/p>\n\n\n\n<p>Building on the AI-adoption statistics provided by GitHub, GitClear\u2019s study aims to measure the implications of this phenomenon. Are there measurable side effects to committing AI-generated code? What are the implications of the widespread adoption of AI programming assistants?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.o4j5v82d11s7\">The Problem with AI-Generated Code<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/-G93OatuOCUIDIZ4Bbt1QZPDijjqxBl5v1K8dCIoWnawxBfpW7Tuo9PA6YA05UEcL7udRjjlALSsQzpPniAhM93WcKuc_KYU_Qt87BkhEqQcL1stnawd_ziGQqKuIzsHoesWAiK9At25bHu8Pv-FL58\" alt=\"\" title=\"\"\/><\/figure>\n\n\n\n<p>To echo Adam Tornhill\u2019s (code researched and author,&nbsp;<a href=\"https:\/\/www.google.com\/url?q=https:\/\/www.goodreads.com\/en\/book\/show\/23627482&amp;sa=D&amp;source=editors&amp;ust=1706071508698596&amp;usg=AOvVaw0KRWnmub0MI1jOt4_uEJdj\">Your Code as a Crime Scene<\/a>) take on the subject, the first \u201cAI-generated problem\u201d stems from the fact that, on average, developers spend 10x more time&nbsp;<strong>reading<\/strong>&nbsp;code than&nbsp;<strong>writing<\/strong>&nbsp;it (<a href=\"https:\/\/www.google.com\/url?q=https:\/\/www.goodreads.com\/quotes\/835238-indeed-the-ratio-of-time-spent-reading-versus-writing-is%23:~:text%3DIndeed%252C%2520the%2520ratio%2520of%2520time%2520spent%2520reading%2520versus%2520writing%2520is,makes%2520it%2520easier%2520to%2520write.&amp;sa=D&amp;source=editors&amp;ust=1706071508698927&amp;usg=AOvVaw0fRJ-c_ZXI4Nx-4N1HWdFB\">according to Robert Martin<\/a>, author of&nbsp;<a href=\"https:\/\/www.google.com\/url?q=https:\/\/www.goodreads.com\/book\/show\/3735293-clean-code&amp;sa=D&amp;source=editors&amp;ust=1706071508699196&amp;usg=AOvVaw2YEKeErPTsU1xtBdBQuEoM\">Clean Code: A Handbook of Agile Software Craftsmanship<\/a>). If AI programming helps write code 55% faster, that means&nbsp;<em>all<\/em>&nbsp;code will be written faster, including the bad code (or the code that shouldn\u2019t be written in the first place).<\/p>\n\n\n\n<p>From the same lens of \u201ccode maintainability,\u201d AI-generated suggestions are skewed towards&nbsp;<strong>adding new code<\/strong>&nbsp;as opposed to moving, updating, or deleting existing code. Similarly, the suggestion algorithms favor the results that are most likely to be accepted (which, by itself, does not predict \u201ccodebase health\u201d). The complex list of implications culminates with the increased time the developer has to spend reading and evaluating said suggestions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.4anu3epq4he3\">How to Approximate Code Quality?<\/h3>\n\n\n\n<p>GitClear classifies code changes into seven main&nbsp;<strong>code operations<\/strong>: additions, deletions, moves, updates, string substitutions, duplicates and no-op code. More details on GitClear\u2019s code operations can be found&nbsp;<a href=\"https:\/\/www.google.com\/url?q=https:\/\/docs.google.com\/presentation\/d\/1_zHZSSU5GsuORb776sRVNkuKoHXS7e2smJWWkn1Kxds\/edit%23slide%3Did.g9a6371a948_0_732&amp;sa=D&amp;source=editors&amp;ust=1706071508699948&amp;usg=AOvVaw0mFWACzF2zx0f_FObqj5Zj\">in the Diff Delta documentation<\/a>.<\/p>\n\n\n\n<p>By analyzing the contents of authored code, GitClear is able to approximate developer intention. For example, \u201cadditions\u201d (completely new lines of code being added) usually correlate with the creation of new features. Meanwhile, \u201cmoves\u201d (existing lines being transferred to other files or functions within a file) usually correlate with&nbsp;<em>code refactoring<\/em>. Similarly, \u201cdeletions\u201d tend to coincide with cleanup and increased codebase health, while \u201cduplicates\u201d typically achieve the opposite.<\/p>\n\n\n\n<p>In addition to code operations, GitClear also measures a metric called \u201c<strong>Churned Code<\/strong>.\u201d This stands for code that the developer writes and then reverts or significantly alters within two subsequent weeks. Churn is best understood as \u201cchanges that were either&nbsp;<em>incomplete<\/em>&nbsp;or&nbsp;<em>erroneous<\/em>&nbsp;when they were authored.\u201d<\/p>\n\n\n\n<p>Finally, GitClear also measures \u201c<strong><a href=\"https:\/\/www.google.com\/url?q=https:\/\/www.gitclear.com\/help\/technical\/code_provenance&amp;sa=D&amp;source=editors&amp;ust=1706071508700623&amp;usg=AOvVaw2-WEusBWXMwHiSn4rCFgP9\">code provenance<\/a><\/strong>,\u201d which is the length of time that passes between the moment when a piece of code is written and subsequently updated or deleted.<\/p>\n\n\n\n<p>With this framework in mind for understanding code change, let\u2019s take a look over the results.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.ovrfk8mi25ba\">Study Results: Trends in Code Operations and Churn<\/h3>\n\n\n\n<p>GitClear analyzed the number of different code operations and aggregated their distributions for every year. Here are the results:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/-Vb8Cs9HZWX-Xi5xSpxdi8K8ZHQQudnE9OEPiyq93Oz4Oi69AyV5608-o1OJc5oefqo5CEj454WcDV36Vcm-zR_H_q4IQvSfM4Am_pIaW1CDgHWkcNuT3pL1iAReHZv4blRnV0V4bVseOseiHtgKY1M\" alt=\"\" title=\"\"\/><\/figure>\n\n\n\n<p>The table above illustrates how much each code operation contributed to code changes in its particular year. Additionally, the \u201cChurn\u201d column shows the percentage of code that was committed and then removed or updated within 2 weeks. The last row of the table is a projection for 2024 that extrapolates on the previous four years. Here is the same data plotted onto a graph:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/uZpoloFIHY5PpNx78Vi1u_4Cl_-fHJ94iEPpp-f3uRUwVDeidSrCRklZpw6tOiNaBVmtUo3GWfyrQ3ZyHRsj5wuRM8v6H_xtaj9HspcePWbv03aDoFrhD-QGyL-LWq7OQzfs2exnSnT6UI6E4M0Pgx8\" alt=\"\" title=\"\"\/><\/figure>\n\n\n\n<p>Furthermore, here are the trends in the \u201crevised code age\u201d:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/fdjAfXt2SC9WMv0eehE1AC9-AZAeyzP9j7n18XaAvuC-rxYu_sYAHw_GuEeJMrmYwgkUO-ubgtlbZUMzKBhUwxCqy9N2-GE_7hZReKJrlnw7t4PNu68ZMeO5s736JJa0F7gl54nZz39EayFs4amZCQc\" alt=\"\" title=\"\"\/><\/figure>\n\n\n\n<p>The table above displays how long it took for code to be \u201crevised\u201d every year between 2020 and 2023, as well as a projection for 2024.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.25nkxabof31t\">The Real Impact of AI-Generated Code<\/h3>\n\n\n\n<p>Looking at the variation of operation frequency and churn between 2020 and 2023, we find&nbsp;<strong>three red flags for code quality<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/HG7Eob4JreGI3aeITKu4gSDgLGIDJ_lFJLCsuJIFKKSY8NlbHoldrgnE7zV-NHc9a-YZYZyYb4Rme--Rt-OZ5xwlfS4ZLEcJJ0_zArQM-jz4Qc-cDGlaMGb6Fb2iDgpeexV_YIg2kJhQEMLDkm9e2xk\" alt=\"\" title=\"\"\/><\/figure>\n\n\n\n<p>The most significant changes correlated with GitHub Copilot\u2019s rise are \u201cchurn,\u201d \u201cmoves,\u201d and \u201cduplicates.\u201d Let\u2019s explore the implications of each.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.tpkl4emjsic3\">Developers Commit more \u201cBreaking Code\u201d<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/KgAd_c7mFzVHswbNxOjkpHVcdenrkJZ-AR6A-hEePXpGD2b24D9XVrdjKb4jnerpJ3QoO8rx6-W_Coj1N6JPwz7ZwhqZOPlVfkt_Z_gW8o6jEcwgQ5uMvFEsi7PL67C16qMEI53cyXL8v3_yXMzuMEk\" alt=\"\" title=\"Chart\"\/><\/figure>\n\n\n\n<p>Recall that \u201cchurn\u201d is the percentage of code that was pushed to the repo, then subsequently reverted, removed, or updated within 2 weeks. This was a relatively infrequent outcome when developers authored all their own code: only 3-4% of code was churned between 2020 and 2022 every year. By contrast, in 2023, the numbers grew to an average of 5.5%.<\/p>\n\n\n\n<p>The data strongly correlates \u201cusing Copilot\u201d with \u201cmistake code\u201d being pushed to the repository more frequently. If Copilot\u2019s prevalence was 0% in 2021, 5-10% in 2022, and 30% in 2023 (as per&nbsp;<a href=\"https:\/\/www.google.com\/url?q=https:\/\/github.blog\/2023-06-27-the-economic-impact-of-the-ai-powered-developer-lifecycle-and-lessons-from-github-copilot\/&amp;sa=D&amp;source=editors&amp;ust=1706071508702340&amp;usg=AOvVaw1KqOxcQrw6AvQbKi9F5zg1\">GitHub<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/www.google.com\/url?q=https:\/\/www.oreilly.com\/radar\/the-next-generation-of-developer-productivity\/&amp;sa=D&amp;source=editors&amp;ust=1706071508702556&amp;usg=AOvVaw2xJxz5FMMXQ6C1gG3FPjeH\">O\u2019Reilly<\/a>),&nbsp;<a href=\"https:\/\/www.google.com\/url?q=https:\/\/en.wikipedia.org\/wiki\/Pearson_correlation_coefficient&amp;sa=D&amp;source=editors&amp;ust=1706071508702741&amp;usg=AOvVaw1j7R-jpoCSI4SnJWoaYKrx\">the Pearson correlation coefficient<\/a>&nbsp;between these variables is 0.98.<\/p>\n\n\n\n<p>The more churn becomes commonplace, the greater the risk of mistakes being deployed to production. If the current pattern continues into 2024, more than 7% of all code changes will be reverted within two weeks, double the rate of 2021.<\/p>\n\n\n\n<p class=\"has-johannes-bg-alt-1-background-color has-background\"><strong><strong><strong><strong><strong><a href=\"https:\/\/arc.dev\/hire-developers\/ai\">Hire an AI developer<\/a> | <\/strong><\/strong><\/strong><\/strong><\/strong>Browse experts in generative AI, LLM, and OpenAI<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.nyqyik7okww4\">Projects See Less Refactoring<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/-UQG9sl4fo1TcXQtjyLF27KtGpH1S-RsVvffcNqlU9SOEnaWTQcvBh4sRPvKi2VNgJZ0vmhDvOZb3-EwawNO3xNPVl0AJh3pz6PFX3kSDgF7XGY9NCwk51iyH-pXIMesKTwHkoIrrxj1gLKgghNG3VM\" alt=\"\" title=\"Chart\"\/><\/figure>\n\n\n\n<p>\u201cMoved code\u201d is typically observed when refactoring an existing code system. As a product grows in scope, developers traditionally rearrange existing code into new modules and files that can be reused by new features. Code reuse means developers are often employing code that has already been tested and documented. Therefore, this type of operation often translates into less time spent understanding existing code and less cognitive effort updating it.<\/p>\n\n\n\n<p>The 17% decrease in \u201cmove\u201d operations when compared to 2021 hints at the built-in trait of AI assistants to discourage code reuse. Instead of refactoring and working to DRY (\u201c<a href=\"https:\/\/www.google.com\/url?q=https:\/\/en.wikipedia.org\/wiki\/Don%2527t_repeat_yourself%23:~:text%3D%2522Don%27t%2520repeat%2520yourself%2522,redundancy%2520in%2520the%2520first%2520place.&amp;sa=D&amp;source=editors&amp;ust=1706071508703429&amp;usg=AOvVaw2R6NutkFvgLpuO5uOTAIkQ\">Don\u2019t Repeat Yourself<\/a>\u201d) code, they offer a one-keystroke templation to&nbsp;<em>repeat existing code<\/em>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.8b3658rq8lrn\">Programmers Push More Duplicated Code<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/IvlWEkjsYHsFNeJQuFDy31xy3E-yD-e4s0Jd9V39CsZnW879OwzjMyojLNRe-vV2Cw88rMPvreW1kM54PRenaqVxOQa2UaTBrGVfnlfprzEt0T7pNHKHkNolQBeCbClaHEEQXWtAY9UUbm5qn7VIodM\" alt=\"\" title=\"Chart\"\/><\/figure>\n\n\n\n<p>By re-adding code instead of reusing it, the chore is left to future maintainers to consolidate parallel code paths. The problem is aggravated by most developers\u2019 subjective preference for writing new code from scratch vs. reading existing code. Even in teams where there are senior developers with the skills and authority for refactoring, the willpower cost of understanding code well enough to delete it is hard to overstate.<\/p>\n\n\n\n<p>In the absence of a CTO or VP of Engineering who actively schedules time to reduce \u201ctech debt,\u201d \u201ccopy\/pasted code\u201d often&nbsp;<em>never<\/em>&nbsp;gets consolidated into the appropriate component libraries.<\/p>\n\n\n\n<p>Especially next to the decrease in \u201cmoved code,\u201d the 11% increase in the proportion of duplicated code confirms the drop in overall code quality in 2023 when compared to 2021. Furthermore, since GitClear operations only include code that is duplicated&nbsp;<em>within a single commit<\/em>, it is likely that the&nbsp;<em>real<\/em>&nbsp;percentage of commits that have duplicate code is significantly larger.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.kl1u7tvu2pxp\">More Time Is Spent Changing Recent Code<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/d_fKNXWCDQiBMqcVTf8ElITDPcew8cDBe6sgYqobR4Ql-uM8cDjyA9pgAP15IflAjgFCZA1AhSLBabGWc_TptuuZoxEzmJCF3TATzDgwaSJeEyFjpDEkj1Pow-K0sJaLkU0r15KWCFDS_wIuepy9uMo\" alt=\"\" title=\"Chart\"\/><\/figure>\n\n\n\n<p>Finally, the Code Provenance data corroborates the patterns observed in the code operation analysis. Namely, the amount of code replaced in less than two weeks since its conception has jumped by 10%. Meanwhile, code older than one month was changed 24% less frequently in 2023 than in 2022.<\/p>\n\n\n\n<p>The shift in \u201crevised code age\u201d suggests that less time is being spent on refactoring legacy code and more time is being spent fixing recent \u201cmistake code.\u201d<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.k0ggjdwqf0oe\">Conclusion and Open Questions<\/h3>\n\n\n\n<p>Recent trends in how code changes point to an \u201cadd it and forget it\u201d-type philosophy when it comes to programming. The specific metrics underlying this claim (code duplication, code churn, etc.) suggest a strong correlation between this drop in code quality and the adoption of code-generating AI tools.<\/p>\n\n\n\n<p>While it is undeniable that code&nbsp;<em>does<\/em>&nbsp;get written faster, the side effects translate into (1) more time spent understanding existing code and (2) more resources directed at fixing bad code.<\/p>\n\n\n\n<p>One potential avenue for alleviating the effects of the GitHub Copilot era is to train available algorithms to favor refactoring code. While not an all-encompassing solution by itself, this could prove to be a favorable first step towards slowing down the downward trend in code quality.<\/p>\n\n\n\n<p>That said, any technical solution needs to be accompanied by a shift in public discourse. Developers and programming thought leaders alike ought to reframe the discussion towards code quality instead of code-writing speed; towards generating code that is easier to understand instead of&nbsp;<em>more code<\/em>. Provided with the relevant data and an industry consensus, most experienced developers are bound to opt for a more conservative use of AI programming assistants.<\/p>\n\n\n\n<p>Finally,&nbsp;<a href=\"https:\/\/www.google.com\/url?q=http:\/\/www.gitclear.com&amp;sa=D&amp;source=editors&amp;ust=1706071508705265&amp;usg=AOvVaw0OvZbyleLqYI0EPxfjpqy9\">GitClear<\/a>&nbsp;proposes a set of open questions around how to best measure and interpret the negative impact of faster code-writing:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>At what rate does development progress become inhibited by additional code? Does more code (and especially more copy\/pasted code) inversely correlate with \u201cthe velocity at which developers can modify the code\u201d? Knowing the rate at which slowdown takes hold would allow future tools to highlight when a manager should consider cutting back on new features.<\/li><li>What is the total percentage of \u201cduplicated code\u201d that is&nbsp;<em>actually<\/em>&nbsp;occurring? Since GitClear currently measures only copy-pasted code within the context of an individual commit, the total volume of duplicated code might be much larger than the quoted numbers in this study.<\/li><\/ol>\n\n\n\n<p>GitClear will look to address these questions in future research and encourage other researchers in the field to contribute their own data.<\/p>\n\n\n\n<p class=\"has-johannes-bg-alt-1-background-color has-background\"><strong><strong><strong><strong><strong><a href=\"https:\/\/arc.dev\/hire-developers\/ai\">Hire an AI developer<\/a> | <\/strong><\/strong><\/strong><\/strong><\/strong>Browse experts in generative AI, LLM, and OpenAI<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitClear analyzes AI&#8217;s influence on code quality, examining over 153 million lines of code from 2020 to 2023. Highlighting key shifts in code churn, duplication, and age, it explores the impact of AI tools like GitHub Copilot on programming practices. This report delves into the challenges and implications for future coding standards, stimulating discussion on maintaining code quality in AI.<\/p>\n","protected":false},"author":4,"featured_media":2299,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-2295","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-insights"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI - Arc Talent Career Blog<\/title>\n<meta name=\"description\" content=\"GitClear&#039;s study on AI code impact: code churn, duplication, and quality trends in programming.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI - Arc Talent Career Blog\" \/>\n<meta property=\"og:description\" content=\"GitClear&#039;s study on AI code impact: code churn, duplication, and quality trends in programming.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Arc Talent Career Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/arcdotdev\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/arcdotdev\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-24T09:03:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-17T03:16:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/arc.dev\/talent-blog\/wp-content\/uploads\/2024\/01\/How-to-Create-a-Software-Development-Workflow.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1128\" \/>\n\t<meta property=\"og:image:height\" content=\"635\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Arc Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@arcdotdev\" \/>\n<meta name=\"twitter:site\" content=\"@arcdotdev\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Arc Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/\"},\"author\":{\"name\":\"Arc Team\",\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/#\\\/schema\\\/person\\\/5ab8d561ed1c4df83cf67128a502da7f\"},\"headline\":\"Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI\",\"datePublished\":\"2024-01-24T09:03:27+00:00\",\"dateModified\":\"2024-04-17T03:16:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/\"},\"wordCount\":1686,\"publisher\":{\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/How-to-Create-a-Software-Development-Workflow.png\",\"articleSection\":[\"Insights\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/\",\"url\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/\",\"name\":\"Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI - Arc Talent Career Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/How-to-Create-a-Software-Development-Workflow.png\",\"datePublished\":\"2024-01-24T09:03:27+00:00\",\"dateModified\":\"2024-04-17T03:16:34+00:00\",\"description\":\"GitClear's study on AI code impact: code churn, duplication, and quality trends in programming.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/#primaryimage\",\"url\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/How-to-Create-a-Software-Development-Workflow.png\",\"contentUrl\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/How-to-Create-a-Software-Development-Workflow.png\",\"width\":1128,\"height\":635},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/impact-of-ai-on-code\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/#website\",\"url\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/\",\"name\":\"Arc Talent Career Blog\",\"description\":\"Tech insights and career advice for developers worldwide\",\"publisher\":{\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/#organization\",\"name\":\"Arc.dev\",\"url\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/arc.dev\\\/developer-blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Arc-alternate-logo.png\",\"contentUrl\":\"https:\\\/\\\/arc.dev\\\/developer-blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Arc-alternate-logo.png\",\"width\":512,\"height\":512,\"caption\":\"Arc.dev\"},\"image\":{\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/arcdotdev\",\"https:\\\/\\\/x.com\\\/arcdotdev\",\"https:\\\/\\\/www.instagram.com\\\/arcdotdev\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/arcdotdev\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/Arcdotdev\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/#\\\/schema\\\/person\\\/5ab8d561ed1c4df83cf67128a502da7f\",\"name\":\"Arc Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0ede409fa33fc8968402c9e39b820b22e501e28ec7700d038eedfc80652d3aa?s=96&d=mm&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0ede409fa33fc8968402c9e39b820b22e501e28ec7700d038eedfc80652d3aa?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0ede409fa33fc8968402c9e39b820b22e501e28ec7700d038eedfc80652d3aa?s=96&d=mm&r=pg\",\"caption\":\"Arc Team\"},\"description\":\"The Arc team provides articles and expert advice on tech careers and remote work. From helping beginners land their first junior role to supporting remote workers facing challenges at home or guiding mid-level professionals toward leadership, Arc covers it all!\",\"sameAs\":[\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/\",\"https:\\\/\\\/www.facebook.com\\\/arcdotdev\",\"https:\\\/\\\/www.instagram.com\\\/arcdotdev\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/arcdotdev\",\"https:\\\/\\\/x.com\\\/arcdotdev\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/Arcdotdev\"],\"url\":\"https:\\\/\\\/arc.dev\\\/talent-blog\\\/author\\\/arcteam\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI - Arc Talent Career Blog","description":"GitClear's study on AI code impact: code churn, duplication, and quality trends in programming.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/","og_locale":"en_US","og_type":"article","og_title":"Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI - Arc Talent Career Blog","og_description":"GitClear's study on AI code impact: code churn, duplication, and quality trends in programming.","og_url":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/","og_site_name":"Arc Talent Career Blog","article_publisher":"https:\/\/www.facebook.com\/arcdotdev","article_author":"https:\/\/www.facebook.com\/arcdotdev","article_published_time":"2024-01-24T09:03:27+00:00","article_modified_time":"2024-04-17T03:16:34+00:00","og_image":[{"width":1128,"height":635,"url":"https:\/\/arc.dev\/talent-blog\/wp-content\/uploads\/2024\/01\/How-to-Create-a-Software-Development-Workflow.png","type":"image\/png"}],"author":"Arc Team","twitter_card":"summary_large_image","twitter_creator":"@arcdotdev","twitter_site":"@arcdotdev","twitter_misc":{"Written by":"Arc Team","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/#article","isPartOf":{"@id":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/"},"author":{"name":"Arc Team","@id":"https:\/\/arc.dev\/talent-blog\/#\/schema\/person\/5ab8d561ed1c4df83cf67128a502da7f"},"headline":"Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI","datePublished":"2024-01-24T09:03:27+00:00","dateModified":"2024-04-17T03:16:34+00:00","mainEntityOfPage":{"@id":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/"},"wordCount":1686,"publisher":{"@id":"https:\/\/arc.dev\/talent-blog\/#organization"},"image":{"@id":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/#primaryimage"},"thumbnailUrl":"https:\/\/arc.dev\/talent-blog\/wp-content\/uploads\/2024\/01\/How-to-Create-a-Software-Development-Workflow.png","articleSection":["Insights"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/","url":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/","name":"Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI - Arc Talent Career Blog","isPartOf":{"@id":"https:\/\/arc.dev\/talent-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/#primaryimage"},"image":{"@id":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/#primaryimage"},"thumbnailUrl":"https:\/\/arc.dev\/talent-blog\/wp-content\/uploads\/2024\/01\/How-to-Create-a-Software-Development-Workflow.png","datePublished":"2024-01-24T09:03:27+00:00","dateModified":"2024-04-17T03:16:34+00:00","description":"GitClear's study on AI code impact: code churn, duplication, and quality trends in programming.","breadcrumb":{"@id":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/#primaryimage","url":"https:\/\/arc.dev\/talent-blog\/wp-content\/uploads\/2024\/01\/How-to-Create-a-Software-Development-Workflow.png","contentUrl":"https:\/\/arc.dev\/talent-blog\/wp-content\/uploads\/2024\/01\/How-to-Create-a-Software-Development-Workflow.png","width":1128,"height":635},{"@type":"BreadcrumbList","@id":"https:\/\/arc.dev\/talent-blog\/impact-of-ai-on-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/arc.dev\/talent-blog\/"},{"@type":"ListItem","position":2,"name":"Humans do it better: GitClear analyzes 153M lines of code, finds risks of AI"}]},{"@type":"WebSite","@id":"https:\/\/arc.dev\/talent-blog\/#website","url":"https:\/\/arc.dev\/talent-blog\/","name":"Arc Talent Career Blog","description":"Tech insights and career advice for developers worldwide","publisher":{"@id":"https:\/\/arc.dev\/talent-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/arc.dev\/talent-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/arc.dev\/talent-blog\/#organization","name":"Arc.dev","url":"https:\/\/arc.dev\/talent-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/arc.dev\/talent-blog\/#\/schema\/logo\/image\/","url":"https:\/\/arc.dev\/developer-blog\/wp-content\/uploads\/2021\/11\/Arc-alternate-logo.png","contentUrl":"https:\/\/arc.dev\/developer-blog\/wp-content\/uploads\/2021\/11\/Arc-alternate-logo.png","width":512,"height":512,"caption":"Arc.dev"},"image":{"@id":"https:\/\/arc.dev\/talent-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/arcdotdev","https:\/\/x.com\/arcdotdev","https:\/\/www.instagram.com\/arcdotdev\/","https:\/\/www.linkedin.com\/company\/arcdotdev","https:\/\/www.youtube.com\/c\/Arcdotdev"]},{"@type":"Person","@id":"https:\/\/arc.dev\/talent-blog\/#\/schema\/person\/5ab8d561ed1c4df83cf67128a502da7f","name":"Arc Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a0ede409fa33fc8968402c9e39b820b22e501e28ec7700d038eedfc80652d3aa?s=96&d=mm&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/a0ede409fa33fc8968402c9e39b820b22e501e28ec7700d038eedfc80652d3aa?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a0ede409fa33fc8968402c9e39b820b22e501e28ec7700d038eedfc80652d3aa?s=96&d=mm&r=pg","caption":"Arc Team"},"description":"The Arc team provides articles and expert advice on tech careers and remote work. From helping beginners land their first junior role to supporting remote workers facing challenges at home or guiding mid-level professionals toward leadership, Arc covers it all!","sameAs":["https:\/\/arc.dev\/talent-blog\/","https:\/\/www.facebook.com\/arcdotdev","https:\/\/www.instagram.com\/arcdotdev\/","https:\/\/www.linkedin.com\/company\/arcdotdev","https:\/\/x.com\/arcdotdev","https:\/\/www.youtube.com\/c\/Arcdotdev"],"url":"https:\/\/arc.dev\/talent-blog\/author\/arcteam\/"}]}},"_links":{"self":[{"href":"https:\/\/arc.dev\/talent-blog\/wp-json\/wp\/v2\/posts\/2295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arc.dev\/talent-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arc.dev\/talent-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arc.dev\/talent-blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/arc.dev\/talent-blog\/wp-json\/wp\/v2\/comments?post=2295"}],"version-history":[{"count":0,"href":"https:\/\/arc.dev\/talent-blog\/wp-json\/wp\/v2\/posts\/2295\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arc.dev\/talent-blog\/wp-json\/wp\/v2\/media\/2299"}],"wp:attachment":[{"href":"https:\/\/arc.dev\/talent-blog\/wp-json\/wp\/v2\/media?parent=2295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arc.dev\/talent-blog\/wp-json\/wp\/v2\/categories?post=2295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arc.dev\/talent-blog\/wp-json\/wp\/v2\/tags?post=2295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}