[Paper Review] A Survey on Large Language Model Impact on Software Evolvability and Maintainability: the Good, the Bad, the Ugly, and the Remedy
The paper systematically reviews how LLMs affect software maintainability and evolvability, summarizing benefits, risks, weaknesses, and mitigation strategies through a structured literature synthesis.
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.
Motivation & Objective
- Identify which maintainability and evolvability attributes are addressed by LLM use in software engineering tasks.
- Summarize positive impacts of LLMs on software sustainability (the Good).
- Identify weaknesses and risks of LLMs affecting maintainability and evolvability (the Bad and the Ugly).
- Propose mitigation strategies to address identified weaknesses (the Remedy).
Proposed method
- Conduct a systematic literature review of studies from 2020 to end of 2024 across ACM DL, IEEE Xplore, and Scopus.
- Screen 711 studies to select 87 primary papers for in-depth analysis.
- Apply a calibrated multi-researcher data extraction process with independent coding and adjudication.
- Use a hybrid qualitative synthesis with human-in-the-loop validation and an LLM-assisted analysis tool (ThemeCrafter).
- Ground qualitative coding in ISO/IEC 9126 and Breivold et al. evolvability attributes, with quotes preserved for traceability.
Experimental results
Research questions
- RQ1RQ1: What maintainability and evolvability attributes are addressed by the use of LLMs in software engineering tasks?
- RQ2RQ2: What positive impacts do LLMs provide for software evolvability and maintainability?
- RQ3RQ3: What weaknesses do LLMs exhibit with respect to software evolvability and maintainability?
- RQ4RQ4: What weaknesses exist within LLMs concerning software evolvability and maintainability?
- RQ5RQ5: How can weaknesses of LLMs be mitigated to better support software evolvability and maintainability?
Key findings
- LLMs can enhance analyzability, testability, code comprehension, debugging support, and automated repair effectiveness.
- LLMs introduce risks such as hallucinations, brittle context sensitivity, limited domain reasoning, unstable performance, and evaluation flaws.
- Current evidence highlights structural weaknesses that may threaten long-term evolvability and sustainability.
- Mitigation strategies include hybrid pipelines, human-in-the-loop validation, prompt engineering, and guardrails.
- The study provides a mapping of maintainability and evolvability attributes as they relate to LLM-assisted SE activities.
- A consolidated overview of proposed mitigation strategies is presented to address identified risks and weaknesses.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.