Evaluating and Debugging OCL Expressions in UML Models

This paper discusses the relationship between tests and proofs with focus on a tool for UML and OCL models. Tests are thought of as UML object diagrams and theorems or properties which are to be checked are represented as OCL constraints, i.e., class invariants or operation pre- and postconditions. The paper shows for the UML and OCL tool USE (UML-based Specification Environment) how to trace and debug the validity of an expected theorem (an OCL constraint) within a given test case (a state model in the form of a UML object diagram).

[1]  Martin Gogolla,et al.  Consistency, Independence and Consequences in UML and OCL Models , 2009, TAP@TOOLS.

[2]  Markus Stumptner,et al.  Evaluating Models for Model-Based Debugging , 2008, 2008 23rd IEEE/ACM International Conference on Automated Software Engineering.

[3]  Werner Retschitzegger,et al.  Common Pitfalls of Using QVT Relations - Graphical Debugging as Remedy , 2009, 2009 14th IEEE International Conference on Engineering of Complex Computer Systems.

[4]  Adrián Riesco,et al.  A Complete Declarative Debugger for Maude , 2010, AMAST.

[5]  Klaus D. Müller-Glaser,et al.  A Graphical Model-Level Debugger for Heterogenous Reconfigurable Architectures , 2007, 2007 International Conference on Field Programmable Logic and Applications.

[6]  Manu Sridharan,et al.  Debugging overconstrained declarative models using unsatisfiable cores , 2003, 18th IEEE International Conference on Automated Software Engineering, 2003. Proceedings..