Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Quality Assessment of LLM-Generated Multi-Language Systems: Comparative Analysis Using Design Smells

View through CrossRef
Abstract Large Language Models (LLMs) are increasingly used to generate source code, including software that integrates multiple programming languages. While prior research has examined correctness and security aspects of LLM-generated code, little is known about its structural quality in multi-language settings, particularly with respect to cross-language design smells. Multi-language systems, such as those based on the Java Native Interface (JNI), introduce additional architectural complexity due to the need for coordination across language boundaries.In this paper, we present an exploratory empirical study investigating the prevalence and distribution of multi-language design smells in LLM-generated codes. We design a set of 80 JNI-based programming tasks covering 16 multi-language smells and generate implementations using four state-of-the-art LLMs: ChatGPT-5.2 , Claude Sonnet 4.6 , Gemini 3.1 pro , and Qwen3-Coder . The generated code is analyzed using a rule-based detection framework to identify the presence and distribution of multli-language design smells.Our results show that multi-language design smells are prevalent across all models, with up to 60% of generated implementations containing at least one smell. We observe significant variation across both models and smell types. Some smells occur consistently across all LLMs, suggesting shared structural tendencies, while others exhibit strong model-dependent behavior. These findings indicate that structural deficiencies in LLM-generated multi-language code are systematic and not uniformly distributed.Overall, this study highlights that architectural quality remains an underexplored dimension of LLM-based code generation, particularly in multi-language contexts. The results suggest that existing evaluation practices, which focus primarily on correctness, may overlook important structural issues. We argue for the need to incorporate multi-language structural quality assessment into future evaluation frameworks for LLM-generated codes.
Springer Science and Business Media LLC
Title: Quality Assessment of LLM-Generated Multi-Language Systems: Comparative Analysis Using Design Smells
Description:
Abstract Large Language Models (LLMs) are increasingly used to generate source code, including software that integrates multiple programming languages.
While prior research has examined correctness and security aspects of LLM-generated code, little is known about its structural quality in multi-language settings, particularly with respect to cross-language design smells.
Multi-language systems, such as those based on the Java Native Interface (JNI), introduce additional architectural complexity due to the need for coordination across language boundaries.
In this paper, we present an exploratory empirical study investigating the prevalence and distribution of multi-language design smells in LLM-generated codes.
We design a set of 80 JNI-based programming tasks covering 16 multi-language smells and generate implementations using four state-of-the-art LLMs: ChatGPT-5.
2 , Claude Sonnet 4.
6 , Gemini 3.
1 pro , and Qwen3-Coder .
The generated code is analyzed using a rule-based detection framework to identify the presence and distribution of multli-language design smells.
Our results show that multi-language design smells are prevalent across all models, with up to 60% of generated implementations containing at least one smell.
We observe significant variation across both models and smell types.
Some smells occur consistently across all LLMs, suggesting shared structural tendencies, while others exhibit strong model-dependent behavior.
These findings indicate that structural deficiencies in LLM-generated multi-language code are systematic and not uniformly distributed.
Overall, this study highlights that architectural quality remains an underexplored dimension of LLM-based code generation, particularly in multi-language contexts.
The results suggest that existing evaluation practices, which focus primarily on correctness, may overlook important structural issues.
We argue for the need to incorporate multi-language structural quality assessment into future evaluation frameworks for LLM-generated codes.

Related Results

Hubungan Perilaku Pola Makan dengan Kejadian Anak Obesitas
Hubungan Perilaku Pola Makan dengan Kejadian Anak Obesitas
<p><em><span style="font-size: 11.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-langua...
Software Metric Based Impact Analysis of Code Smells ‐ A Large Scale Empirical Study
Software Metric Based Impact Analysis of Code Smells ‐ A Large Scale Empirical Study
ABSTRACTContextCode smells are indicators of poor design and implementation choices that negatively affect software quality and maintainability. Moreover, it is difficult and time‐...
Exploring Large Language Models Integration in the Histopathologic Diagnosis of Skin Diseases: A Comparative Study
Exploring Large Language Models Integration in the Histopathologic Diagnosis of Skin Diseases: A Comparative Study
Abstract Introduction The exact manner in which large language models (LLMs) will be integrated into pathology is not yet fully comprehended. This study examines the accuracy, bene...
Exploring Test Smells Across Programming Languages: A Systematic Mapping Study
Exploring Test Smells Across Programming Languages: A Systematic Mapping Study
Tests are essential for ensuring code quality in software development. However, poor implementation practices can compromise the maintainability and evolution of test code, leading...
Primerjalna književnost na prelomu tisočletja
Primerjalna književnost na prelomu tisočletja
In a comprehensive and at times critical manner, this volume seeks to shed light on the development of events in Western (i.e., European and North American) comparative literature ...
Test smells 20 years later: detectability, validity, and reliability
Test smells 20 years later: detectability, validity, and reliability
AbstractTest smells aim to capture design issues in test code that reduces its maintainability. These have been extensively studied and generally found quite prevalent in both huma...
Učinak poučavanja razrednomu jeziku u izobrazbi nastavnika njemačkoga
Učinak poučavanja razrednomu jeziku u izobrazbi nastavnika njemačkoga
The actual use of classroom language is principally limited to the classroom environment. As far as foreign language learning is concerned, the classroom often turns out to be the ...
Fixing Dockerfile smells: an empirical study
Fixing Dockerfile smells: an empirical study
AbstractDocker is the de facto standard for software containerization. A Dockerfile contains the requirements to build a Docker image containing a target application. There are sev...

Back to Top