liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Quality assurance of LLM-generated code: Addressing non-functional quality characteristics
Linköping University, Department of Computer and Information Science, Software and Systems. Linköping University, Faculty of Science & Engineering.
Linköping University, Department of Computer and Information Science, Software and Systems. Linköping University, Faculty of Science & Engineering.
Linköping University, Department of Computer and Information Science, Software and Systems. Linköping University, Faculty of Science & Engineering.ORCID iD: 0000-0002-3052-5604
Linköping University, Department of Computer and Information Science, Software and Systems. Linköping University, Faculty of Science & Engineering.ORCID iD: 0000-0001-5241-0026
2026 (English)In: Journal of Systems and Software, ISSN 0164-1212, E-ISSN 1873-1228, Vol. 238, article id 112885Article in journal (Refereed) Published
Abstract [en]

In recent years, large language models have been widely integrated into software engineering workflows, supporting tasks like code generation. While prior evaluations focus on functional correctness, there is still a limited understanding of the non-functional quality characteristics of generated code. Guided by the ISO/IEC 25010 quality model, this study adopts a multi-methods approach comprising three complementary elements: a literature review of 109 papers, two industry workshops with practitioners from multiple organizations, and an empirical analysis of patching real-world software issues using three LLMs. Motivated by insights from both the literature and practitioners, the empirical study examined the quality of generated patches regarding security, maintainability, and performance efficiency, which were identified as critical code-level quality attributes. Our results indicate that existing research primarily emphasizes security, performance efficiency, and maintainability, while other quality attributes are understudied. In contrast, practitioners prioritize maintainability and readability, warning that generated code may accelerate the accumulation of technical debt. The empirical evaluation demonstrates the instability of optimizing NFQCs through prompts in practical software engineering settings. Overall, our findings expose a misalignment between academic focus, industry priorities, and observed model behavior, highlighting the need to integrate quality assurance mechanisms into LLM code generation pipelines to ensure that future generated code not only passes tests but truly passes with quality.

Place, publisher, year, edition, pages
ELSEVIER SCIENCE INC , 2026. Vol. 238, article id 112885
Keywords [en]
LLM-generated code; Code generation; Non-functional quality characteristics; Maintainability; Security; Performance efficiency
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:liu:diva-223337DOI: 10.1016/j.jss.2026.112885ISI: 001740113500001Scopus ID: 2-s2.0-105034745932OAI: oai:DiVA.org:liu-223337DiVA, id: diva2:2056179
Note

Funding Agencies|Software Center project 61; Vinnova Competence Center for Continuous Digitalization [2023-00546]

Available from: 2026-04-28 Created: 2026-04-28 Last updated: 2026-06-27

Open Access in DiVA

fulltext(4048 kB)102 downloads
File information
File name FULLTEXT01.pdfFile size 4048 kBChecksum SHA-512
73cd31ae26ce01754ecedee8de9f672451db4e1af58efab5a7aae831d5aa69a0fc5ce0c1728e50f30426ffc1daed78ec29aca9888762dadaff11d9e2eae1b23f
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Search in DiVA

By author/editor
Sun, XinStåhl, DanielSandahl, KristianKessler, Christoph
By organisation
Software and SystemsFaculty of Science & Engineering
In the same journal
Journal of Systems and Software
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 102 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 68 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf