Passer à la navigation principale Passer à la recherche Passer au contenu principal

Specification and Detection of LLM Code Smells

  • Brahim Mahmoudi
  • , Zacharie Chenail-Larcher
  • , Naouel Moha
  • , Quentin Stiévenart
  • , Florent Avellaneda
  • École de technologie supérieure
  • Université du Québec à Montréal

Résultats de recherche: Chapitre dans un livre, rapport, actes de conférenceParticipation à un ouvrage collectif lié à un colloque ou une conférenceRevue par des pairs

Résumé

Large Language Models (LLMs) have gained massive popularity in recent years and are increasingly integrated into software systems for diverse purposes. However, poorly integrating them in source code may undermine software system quality. Yet, to our knowledge, there is no formal catalog of code smells specific to coding practices for LLM inference. In this paper, we introduce the concept of LLM code smells and formalize five recurrent problematic coding practices related to LLM inference in software systems, based on relevant literature. We extend the detection tool SpecDetect4AI to cover the newly defined LLM code smells and use it to validate their prevalence in a dataset of 200 open-source LLM systems. Our results show that LLM code smells affect 60.50% of the analyzed systems, with a detection precision of 86.06%.

langue originaleAnglais
titreProceedings - 2026 IEEE/ACM 48th International Conference on Software Engineering
Sous-titreNew Ideas and Emerging Results, ICSE-NIER 2026
EditeurAssociation for Computing Machinery, Inc
Pages181-185
Nombre de pages5
ISBN (Electronique)9798400724251
Les DOIs
étatPublié - 8 juil. 2026
Evénement48th International Conference on Software Engineering: New Ideas and Emerging Results, ICSE-NIER 2026 - Rio de Janeiro, Brésil
Durée: 12 avr. 202618 avr. 2026

Série de publications

NomProceedings - 2026 IEEE/ACM 48th International Conference on Software Engineering: New Ideas and Emerging Results, ICSE-NIER 2026

Conférence

Conférence48th International Conference on Software Engineering: New Ideas and Emerging Results, ICSE-NIER 2026
Pays/TerritoireBrésil
La villeRio de Janeiro
période12/04/2618/04/26

Empreinte digitale

Voici les principaux termes ou expressions associés à « Specification and Detection of LLM Code Smells ». Ces libellés thématiques sont générés à partir du titre et du résumé de la publication. Ensemble, ils forment une empreinte digitale unique.

Citer cette ressorce