Evaluating Code Quality of AI-generated Mobile Applications : A Comparative Study of React Native and Kotlin Implementations ; Utvärdering av kodkvalitet i AI-genererade mobilapplikationer : En jämförande studie av React Native- och Kotlin-implementeringar

Saved in:
Bibliographic Details
Title: Evaluating Code Quality of AI-generated Mobile Applications : A Comparative Study of React Native and Kotlin Implementations ; Utvärdering av kodkvalitet i AI-genererade mobilapplikationer : En jämförande studie av React Native- och Kotlin-implementeringar
Authors: Wehbi, Nathalia, Jönsson, Axel
Publisher Information: Blekinge Tekniska Högskola, Institutionen för programvaruteknik
Publication Year: 2025
Collection: BTH (Blekinge Institute of Technology): DIVA / Blekinge Tekniska Högskola
Subject Terms: AI-generated code, AI-assisted development, Large Language Models in coding, Code quality, Native and Non-Native applications, Software Engineering, Programvaruteknik
Description: The increasing integration of AI-powered tools in software development raises crucial questions about the quality of the code they generate, particularly in rapidly evolving fields like mobile application development. This study addresses the need for up-to-date evaluations of AI-generated code quality in non-native applications, a gap in current research. To investigate this problem, we conducted an experiment where five prominent AI code generation tools– Gemini Code Assist, GitHub Copilot, ChatGPT, Windsurf IDE, and Deepseek– were prompted to generate code for a chess game in two mobile development frameworks: React Native and Kotlin. This resulted in a comparative analysis of ten AI-generated applications. The quality of the generated code was assessed using software quality metrics, informed by a comprehensive literature review. Our analysis revealed a moderate to high degree of variation across the generated applications in key metrics such as cyclomatic complexity, lines of code, and cognitive complexity. However, the observed results did not provide conclusive evidence to definitively identify a single AI tool as consistently producing the highest quality code across both frameworks. While the study provides valuable insights into the variability of code quality among different AI tools, the findings suggest that further research is necessary to achieve a more comprehensive understanding of the factors influencing the quality of AI-generated code. More in-depth investigation is required to draw definitive conclusions regarding the optimal AI tools for specific development contexts and to explore strategies for consistently generating high-quality code with AI assistance.
Document Type: bachelor thesis
File Description: application/pdf
Language: English
Availability: http://urn.kb.se/resolve?urn=urn:nbn:se:bth-28142
Rights: info:eu-repo/semantics/openAccess
Accession Number: edsbas.18D3C016
Database: BASE
FullText Text:
  Availability: 0
CustomLinks:
  – Url: http://urn.kb.se/resolve?urn=urn:nbn:se:bth-28142#
    Name: EDS - BASE (s4221598)
    Category: fullText
    Text: View record from BASE
  – Url: https://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=EBSCO&SrcAuth=EBSCO&DestApp=WOS&ServiceName=TransferToWoS&DestLinkType=GeneralSearchSummary&Func=Links&author=Wehbi%20N
    Name: ISI
    Category: fullText
    Text: Nájsť tento článok vo Web of Science
    Icon: https://imagesrvr.epnet.com/ls/20docs.gif
    MouseOverText: Nájsť tento článok vo Web of Science
Header DbId: edsbas
DbLabel: BASE
An: edsbas.18D3C016
RelevancyScore: 931
AccessLevel: 3
PubType: Dissertation/ Thesis
PubTypeId: dissertation
PreciseRelevancyScore: 931.3056640625
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Evaluating Code Quality of AI-generated Mobile Applications : A Comparative Study of React Native and Kotlin Implementations ; Utvärdering av kodkvalitet i AI-genererade mobilapplikationer : En jämförande studie av React Native- och Kotlin-implementeringar
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Wehbi%2C+Nathalia%22">Wehbi, Nathalia</searchLink><br /><searchLink fieldCode="AR" term="%22Jönsson%2C+Axel%22">Jönsson, Axel</searchLink>
– Name: Publisher
  Label: Publisher Information
  Group: PubInfo
  Data: Blekinge Tekniska Högskola, Institutionen för programvaruteknik
– Name: DatePubCY
  Label: Publication Year
  Group: Date
  Data: 2025
