%0 Conference Paper %B Proceedings of the 9th International Conference on Integrated Formal Methods - IFM %D 2012 %T Specifying UML Protocol State Machines in Alloy %A Alcino Cunha %A Ana Garis %A Ana Paiva %A Daniel Riesco %C Pisa, Italy %I Springer-Verlag %S LNCS %V 7321 %X

A UML Protocol State Machine (PSM) is a behavioral diagram for the specification of the external behavior of a class, interface or component. PSMs have been used in the software development process for different purposes, such as requirements analysis and testing. However, like other UML diagrams, they are often difficult to validate and verify, specially when combined with other artifacts, such as Object Constraint Language (OCL) specifications. This drawback can be overcome by application of an off-the-shelf formal method, namely one supporting automatic validation and verification. Among those, we have the increasingly popular Alloy, based on a simple relational flavor of first-order logic. This paper presents a model transformation from PSMs, optionally complemented with OCL specifications, to Alloy. Not only it enables automatic verification and validation of PSMs, but also a smooth integration of Alloy in current software development practices.

%8 June %> https://haslab.uminho.pt/sites/default/files/alcino/files/ifm12.pdf