skip to main content
10.1145/1244002.1244305acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
Article

An approach to evaluating structural pattern conformance of UML models

Published:11 March 2007Publication History

ABSTRACT

This paper describes an approach to evaluating the structural conformance of a UML class diagram to a design pattern. A design pattern is specified in an extension of the UML that defines the pattern as a family of models. A pattern specification consists of a set of pattern roles where a role specifies the properties of a pattern participant. The approach uses a divide-and-conquer method to evaluate pattern conformance. In the approach a pattern and the model being evaluated are decomposed into blocks. Then, the model blocks are evaluated for conformance to the role blocks in the pattern. When all individual role blocks are satisfied by the model blocks, the pattern as a whole is considered to evaluate the entire conformance of the model. A major benefit of this approach is the support for variations of pattern realizations through the notion of pattern roles. We illustrate the approach using the Visitor pattern and a price calculator, and demonstrate a prototype tool that supports the approach.

References

  1. G. Antoniol, R. Fiutem, and L. Cristoforetti. Design Pattern Recovery in Object-Oriented Software. In Proceedings of the 6th International Workshop on Program Comprehension, pages 153--160. IEEE Computer Society Press, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. F. Bergenti and A. Poggi. Improving UML Design Using Automatic Design Pattern Detection. In Proceedings of the 12th International Conference on Software Engineering and Knowledge Engineering, (SEKE), pages 336--343, 2000.Google ScholarGoogle Scholar
  3. K. Brown. Design Reverse-Engineering and Automated Design Pattern Detection in SmallTalk. Master's thesis, Department of Computer Engineering, North Carolina State University, 1996.Google ScholarGoogle Scholar
  4. E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. R. K. Keller, R. Schauer, S. Robitaille, and P. Page. Pattern-Based Reverse Engineering of Design Components. In Proceedings of the 21st International Conference On Software Engineering, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. D. Kim. A Meta-Modeling Approach to Specifying Patterns. PhD thesis, Colorado State University, Fort Collins, CO, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. D. Kim. The Role-Based Metamodeling Language for Specifying Design Patterns. In Toufik Taibi, editor, Design Pattern Formalization Techniques. Idea Group Inc., 2006. To be published.Google ScholarGoogle Scholar
  8. D. Kim, R. France, S. Ghosh, and E. Song. A Role-Based Metamodeling Approach to Specifying Design Patterns. In Proceedings of the 27th IEEE Annual International Computer Software and Applications Conference, Dallas, Texas, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Ch. Kraemer and L. Prechelt. Design Recovery by Automated Search for Structural Design Patterns in Object-Oriented Software. In Proceedings of the 3rd Working Conference on Reverse Engineering, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. A. Lauder and S. Kent. Precise Visual Specification of Design Patterns. In Proceedings of the 12th European Conference on Object-Oriented Programming, pages 114--136. Springer-Verlag, LNCS 1445, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Y. Mai and M. de Champlain. A Pattern Language to Visitors. In Proceedings of the 8th AnnualConference of Pattern Languages of Programs (PLoP), Monticello, Illinois, 2001.Google ScholarGoogle Scholar
  12. W. Shen and W. L. Low. Using Abstract Sstate Machines to Support UML Model Instantiation Checking. In Proceedings of The IASTED International Conference on Software Engineering, Innsbruck, Austria, 2005.Google ScholarGoogle Scholar
  13. F. Shull, W. Melo, and V. Basili. An inductive method for discovering design patterns from object-oriented software systems. Technical Report UMIACS-TR-96-10, University of Maryland, Computer Science, 1996.Google ScholarGoogle Scholar
  14. The Object Management Group (OMG). Unified Modeling Language. Version 1.5, OMG, http://www.omg.org, March 2003.Google ScholarGoogle Scholar
  15. J. Warmer and A. Kleppe. The Object Constraint Language Second Edition: Getting Your Models Ready for MDA. Addison Wesley, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. An approach to evaluating structural pattern conformance of UML models

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Conferences
              SAC '07: Proceedings of the 2007 ACM symposium on Applied computing
              March 2007
              1688 pages
              ISBN:1595934804
              DOI:10.1145/1244002

              Copyright © 2007 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 11 March 2007

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              Overall Acceptance Rate1,650of6,669submissions,25%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader