Work

A Causal Perspective on Measuring, Explaining and Mitigating Smells in LLM-Generated Code

Year: 2026
Type: conference-paper
Abstract: Recent advances in large language models (LLMs) have accelerated their adoption in software engineering contexts. However, concerns persist about the structural quality of the code they produce. In particular, LLMs often replicate poor coding practices, introducing code smells (i.e., patterns that hinder readability, maintainability, or design integrity). Although prior research has examined the detection or repair of smells, we still lack a clear understanding of how and when these issues emerge in generated code.
Authors: Alejandro Velasco, Daniel Rodriguez-Cardenas, Dipin Khati, David N. Palacio, Lutfar Rahman Alif, Denys Poshyvanyk
Open Access status: hybrid
OpenAlex ID: W7106254141
FWCI:
Cites:
Cited by:
Related to: