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.
Keywords
- Unified Modeling Language 2.0
- Hoare's communicating sequential processes
- graph grammar
- meta-modeling
- model checker
- AToM3 tool
Cite this article
@article{cai-5576,
author = {Houda Hamrouche and Allaoua Chaoui and Smaine Mazouzi},
title = {A Graph Transformation Approach for Modeling and Verification of UML 2.0 Sequence Diagrams},
journal = {Computing and Informatics},
volume = {41},
number = {5},
pages = {1284--1309},
year = {2022},
issn = {1335-9150},
doi = {10.31577/cai_2022_5_1284}
}
TY - JOUR AU - Houda Hamrouche AU - Allaoua Chaoui AU - Smaine Mazouzi TI - A Graph Transformation Approach for Modeling and Verification of UML 2.0 Sequence Diagrams JO - Computing and Informatics VL - 41 IS - 5 SP - 1284 EP - 1309 PY - 2022 SN - 1335-9150 DO - 10.31577/cai_2022_5_1284 UR - https://doi.org/10.31577/cai_2022_5_1284 KW - Unified Modeling Language 2.0 KW - Hoare's communicating sequential processes KW - graph grammar KW - meta-modeling KW - model checker KW - AToM3 tool ER -
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