Summary
A use case driven approach is one of the most practical approaches in object orientation. UML use case diagrams and their descriptions written in a natural language are used in this modeling. Even though this approach provides us with convenient ways to develop large scale software and systems, it seems difficult to assure the correctness of the models, because of insufficient formalization in UML. This paper proposes a formal model verification process for UML use case models. In order to exclude ambiguity from the models, they are firstly formalized using the first order predicate logic. These logic based models are then transformed in the form of Promela code, so that they can be verified using the Spin model checker. A Promela code must be composed based on state transitions, whereas the logic based use case models do not explicitly include the states and their transitions. Therefore we introduce a state identification process in the logic based use case models. A supermarket checkout system is used to show how the proposed process works.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Ambler, S.W.: The Object Primer, 3rd edn. Cambridge University Press, New York (2004)
Ben-Ari, M.: Principles of the Spin Model Checker. Springer, New York (2008)
Elaasar, M., Briand, L.C.: An Overview of UML Consistency Management. Technical Report SCE-04-18, Carleton University (2004)
Fowler, M.: UML Distilled: A Brief Guide to the Standard Object Modeling Language, 3rd edn. Addison-Wesley Professional, Boston (2003)
France, R., Bruel, J.M., Larrondo-Petrie, M., Shroff, M.: Exploring the Semantics of UML type structures with Z. In: Proc. of the 2nd IFIP Workshop on Formal Methods for Open Object-Based Distributed Systems, pp. 247–260 (1997)
Holzmann, G.J.: The SPIN Model Checker: Primer and Reference Manual. Addison-Wesley Professional, Boston (2003)
Jacobson, I.: Object-Oriented Software Engineering: A Use Case Driven Approach. Addison-Wesley Professional, Boston (1992)
Kuske, S.: A formal semantics of UML state machines based on structured graph transformation. In: Proc. of the 4th International Conference on the Unified Modeling Language, pp. 241–256 (2001)
Pilone, D., Pitman, N.: UML 2.0 in a Nutshell, 2nd edn. O’Reilly, Sebastopol (2005)
Rosenberg, D., Stephens, M.: Use Case Driven Object Modeling with UML: Theory and Practice. Apress, Berkeley (2007)
Shinkawa, Y.: Inter-Model Consistency in UML Based on CPN Formalism. In: Proc. of the 13th Asia Pacific Software Engineering Conference, pp. 411–419 (2006)
Wieringa, R.: Formalizing the UML in a Systems Engineering Approach. In: Proc. of the 2nd ECOOP Workshop on Precise Behavioral Semantics, pp. 254–266 (1998)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Shinkawa, Y. (2008). Model Checking for UML Use Cases. In: Lee, R. (eds) Software Engineering Research, Management and Applications. Studies in Computational Intelligence, vol 150. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-70561-1_17
Download citation
DOI: https://doi.org/10.1007/978-3-540-70561-1_17
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-70774-5
Online ISBN: 978-3-540-70561-1
eBook Packages: EngineeringEngineering (R0)