A Graph Transformation Approach for Modeling and Verification of UML 2.0 Sequence Diagrams

Authors

  • Houda Hamrouche Department of Computer Science, 20 Aout 1955 University, BP-26, Skikda, 21000, Algeria
  • Allaoua Chaoui MISC Laboratory, Department of Computer Science and Its Applications, Faculty of NTIC, University of Constantine 2-Abdelhamid Mehri, BP-67A, Constantine, 25000, Algeria
  • Smaine Mazouzi LICUS Laboratory, Department of Computer Science, 20 Aout 1955 University, BP-26, Skikda, 21000, Algeria

DOI:

https://doi.org/10.31577/cai_2022_5_1284

Keywords:

Unified Modeling Language 2.0, Hoare’s communicating sequential processes, graph grammar, meta-modeling, model checker, AToM3 tool

Abstract

Unified Modeling Language (UML) 2.0 Sequence Diagrams (UML 2.0 SD) are used to describe interactions in software systems. These diagrams must be verified in the early stages of software development process to guarantee the production of a reliable system. However, UML 2.0 SD lack formal semantics as all UML specifications, which makes their verification difficult, especially if we are modeling a critical system where the automation of verification is necessary. Communicating Sequential Processes (CSP) is a formal specification language that is suited for analysis and has many automatic verification tools. Thus, UML and CSP have complementary aspects, which are modeling and analysis. Recently, a formalization of UML 2.0 SD using CSP has been proposed in the literature; however, no automation of that formalization exists. In this paper, we propose an approach on the basis of the above formalization and a visual modeling tool to model and automatically transform UML 2.0 SD to CSP ones; thus, the existing CSP model checker can verify them. This approach aims to use UML 2.0 SD for modeling and CSP and its tools for verification. This approach is based on graph transformation, which uses AToM3 tool and proposes a metamodel of UML 2.0 SD and a graph grammar to perform the mapping of the latter into CSP. Failures-Divergence Refinement (FDR) is the model checking tool used to verify the behavioral properties of the source model transformation such as deadlock, livelock and determinism. The proposed approach and tool are illustrated through a case study.

Downloads

Download data is not yet available.

Downloads

Published

2022-12-31

How to Cite

Hamrouche, H., Chaoui, A., & Mazouzi, S. (2022). A Graph Transformation Approach for Modeling and Verification of UML 2.0 Sequence Diagrams. COMPUTING AND INFORMATICS, 41(5), 1284–1309. https://doi.org/10.31577/cai_2022_5_1284