Does AI-Assisted Development Homogenize Software? An Empirical Study of Code Similarity, Quality, and Evolution
Organizations: Université de Montréal, Montréal, Canada · University of York, York, UK · Université de Rennes, Rennes, France
Abstract
AI-assisted software development is evolving from interactive LLM assistance toward agentic systems that autonomously perform software engineering tasks, yet the effects of this shift remain insufficiently understood. We present an empirical study of 50 long-lived Java and Python open-source projects across three eras: pre-LLM, potentially LLM-assisted, and detected agentic development. Using snapshots from Software Heritage, we examine code similarity, software quality, and software evolution. Similarity is measured semantically through embedding-based cosine similarity and syntactically through CodeBLEU*. Quality is assessed with SonarQube metrics covering maintainability, complexity, reliability, and security. Evolution is characterized by annualized growth rates of LOC, functions, classes, files, and statements, and by commit activity in the three months preceding each snapshot. Results show no consistent evidence of increased similarity as semantic and syntactic similarity decreased significantly in Java for both the LLM and agentic eras relative to the pre-LLM era, while Python showed no significant differences. Software quality remained largely stable, although the agentic era showed significantly lower code-smell and SQALE index densities. Structural growth was generally lower in the agentic era, particularly for files, whereas development activity increased moderately in Java, especially in commits and added lines. These findings challenge the assumption that LLM- and agent-assisted development necessarily homogenizes code, degrades quality, or accelerates growth.
Figures & tables
| Metric | Distribution | Min | Q1 | Median | Mean | Q3 | Max | StD. |
| Creation date | 2000-12-01 | 2012-03-16 | 2015-04-12 | 2014-07-04 | 2018-01-06 | 2019-12-06 | 1480 days | |
| Total commits | 1016 | 1916.8 | 3990.5 | 9181.2 | 7517.5 | 65931 | 13551.6 | |
| Unique authors | 17 | 45.5 | 109.5 | 213.0 | 222.5 | 2394 | 361.5 | |
| Core authors | 2 | 4.2 | 9.5 | 19.7 | 17.5 | 169 | 30.2 | |
| Total files count | 85 | 482.2 | 968 | 2685.6 | 2046.2 | 22158 | 4686.5 | |
| Estimated size (MB) | 0.5 | 6.4 | 27.1 | 58.5 | 52.2 | 543.1 | 100.7 |
| Study | Material and time unit | AI evidence needed | Measures |
| Xu et al. (2026) | Research-linked OSS, 2020–2025 corpus | No function labels for temporal corpus | Naming patterns and identifier length; cyclomatic and Halstead complexity; SLOC, comment ratio, and maintainability index; cosine/Jaccard code similarity; reasoning-label match/error |
| He et al. (2026) | OSS histories around Cursor adoption | Observable adoption proxy | Monthly commits and lines added; static-analysis warnings, duplicated-line density, and cognitive complexity |
| Agarwal et al. (2026) | Monthly OSS outcomes around agents | Agent PR traces; prior IDE signals | Monthly commits and lines added; static-analysis warnings, duplicated-line density, comment-line density, and cognitive complexity |
| Fang et al. (2026) | Shared chats and monthly OSS histories | Shared coding conversations | AI-related commit share and churn; chat purposes; commits; bug/fix and bug-issue signals; test-touching commits and CI outcomes; issue/PR activity and resolution times; contributor/review participation and concentration; survey perceptions |
| Shi et al. (2025) | Machine- and human-authored code | Known code provenance | Lexical similarity (token frequency, syntax-element distributions, Zipf/Heaps); conciseness (tokens and lines); naturalness (token log-likelihood/rank); detector performance |
| Guo et al. (2025a) | Generated and paraphrased code | Known generated/paraphrased provenance | Detection performance (F1, TPR at 10% and 1% FPR); robustness across languages, generator models, paraphrasing, and cross-model settings |
AI-Assisted Software Development
AI-assisted software development uses language models and coding agents to help people design, write, test, review, and maintain software.
See all 105 papers