CodeSmellEval is a benchmark for assessing whether code written by language models contains maintainability problems known as code smells. Alejandro Velasco and colleagues introduced it in a paper first posted in December 2024. It complements evaluation based on the functional correctness of generated code.[1]
Maintainability measurements
The benchmark includes a curated collection of method-level smells called CodeSmellData and a score intended to compare how often models produce the specified patterns. Its evaluation concerns code that could be made clearer or easier to maintain, including simplifiable conditions, alongside tests of what the code does.[1]
Reported model comparison
The paper demonstrates CodeSmellEval using CodeLlama and Mistral. Both produced some of the analysed patterns in the authors’ study. This illustrates why a code-generation assessment may report functional performance and code-quality observations separately.[1]
Connections
Covered in
View connections on the graph
References
Revision history
- 2026-11-28 Publish sourced articles and connect reviewed subjects and dated records
58ff02f4b· View changes