The automatic transformation of models to code is one of the most important cornerstones in the model-driven engineering paradigm. Starting from system models, users are able to automatically generate machine code in a seamless manner with an assurance of potential bug freeness of the generated code. Asm2C++ [4] is the tool that transforms Abstract State Machine models to code. However, no validation activities have been performed in the past to guarantee the correctness of the transformation process. In this paper, we define a mechanism to test the correctness of the model-to-code transformation with respect to two main criteria: syntactical correctness and semantic correctness, which is based on the definition of conformance between the specification and the code. Using this approach, we have devised a process able to test the generated code by reusing unit tests. Coverage measures give a user the confidence that the generated code has the same behavior as specified by the ASM model.

(2018). Validation of transformation from abstract state machine models to C++ code . Retrieved from http://hdl.handle.net/10446/131417

Validation of transformation from abstract state machine models to C++ code

Bonfanti, Silvia;Gargantini, Angelo;
2018-01-01

Abstract

The automatic transformation of models to code is one of the most important cornerstones in the model-driven engineering paradigm. Starting from system models, users are able to automatically generate machine code in a seamless manner with an assurance of potential bug freeness of the generated code. Asm2C++ [4] is the tool that transforms Abstract State Machine models to code. However, no validation activities have been performed in the past to guarantee the correctness of the transformation process. In this paper, we define a mechanism to test the correctness of the model-to-code transformation with respect to two main criteria: syntactical correctness and semantic correctness, which is based on the definition of conformance between the specification and the code. Using this approach, we have devised a process able to test the generated code by reusing unit tests. Coverage measures give a user the confidence that the generated code has the same behavior as specified by the ASM model.
silvia.bonfanti@unibg.it
2018
Inglese
Testing Software and Systems. 30th IFIP WG 6.1 International Conference, ICTSS 2018, Cádiz, Spain, October 1-3, 2018, Proceedings
Medina-Bulo, Inmaculada; Merayo, Mercedes G.; Hierons, Robert;
978-3-319-99927-2
11146
17
32
online
Switzerland
Cham
Springer
ICTSS 2018: 30th IFIP International Conference on Testing Software and Systems, Cadiz, Spain, 1-3 October 2018
30th
Cadiz (Spain)
1-3 October 2018
internazionale
Settore ING-INF/05 - Sistemi di Elaborazione delle Informazioni
Model transformation; Abstract State Machine; Asm2C++; Validation of transformation; Formal Methods
info:eu-repo/semantics/conferenceObject
3
Bonfanti, Silvia; Gargantini, Angelo Michele; Mashkoor, Atif
1.4 Contributi in atti di convegno - Contributions in conference proceedings::1.4.01 Contributi in atti di convegno - Conference presentations
reserved
Non definito
273
(2018). Validation of transformation from abstract state machine models to C++ code . Retrieved from http://hdl.handle.net/10446/131417
File allegato/i alla scheda:
File Dimensione del file Formato  
asm2code_ictss18.pdf

Solo gestori di archivio

Versione: postprint - versione referata/accettata senza referaggio
Licenza: Licenza default Aisberg
Dimensione del file 1.65 MB
Formato Adobe PDF
1.65 MB Adobe PDF   Visualizza/Apri
Pubblicazioni consigliate

Aisberg ©2008 Servizi bibliotecari, Università degli studi di Bergamo | Terms of use/Condizioni di utilizzo

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10446/131417
Citazioni
  • Scopus 5
  • ???jsp.display-item.citation.isi??? 4
social impact