A Formal Semantics for Use Case Diagram Via Event-B

UML has become the "de facto" standard for modeling object-oriented software. However, the UML notation suffers from an imprecise and incomplete semantics definition, which makes difficult to automated analysis and is errors-prone. Formal methods have been used largely in order to deal with this problem. This paper proposes an approach to formally describe Use Case Diagram using the Event-B language. More specifically, it is presented a set of transformation rules that maps the elements of this diagram to elements of Event-B, both expressed via meta-models. The approach is illustrated by showing an example about how to make automatic verification in this diagram.

[1]  Richard C. Gronback Eclipse Modeling Project: A Domain-Specific Language Toolkit , 2009 .

[2]  Barun Das,et al.  Formal Specification of UML Use Case Diagram-A CASL based approach , 2014 .

[3]  Kevin Lano,et al.  UML 2 Semantics and Applications , 2009 .

[4]  Amel Mammar,et al.  An overview of a method and its support tool for generating B specifications from UML notations , 2000, Proceedings ASE 2000. Fifteenth IEEE International Conference on Automated Software Engineering.

[5]  Frank Budinsky,et al.  Eclipse Modeling Framework , 2003 .

[6]  Jean-Raymond Abrial Event Based Sequential Program Development: Application to Constructing a Pointer Program , 2003, FME.

[7]  S. Sengupta,et al.  Formalization of UML use case diagram-a Z notation based approach , 2006, 2006 International Conference on Computing & Informatics.

[8]  Shaoying Liu,et al.  Formalization, Testing and Execution of a Use Case Diagram , 2003, ICFEM.

[9]  Richard C. Gronback Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit , 2009 .

[10]  Colin Snook,et al.  An EMF Framework for Event-B , 2010 .

[11]  Michael Butler,et al.  UML-B and Event-B: an integration of languages and tools , 2008, ICSE 2008.

[12]  Jeanine Souquières,et al.  Integration of UML Views using B Notation , 2002 .

[13]  Germain Forestier,et al.  Big Metamodels Are Evil - Package Unmerge - A Technique for Downsizing Metamodels , 2013, MoDELS.

[14]  Ivar Jacobson,et al.  The unified modeling language reference manual , 2010 .

[15]  Thiago C. de Sousa,et al.  Starting B Specifications from Use Cases , 2010, ASM.

[16]  Gudmund Grov,et al.  UC-B: Use Case Modelling with Event-B , 2016, ABZ.

[17]  Thai Son Hoang,et al.  Rodin: an open toolset for modelling and reasoning in Event-B , 2010, International Journal on Software Tools for Technology Transfer.