Table of Contents
Fetching ...

A Survey on Large Language Model Impact on Software Evolvability and Maintainability: the Good, the Bad, the Ugly, and the Remedy

Bruno Claudino Matias, Savio Freire, Juliana Freitas, Felipe Fronchetti, Kostadin Damevski, Rodrigo Spinola

TL;DR

This systematic literature review analyzes how large language models affect software maintainability and evolvability, synthesizing evidence from 87 primary studies across 2020–2024. It identifies five positive impact themes, diverse risks, and structural weaknesses intrinsic to LLMs, and it proposes a set of mitigation strategies centered on human-in-the-loop interaction, rigorous evaluation, and post-generation quality assurance. The study reveals a tension between short-term usability gains and long-term architectural stability, highlighting the need for socio-technical governance and robust methodologies to manage LLM-enabled software evolution. Overall, LLMs can strengthen sustainability when integrated with careful design, validation, and ongoing oversight that mitigates hallucinations, bias, and technical debt.

Abstract

Context. Large Language Models (LLMs) are increasingly embedded in software engineering workflows for tasks including code generation, summarization, repair, and testing. Empirical studies report productivity gains, improved comprehension, and reduced cognitive load. However, evidence remains fragmented, and concerns persist about hallucinations, unstable outputs, methodological limitations, and emerging forms of technical debt. How these mixed effects shape long-term software maintainability and evolvability remains unclear. Objectives. This study systematically examines how LLMs influence the maintainability and evolvability of software systems. We identify which quality attributes are addressed in existing research, the positive impacts LLMs provide, the risks and weaknesses they introduce, and the mitigation strategies proposed in the literature. Method. We conducted a systematic literature review. Searches across ACM DL, IEEE Xplore, and Scopus (2020 to 2024) yielded 87 primary studies. Qualitative evidence was extracted through a calibrated multi-researcher process. Attributes were analyzed descriptively, while impacts, risks, weaknesses, and mitigation strategies were synthesized using a hybrid thematic approach supported by an LLM-assisted analysis tool with human-in-the-loop validation. Results. LLMs provide benefits such as improved analyzability, testability, code comprehension, debugging support, and automated repair. However, they also introduce risks, including hallucinated or incorrect outputs, brittleness to context, limited domain reasoning, unstable performance, and flaws in current evaluations, which threaten long-term evolvability. Conclusion. LLMs can strengthen maintainability and evolvability, but they also pose nontrivial risks to long-term sustainability. Responsible adoption requires safeguards, rigorous evaluation, and structured human oversight.

A Survey on Large Language Model Impact on Software Evolvability and Maintainability: the Good, the Bad, the Ugly, and the Remedy

TL;DR

This systematic literature review analyzes how large language models affect software maintainability and evolvability, synthesizing evidence from 87 primary studies across 2020–2024. It identifies five positive impact themes, diverse risks, and structural weaknesses intrinsic to LLMs, and it proposes a set of mitigation strategies centered on human-in-the-loop interaction, rigorous evaluation, and post-generation quality assurance. The study reveals a tension between short-term usability gains and long-term architectural stability, highlighting the need for socio-technical governance and robust methodologies to manage LLM-enabled software evolution. Overall, LLMs can strengthen sustainability when integrated with careful design, validation, and ongoing oversight that mitigates hallucinations, bias, and technical debt.

Abstract

Context. Large Language Models (LLMs) are increasingly embedded in software engineering workflows for tasks including code generation, summarization, repair, and testing. Empirical studies report productivity gains, improved comprehension, and reduced cognitive load. However, evidence remains fragmented, and concerns persist about hallucinations, unstable outputs, methodological limitations, and emerging forms of technical debt. How these mixed effects shape long-term software maintainability and evolvability remains unclear. Objectives. This study systematically examines how LLMs influence the maintainability and evolvability of software systems. We identify which quality attributes are addressed in existing research, the positive impacts LLMs provide, the risks and weaknesses they introduce, and the mitigation strategies proposed in the literature. Method. We conducted a systematic literature review. Searches across ACM DL, IEEE Xplore, and Scopus (2020 to 2024) yielded 87 primary studies. Qualitative evidence was extracted through a calibrated multi-researcher process. Attributes were analyzed descriptively, while impacts, risks, weaknesses, and mitigation strategies were synthesized using a hybrid thematic approach supported by an LLM-assisted analysis tool with human-in-the-loop validation. Results. LLMs provide benefits such as improved analyzability, testability, code comprehension, debugging support, and automated repair. However, they also introduce risks, including hallucinated or incorrect outputs, brittleness to context, limited domain reasoning, unstable performance, and flaws in current evaluations, which threaten long-term evolvability. Conclusion. LLMs can strengthen maintainability and evolvability, but they also pose nontrivial risks to long-term sustainability. Responsible adoption requires safeguards, rigorous evaluation, and structured human oversight.
Paper Structure (32 sections, 2 figures, 4 tables)

This paper contains 32 sections, 2 figures, 4 tables.

Figures (2)

  • Figure 1: Example illustrating the synthesis pipeline from manual quote extraction to LLM-generated codes and themes made by LLM-ThemeCrafter.
  • Figure 2: Followed systematic literature review workflow.