Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • 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
Testing Cyber-Physical Systems Using NLP Models
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics.
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics.
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

This thesis investigated the effectiveness of natural language processing models

in automating test generation for Flutter applications that use Bluetooth com-

munication, an aspect of cyber-physical systems that remains underexplored.

The study evaluated four open-source natural language processing-based code

generation models: StarCoder, GPT-NeoX, CodeGen, and CodeT5, focusing

on their ability to generate end-to-end and integration tests. A structured

experimental methodology was used to assess each model’s output across three

levels of prompt complexity. The results showed that while models such as

StarCoder demonstrate some logical structure, none of the models produced

fully functional tests without manual intervention. Edge case handling, such as

unstable connections and device compatibility, proved particularly challenging.

The findings highlight the current limitations of small-scale natural language

processing models in cyber-physical system testing scenarios and emphasize the

need for more advanced models, improved prompt strategies, and domain-specific

fine-tuning to close the performance gap between human and machine-generated

tests.

Place, publisher, year, edition, pages
2025. , p. 52
Keywords [en]
Cyber-Physical Systems, Natural Language Processing, Bluetooth Low Energy, CPS, NLP, BLE, Test Automation, Flutter, Prompt Engineering, Test Generation
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:hj:diva-68467OAI: oai:DiVA.org:hj-68467DiVA, id: diva2:1968954
External cooperation
Combitech AB
Subject / course
JTH, Computer Engineering
Supervisors
Examiners
Available from: 2025-06-18 Created: 2025-06-13 Last updated: 2025-10-13Bibliographically approved

Open Access in DiVA

fulltext(1501 kB)142 downloads
File information
File name FULLTEXT01.pdfFile size 1501 kBChecksum SHA-512
6dc30d68d6a4a96cdbd5c4f85485dccefe223a769f3344ee7173ea2f2e409549d0ee71abd9db31c5a454c63e695a589b926686111fdf09625bb0758665538850
Type fulltextMimetype application/pdf

By organisation
JTH, Department of Computer Science and Informatics
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 144 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

urn-nbn

Altmetric score

urn-nbn
Total: 341 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • 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