Skip to main content

Consistency, Independence and Consequences in UML and OCL Models

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 5668))

Abstract

Properties in UML models are frequently formulated as OCL invariants or OCL pre- and postconditions. The UML-based Specification Environment (USE) supports validation and to a certain degree verification of such properties. USE allows the developer to prove the consistency and independence of invariants by building automatically generated test cases. USE also assists the developer in checking consequences and making deductions from invariants by automatically constructing a set of test cases in form of model scenarios. Suspected deductions are either falsified by a counter test case or are shown to be valid in a fixed finite search space.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Avila, C., Flores, G., Cheon, Y.: A Library-Based Approach to Translating OCL Constraints to JML Assertions for Runtime Checking. In: Arabnia, H.R., Reza, H. (eds.) Software Engineering Research and Practice, pp. 403–408. CSREA Press (2008)

    Google Scholar 

  2. Aichernig, B.K., Salas, P.A.: Test Case Generation by OCL Mutation and Constraint Solving. In: QSIC, pp. 64–71. IEEE Computer Society, Los Alamitos (2005)

    Google Scholar 

  3. Bohling, J.: Snapshot Generation for Validating UML Class Diagrams. Diploma Thesis, University of Bremen, Computer Science Department (2001) (in German)

    Google Scholar 

  4. Baruzzo, A., Comini, M.: Static Verification of UML Model Consistency. In: Hearnden, D., Süß, J.G., Baudry, B., Rapin, N. (eds.) Proc. 3rd Workshop Model Design and Validation, October 2006, pp. 111–126. University of Queensland (2006)

    Google Scholar 

  5. Bouquet, F., Grandpierre, C., Legeard, B., Peureux, F., Vacelet, N., Utting, M.: A Subset of Precise UML for Model-Based Testing. In: A-MOST, pp. 95–104. ACM, New York (2007)

    Chapter  Google Scholar 

  6. Beckert, B., Hähnle, R., Schmitt, P.H. (eds.): Verification of Object-Oriented Software. LNCS, vol. 4334. Springer, Heidelberg (2007)

    Google Scholar 

  7. Cabot, J., Clarisó, R.: UML/OCL Verification in Practice. In: Van Baelen, S., Van Der Straeten, R., Mens, T. (eds.) ChaMDE 2008, 1st Int. Workshop Challenges in Model Driven Software Engineering, pp. 31–35 (2008), http://ssel.vub.ac.be/ChaMDE08/

  8. Gaudel, M.-C.: Testing can be Formal, Too. In: Mosses, P.D., Schwartzbach, M.I., Nielsen, M. (eds.) CAAP 1995, FASE 1995, and TAPSOFT 1995. LNCS, vol. 915, pp. 82–96. Springer, Heidelberg (1995)

    Chapter  Google Scholar 

  9. Gogolla, M., Richters, M., Bohling, J.: Tool Support for Validating UML and OCL Models through Automatic Snapshot Generation. In: Eloff, J., Engelbrecht, A., Kotze, P., Eloff, M. (eds.) Proc. Annual Research Conf. South African Institute of Computer Scientists and Information Technologists, pp. 248–257. ACM, New York (2003)

    Google Scholar 

  10. Gogolla, M., Bohling, J., Richters, M.: Validating UML and OCL Models in USE by Automatic Snapshot Generation. Journal on Software and System Modeling 4(4), 386–398 (2005)

    Article  Google Scholar 

  11. Gogolla, M., Büttner, F., Richters, M.: USE: A UML-Based Specification Environment for Validating UML and OCL. Science of Computer Programming 69, 27–34 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  12. Hughes, J.: QuickCheck Testing for Fun and Profit. In: Hanus, M. (ed.) PADL 2007. LNCS, vol. 4354, pp. 1–32. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  13. Jackson, D.: Software Abstractions: Logic, Language, and Analysis. MIT Press, Cambridge (2006)

    Google Scholar 

  14. Marcano-Kamenoff, R., Lévy, N.: Transformation Rules of OCL Constraints into B Formal Expressions. In: CSDUML 2002, Workshop Critical Systems Development with UML. 5th Int. Conf. Unified Modeling Language, Dresden, Germany (September 2002)

    Google Scholar 

  15. OMG (ed.): OMG Unified Modeling Language Specification, Version 2.0. OMG (2004)

    Google Scholar 

  16. OMG (ed.): OMG Query, View and Transformation Specification (QVT). OMG (2005)

    Google Scholar 

  17. Shen, W., Compton, K., Huggins, J.: A Toolset for Supporting UML Static and Dynamic Model Checking. In: Proc. 16th IEEE Int. Conf. Automated Software Engineering (ASE), pp. 147–152. IEEE Computer Society, Los Alamitos (2001)

    Google Scholar 

  18. Trong, T.D., Ghosh, S., France, R.B., Hamilton, M., Wilkins, B.: UMLAnT: An Eclipse Plugin for Animating and Testing UML Designs. In: Eclipse 2005, Proc. 2005 OOPSLA Workshop Eclipse Technology eXchange, pp. 120–124. ACM Press, New York (2005)

    Chapter  Google Scholar 

  19. Warmer, J., Kleppe, A.: The Object Constraint Language: Precise Modeling with UML, 2nd edn. Addison-Wesley, Reading (2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gogolla, M., Kuhlmann, M., Hamann, L. (2009). Consistency, Independence and Consequences in UML and OCL Models. In: Dubois, C. (eds) Tests and Proofs. TAP 2009. Lecture Notes in Computer Science, vol 5668. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-02949-3_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-02949-3_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-02948-6

  • Online ISBN: 978-3-642-02949-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics