Testing Cyber-Physical Systems Using NLP Models

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.

Publication Details

Journal
Jonkoping University Library (Jönköping University)
Published
2025-01-01
Primary Topic
Bluetooth and Wireless Communication Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Testing Cyber-Physical Systems Using NLP Models

Jonkoping University Library (Jönköping University)
Bluetooth and Wireless Communication Technologies
article

Testing Cyber-Physical Systems Using NLP Models

article en

Abstract

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.

Jonkoping University Library (Jönköping University)
Quality Education
Openalex Percentile: Top 44%
Bluetooth and Wireless Communication Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.