– Name: Subset
  Label: Collection
  Group: HoldingsInfo
  Data: BTH (Blekinge Institute of Technology): DIVA / Blekinge Tekniska Högskola
– Name: Subject
  Label: Subject Terms
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22AI-generated+code%22">AI-generated code</searchLink><br /><searchLink fieldCode="DE" term="%22AI-assisted+development%22">AI-assisted development</searchLink><br /><searchLink fieldCode="DE" term="%22Large+Language+Models+in+coding%22">Large Language Models in coding</searchLink><br /><searchLink fieldCode="DE" term="%22Code+quality%22">Code quality</searchLink><br /><searchLink fieldCode="DE" term="%22Native+and+Non-Native+applications%22">Native and Non-Native applications</searchLink><br /><searchLink fieldCode="DE" term="%22Software+Engineering%22">Software Engineering</searchLink><br /><searchLink fieldCode="DE" term="%22Programvaruteknik%22">Programvaruteknik</searchLink>
– Name: Abstract
  Label: Description
  Group: Ab
  Data: The increasing integration of AI-powered tools in software development raises crucial questions about the quality of the code they generate, particularly in rapidly evolving fields like mobile application development. This study addresses the need for up-to-date evaluations of AI-generated code quality in non-native applications, a gap in current research. To investigate this problem, we conducted an experiment where five prominent AI code generation tools– Gemini Code Assist, GitHub Copilot, ChatGPT, Windsurf IDE, and Deepseek– were prompted to generate code for a chess game in two mobile development frameworks: React Native and Kotlin. This resulted in a comparative analysis of ten AI-generated applications. The quality of the generated code was assessed using software quality metrics, informed by a comprehensive literature review. Our analysis revealed a moderate to high degree of variation across the generated applications in key metrics such as cyclomatic complexity, lines of code, and cognitive complexity. However, the observed results did not provide conclusive evidence to definitively identify a single AI tool as consistently producing the highest quality code across both frameworks. While the study provides valuable insights into the variability of code quality among different AI tools, the findings suggest that further research is necessary to achieve a more comprehensive understanding of the factors influencing the quality of AI-generated code. More in-depth investigation is required to draw definitive conclusions regarding the optimal AI tools for specific development contexts and to explore strategies for consistently generating high-quality code with AI assistance.
– Name: TypeDocument
  Label: Document Type
  Group: TypDoc
  Data: bachelor thesis
– Name: Format
  Label: File Description
  Group: SrcInfo
  Data: application/pdf
– Name: Language
  Label: Language
  Group: Lang
  Data: English
– Name: URL
  Label: Availability
  Group: URL
  Data: http://urn.kb.se/resolve?urn=urn:nbn:se:bth-28142
– Name: Copyright
  Label: Rights
  Group: Cpyrght
  Data: info:eu-repo/semantics/openAccess
– Name: AN
  Label: Accession Number
  Group: ID
  Data: edsbas.18D3C016
PLink https://erproxy.cvtisr.sk/sfx/access?url=https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edsbas&AN=edsbas.18D3C016
RecordInfo BibRecord:
  BibEntity:
    Languages:
      – Text: English
    Subjects:
      – SubjectFull: AI-generated code
        Type: general
      – SubjectFull: AI-assisted development
        Type: general
      – SubjectFull: Large Language Models in coding
        Type: general
      – SubjectFull: Code quality
        Type: general
      – SubjectFull: Native and Non-Native applications
        Type: general
      – SubjectFull: Software Engineering
        Type: general
      – SubjectFull: Programvaruteknik
        Type: general
    Titles:
      – TitleFull: Evaluating Code Quality of AI-generated Mobile Applications : A Comparative Study of React Native and Kotlin Implementations ; Utvärdering av kodkvalitet i AI-genererade mobilapplikationer : En jämförande studie av React Native- och Kotlin-implementeringar
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Wehbi, Nathalia
      – PersonEntity:
          Name:
            NameFull: Jönsson, Axel
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 01
              Type: published
              Y: 2025
          Identifiers:
            – Type: issn-locals
              Value: edsbas
            – Type: issn-locals
              Value: edsbas.oa
ResultId 1