ESErlene Santos

Erlene Santos

*This is an algorithmically generated author record based on publicly available information.

Erlene Santos has a total of 3 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Comparing Structural Quality of Code Generated by LLMs: A Static Analysis of Code Smells

    by Eduardo Sousa, Erlene Santos, Alberto Sampaio, Carla Bezerra

    The automation of code generation through Large Language Models (LLMs) has emerged as a promising approach to support software development. However, concerns remain regarding the structural quality of the code produced, particularly the presence of code smells that affect maintainability. This paper presents an empirical study comparing code smells in outputs from four major LLMs: ChatGPT, DeepSeek, Amazon CodeWhisperer, and GitHub Copilot. Our analysis of 64 code units, generated from open-source projects, revealed that 60.9% contained at least one code smell. The results show significant variation, with DeepSeek having the lowest incidence of smells (43.8%) and Amazon CodeWhisperer the highest (68.8%). Long Method was the most frequent smell, constituting 40% of all occurrences. These findings provide empirical evidence of the structural quality differences in LLM-generated code and highlight the need for rigorous, automated quality assurance.