Java-repository study: agentic AI coincides with more code, not fewer architectural smells
state: seedheat: mediumuncertainty: mediumrelevance: highagentic-coding software-quality empirical-researchOliver Aleksander LarsenMahyar T. Moghaddam
What is this?
An arXiv study by Oliver Aleksander Larsen and Mahyar T. Moghaddam examines 151 open-source Java repositories: 74 with detectable agentic-AI adoption and 77 propensity-matched controls, observed over 13 months in 1,811 monthly snapshots. Using a staggered difference-in-differences design, the authors report 12.8% growth in lines of code and essentially unchanged architectural-smell counts (+1.1%, p=0.82); smell density fell 6.7%, which they attribute to the larger codebase rather than fewer smells. This is a preprint, and adoption was inferred from repository configuration files and commit trailers.
Why it matters
This study offers a useful caution for evaluating AI-assisted software development: a lower architectural-smell rate does not necessarily mean cleaner architecture if the codebase has grown. The authors report that repositories with detectable agentic-AI adoption added lines of code without a statistically detectable reduction in total smells. For teams choosing or assessing coding agents, it argues for tracking absolute quality measures alongside normalized ones. The evidence is a single preprint study of 151 open-source Java repositories, and its adoption measure relies on observable repository signals, so it does not establish effects across all developers, languages, or ways of using agents.
Current assessment
The arXiv preprint by Oliver Aleksander Larsen and Mahyar T. Moghaddam reports a causal analysis of 151 open-source Java repositories: 74 classified as having detectable agentic-AI adoption from configuration files and Co-Authored-By commit trailers, and 77 propensity-matched controls. Across 1,811 monthly snapshots over 13 months per repository, the authors use staggered difference-in-differences with the Borusyak imputation estimator. They report lines of code rising 12.8% (p=0.003), total architectural-smell counts changing by only +1.1% (p=0.82), and smell density falling 6.7% (p=0.004); they interpret the density result as a denominator effect, not architectural improvement. The abstract reports flat pre-trends (Wald p=0.90) and robustness checks, and says a replication package is public. This is a new architecture-level contribution and a methodological warning: when adoption changes system size, density alone can mislead. Treat the causal interpretation as provisional: this is one preprint, limited to Java open-source projects, and repository signals may miss or misclassify adoption. The supplied search results also surface a separate report about coding-agent productivity; its claims concern another study and should not be conflated with these findings.
Measured heat
now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 4057h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion
How the heat travelled
Evidence (2) — ⭐ canonical anchor
| source | object | author | score | comments |
| 🟧 hn | Mining Architectural Quality Under Agentic AI AdoptionRetrieved article excerptOpen article · Retrieved 2026-10-21T15:28:22.090248+00:00 # Computer Science > Software Engineering
**arXiv:2606.13298** (cs)
[Submitted on 11 Jun 2026]
# Title:Mining Architectural Quality Under Agentic AI Adoption: A Causal Study of Java Repositories
Authors:[Oliver Aleksander Larsen](https://arxiv.org/search/cs?searchtype=author&query=Larsen,+O+A), [Mahyar T. Moghaddam](https://arxiv.org/search/cs?searchtype=author&query=Moghaddam,+M+T)
View a PDF of the paper titled Mining Architectural Quality Under Agentic AI Adoption: A Causal Study of Java Repositories, by Oliver Aleksander Larsen and 1 other authors
[View PDF](https://arxiv.org/pdf/2606.13298)
[HTML (experimental)](https://arxiv.org/html/2606.13298v1)
> Abstract:AI coding tools are now used by a majority of developers, and agentic use of these tools has popularized the practice colloquially called "vibe coding". Yet causal evidence on their effect on software architecture is scarce. Prior causal work has measured code-level outcomes (complexity, static analysis warnings); whether such degradation propagates to architecture-level outcomes remains unknown. We mine 151 open-source Java repositories, 74 with detectable agentic AI adoption (identified via configuration files and Co-Authored-By commit trailers) and 77 propensity-matched controls, across a 13-month per-repository window yielding 1,811 monthly Arcan snapshots. We estimate the causal effect of adoption on architectural smell density (ASD) with a staggered difference-in-differences design and the Borusyak imputation estimator, applying a causal design recently used for code-level metrics to the architecture level. Total smell counts are essentially unchanged (+1.1%, p = 0.82) while lines of code grow +12.8% (p = 0.003); the resulting 6.7% ASD decline (p = 0.004) is therefore a denominator effect rather than an architectural improvement. Per-type estimates and robustness checks (wild cluster bootstrap, Lee bounds, stale-observation sensitivity) corroborate the pattern; pre-trends are flat (Wald p = 0.90), consistent with parallel trends. Density-normalized outcomes can mislead when treatment affects system size: raw counts and explicit decomposition are required for causal mining studies of AI tool adoption. The complete replication package, including the curated 151-repository monthly panel, is publicly available.
| |
| --- |
| Comments: |
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | [arXiv:2606.13298](https://arxiv.org/abs/2606.13298) [cs.SE] |
| | (or [arXiv:2606.13298v1](https://arxiv.org/abs/2606.13298v1) [cs.SE] for this version) |
| | <https://doi.org/10.48550/arXiv.2606.13298> Focus to learn more arXiv-issued DOI via DataCite |
## Submission history
From: Oliver Larsen [[view email](https://arxiv.org/show-email/60004edd/2606.13298)]
**[v1]**
Thu, 11 Jun 2026 12:50:36 UTC (52 KB)
Full-text links:
## Access Paper:
View a PDF of the paper titled Mining Architectural Quality Under Agentic AI Adoption: A Causal Study of Java Repositories, by Oliver Aleksander Larsen and 1 other authors
- [View PDF](https://arxiv.org/pdf/2606.13298)
- [HTML (experimental)](https://arxiv.org/html/2606.13298v1)
- [TeX Source](https://arxiv.org/src/2606.13298)
[view license](http://arxiv.org/licenses/nonexclusive-distrib/1.0/ "Rights to this article")
### Additional Features
- [Audio Summary](https://arxiv.org/audio/2606.13298)
### Current browse context:
cs.SE
[< prev](https://arxiv.org/prevnext?id=2606.13298&function=prev&context=cs.SE "previous in cs.SE (accesskey p)")
|
[next >](https://arxiv.org/prevnext?id=2606.13298&function=next&context=cs.SE "next in cs.SE (accesskey n)")
[new](https://arxiv.org/list/cs.SE/new)
|
[recent](https://arxiv.org/list/cs.SE/recent)
| [2026-06](https://arxiv.org/list/cs.SE/2026-06)
Change to browse by:
[cs](https://arxiv.org/abs/2606.13298?context=cs)
[cs.AI](https://arxiv.org/abs/2606.13298?context=cs.AI)
### References & Citations
- [SciX](https://scixplorer.org/abs/arXiv:2606.13298)
- [Google Scholar](https://scholar.google.com/scholar_lookup?arxiv_id=2606.13298)
- [Semantic Scholar](https://api.semanticscholar.org/arXiv:2606.13298)
export BibTeX citation
Loading...
## BibTeX formatted citation
×
loading...
Data provided by:
### Bookmark
[BibSonomy](http://www.bibsonomy.org/BibtexHandler?requTask=upload&url=https://arxiv.org/abs/2606.13298&description=Mining Architectural Quality Under Agentic AI Adoption: A Causal Study of Java Repositories "Bookmark on BibSonomy")
[Reddit](https://reddit.com/submit?url=https://arxiv.org/abs/2606.13298&title=Mining Architectural Quality Under Agentic AI Adoption: A Causal Study of Java Repositories "Bookmark on Reddit")
Bibliographic Tools
# Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer *([What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))*
Connected Papers Toggle
Connected Papers *([What is Connected Papers?](https://www.connectedpapers.com/about))*
Litmaps Toggle
Litmaps *([What is Litmaps?](https://www.litmaps.co/))*
scite.ai Toggle
scite Smart Citations *([What are Smart Citations?](https://www.scite.ai/))*
Code, Data, Media
# Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv *([What is alphaXiv?](https://alphaxiv.org/))*
Links to Code Toggle
CatalyzeX Code Finder for Papers *([What is CatalyzeX?](https://www.catalyzex.com))*
DagsHub Toggle
DagsHub *([What is DagsHub?](https://dagshub.com/))*
GotitPub Toggle
Gotit.pub *([What is GotitPub?](http://gotit.pub/faq))*
Huggingface Toggle
Hugging Face *([What is Huggingface?](https://huggingface.co/huggingface))*
ScienceCast Toggle
ScienceCast *([What is ScienceCast?](https://sciencecast.org/welcome))*
Demos
# Demos
Replicate Toggle
Replicate *([What is Replicate?](https://replicate.com/docs/arxiv/about))*
Spaces Toggle
Hugging Face Spaces *([What is Spaces?](https://huggingface.co/docs/hub/spaces))*
Spaces Toggle
TXYZ.AI *([What is TXYZ.AI?](https://txyz.ai))*
Related Papers
# Recommenders and Search Tools
Link to Influence Flower
Influence Flower *([What are Influence Flowers?](https://influencemap.cmlab.dev/))*
Core recommender toggle
CORE Recommender *([What is CORE?](https://core.ac.uk/services/recommender))*
- Author
- Venue
- Institution
- Topic
About arXivLabs
# arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? [**Learn more about arXivLabs**](https://info.arxiv.org/labs/index.html).
[Which authors of this paper are endorsers?](https://arxiv.org/auth/show-endorsers/2606.13298) |
Disable MathJax ([What is MathJax?](https://info.arxiv.org/help/mathjax.html)) | Tommkruix123 | 2 | 0 |
| 🟧 echo.paper ⭐ | A causal study of 151 open-source Java repositories reports essentially unchanged total architectural-smell counts alongside 12.8% lines-of- | Oliver Aleksander Larsen and Mahyar T. Moghaddam | — | — |
Interpretation history
2026-10-23T23:23:46Z
audience grounding: high — This study offers a useful caution for evaluating AI-assisted software development: a lower architectural-smell rate does not necessarily mean cleaner architecture if the codebase has grown. The authors report that repositories with detectable agentic-AI adoption added lines of code without a statistically detectable reduction in total smells. For teams choosing or assessing coding agents, it argues for tracking absolute quality measures alongside normalized ones. The evidence is a single preprint study of 151 open-source Java repositories, and its adoption measure relies on observable repository signals, so it does not establish effects across all developers, languages, or ways of using agents.
Decision trace
- 11-18 22:21review_dormantscheduled targets exhausted or 28 quiet days
- 11-18 22:21drop_targetsquiet through full ladder or over cap 8
- 10-24 10:23groundThis study offers a useful caution for evaluating AI-assisted software development: a lower architectural-smell rate does not necessarily mean cleaner architecture if the codebase has grown. The autho
- 10-22 02:30attention_candidatecreate
- 10-22 02:29createThe paper addresses a consequential question about AI-assisted software quality and supplies a concrete, qualified result, though it is one study of Java repositories.