Design of cyber-physical systems (CPS) typically involves dataflow modeling. The structure of dataflow models differs from the traditional software, making standard coverage metrics not appropriate for measuring the thoroughness of testing. To address this limitation, this article proposes signal feature coverage as a new coverage metric for systematically testing CPS dataflow models. We derive signal feature coverage by leveraging signal features. We developed a testing framework in Simulink, a popular dataflow modeling and simulation environment, that automates the generation and execution of test cases based on the defined coverage metric. We evaluated the effectiveness of our approach by carrying out experiments on five Simulink models tested against ten Signal Temporal Logic specifications. We compared our coverage-based testing approach to adaptive random testing, falsification testing, output diversity-based approaches, and testing using MathWorks' Simulink Design Verifier. The results demonstrate that our coverage-based testing approach outperforms the conventional techniques regarding fault detection capability.

Bartocci, E., Mariani, L., Nickovic, D., Yadav, D. (2025). Signal Feature Coverage and Testing for CPS Dataflow Models. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 34(7), 1-37 [10.1145/3714467].

Signal Feature Coverage and Testing for CPS Dataflow Models

Mariani L.;
2025

Abstract

Design of cyber-physical systems (CPS) typically involves dataflow modeling. The structure of dataflow models differs from the traditional software, making standard coverage metrics not appropriate for measuring the thoroughness of testing. To address this limitation, this article proposes signal feature coverage as a new coverage metric for systematically testing CPS dataflow models. We derive signal feature coverage by leveraging signal features. We developed a testing framework in Simulink, a popular dataflow modeling and simulation environment, that automates the generation and execution of test cases based on the defined coverage metric. We evaluated the effectiveness of our approach by carrying out experiments on five Simulink models tested against ten Signal Temporal Logic specifications. We compared our coverage-based testing approach to adaptive random testing, falsification testing, output diversity-based approaches, and testing using MathWorks' Simulink Design Verifier. The results demonstrate that our coverage-based testing approach outperforms the conventional techniques regarding fault detection capability.
Articolo in rivista - Articolo scientifico
Coverage criteria; Cyber-Physical Systems; Signal Temporal Logic (STL); Simulink models; Testing;
English
17-ago-2025
2025
34
7
1
37
199
open
Bartocci, E., Mariani, L., Nickovic, D., Yadav, D. (2025). Signal Feature Coverage and Testing for CPS Dataflow Models. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 34(7), 1-37 [10.1145/3714467].
File in questo prodotto:
File Dimensione Formato  
Bartocci et al-2025-ACM Transactions on Software Engineering and Methodology-VoR.pdf

accesso aperto

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Licenza: Creative Commons
Dimensione 7.51 MB
Formato Adobe PDF
7.51 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/591661
Citazioni
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 2
Social impact