Skip to main content

Structural and Behavioral Detection of Design Patterns

  • Conference paper
Advances in Software Engineering (ASEA 2009)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 59))

Abstract

We propose a technique that recognizes occurrences of a pattern in a design using both static and dynamic information. To tolerate pattern instantiations with certain degree of variability, we adapt an XML document retrieval technique. Our technique has the advantage of basing the design pattern identification not only on static, structural information of a pattern but also on the methods of the pattern which represent the dynamic aspect.

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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Albin Amiot, H., Cointe, P., Guéhéneuc, Y.G.: Un meta-modele pour coupler application et detection des design patterns. L’objet 8, 1–18 (2002)

    Google Scholar 

  2. Bergenti, F., Poggi, A.: Improving UML design pattern detection. In: Proceedings of the 12th international conference on software engineering and knowledge engineering, SEKE (2000)

    Google Scholar 

  3. Brown, K.: Design reverse-engineering and automated design pattern detection in Smalltalk. Technical Report TR-96-07, University of Illinois at Urbana-Champaign (1996)

    Google Scholar 

  4. Dong, J., Sun, Y., Zhao, Y.: Design pattern detection by template matching. In: SAC 2008, Ceara, Brazil (2008)

    Google Scholar 

  5. El-Boussaidi, G., Mili, H.: Detecting patterns of poor design solutions by using constraint propagation. In: Czarnecki, K., Ober, I., Bruel, J.-M., Uhl, A., Völter, M. (eds.) MODELS 2008. LNCS, vol. 5301, pp. 189–203. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  6. Florijin, G., Meijers, M., Van Winsen, P.: Tool support for object oriented patterns. In: Aksit, M., Matsuoka, S. (eds.) ECOOP 1997. LNCS, vol. 1241, pp. 472–495. Springer, Heidelberg (1997)

    Chapter  Google Scholar 

  7. Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design patterns: Elements of reusable Object Oriented Software. Addisson-Wesley, Reading (1995)

    Google Scholar 

  8. Ka-Yee, J., Ng, G.Y.G.: Identification of behavioural and creational design patterns through dynamic analysis. In: Proceedings of the 3rd International Workshop on Program Comprehension through Dynamic Analysis (PCODA), October 2007, pp. 34–42 (2007)

    Google Scholar 

  9. Lee, H., Youn, H., Lee, E.: A design pattern detection technique that aids reverse engineering. The International Journal of security and applications 2(1) (January 2008)

    Google Scholar 

  10. Manning, C.D., Raghavan, P., Schütze, H.: An introduction to information retrieval. Cambridge University Press, England (2008)

    Google Scholar 

  11. Tsantalis, N., Chatzigeorgiou, A., Stephanides, G., Halkidis, S.T.: Design pattern detection using similarity scoring. IEEE transactions on software engineering 32(11) (2006)

    Google Scholar 

  12. Gamma, E., Eggenschwiler, T. (2005), http://www.jhotdraw.org

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

Bouassida, N., Ben-Abdallah, H. (2009). Structural and Behavioral Detection of Design Patterns. In: Ślęzak, D., Kim, Th., Kiumi, A., Jiang, T., Verner, J., Abrahão, S. (eds) Advances in Software Engineering. ASEA 2009. Communications in Computer and Information Science, vol 59. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-10619-4_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-10619-4_3

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-10618-7

  • Online ISBN: 978-3-642-10619-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics