Skip to main content

Part of the book series: Studies in Computational Intelligence ((SCI,volume 150))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Ambler, S.W.: The Object Primer, 3rd edn. Cambridge University Press, New York (2004)

    Google Scholar 

  2. Ben-Ari, M.: Principles of the Spin Model Checker. Springer, New York (2008)

    MATH  Google Scholar 

  3. Elaasar, M., Briand, L.C.: An Overview of UML Consistency Management. Technical Report SCE-04-18, Carleton University (2004)

    Google Scholar 

  4. Fowler, M.: UML Distilled: A Brief Guide to the Standard Object Modeling Language, 3rd edn. Addison-Wesley Professional, Boston (2003)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. Holzmann, G.J.: The SPIN Model Checker: Primer and Reference Manual. Addison-Wesley Professional, Boston (2003)

    Google Scholar 

  7. Jacobson, I.: Object-Oriented Software Engineering: A Use Case Driven Approach. Addison-Wesley Professional, Boston (1992)

    MATH  Google Scholar 

  8. 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)

    Google Scholar 

  9. Pilone, D., Pitman, N.: UML 2.0 in a Nutshell, 2nd edn. O’Reilly, Sebastopol (2005)

    Google Scholar 

  10. Rosenberg, D., Stephens, M.: Use Case Driven Object Modeling with UML: Theory and Practice. Apress, Berkeley (2007)

    Google Scholar 

  11. 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)

    Google Scholar 

  12. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics