Verifying UML/OCL Operation Contracts [chapter]

Jordi Cabot, Robert Clarisó, Daniel Riera
2009 Lecture Notes in Computer Science  
In current model-driven development approaches, software models are the primary artifacts of the development process. Therefore, assessment of their correctness is a key issue to ensure the quality of the final application. Research on model consistency has focused mostly on the models' static aspects. Instead, this paper addresses the verification of their dynamic aspects, expressed as a set of operations defined by means of pre/postcondition contracts. This paper presents an automatic method
more » ... ased on Constraint Programming to verify UML models extended with OCL constraints and operation contracts. In our approach, both static and dynamic aspects are translated into a Constraint Satisfaction Problem. Then, compliance of the operations with respect to several correctness properties such as operation executability or determinism are formally verified.
doi:10.1007/978-3-642-00255-7_4 fatcat:nm5l4bzstjejdcfvxmzrolsl4i