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.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

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

  • Roberto Andrade,
  • Jenny Torres,
  • Pamela Flores,
  • Denis Araque,
  • Johanna Molina

摘要

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.