Leveraging Large Language Models for Detecting and Managing Software Antipatterns Throughout the Software Lifecycle


Abstract:

Antipatterns are common, flawed solutions to recurring problems in software design and implementation. These structural problems can lead to issues in software scalability, maintainability, and performance. This paper explores the application of Large Language Models (LLMs) in the detection, prevention, and refactoring of software antipatterns across the software lifecycle. By using LLMs to analyze codebases, design patterns, and architectural models, we demonstrate how these models can effectively detect common antipatterns such as God Object, Feature Envy, and Primitive Obsession. Furthermore, we explore how LLMs can aid in suggesting refactoring and guide developers towards more sustainable and scalable designs. We present use cases, discuss current challenges, and highlight future research directions in applying LLMs to improve software quality.

Año de publicación:

2026

Keywords:

  • Artificial intelligence
  • LLMs
  • Software security

Fuente:

scopusscopus
orcidorcid

Tipo de documento:

Other

Estado:

Acceso restringido

Áreas de conocimiento:

  • Ingeniería de software
  • Software
  • Software

Áreas temáticas de Dewey:

  • Métodos informáticos especiales
  • Programación informática, programas, datos, seguridad
  • Ciencias de la computación
Procesado con IAProcesado con IA

Objetivos de Desarrollo Sostenible:

  • ODS 12: Producción y consumo responsables
  • ODS 15: Vida de ecosistemas terrestres
  • ODS 9: Industria, innovación e infraestructura
Procesado con IAProcesado con IA