Skip to main content

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

  • 914 Accesses

Abstract

Design patterns are good design solutions to recurring problems. Many works were interested in design patterns identification either for reverse engineering purposes, or for design improvement purposes. All existing approaches considered that a pattern is detected through both its structure and behavior, but no one considers the semantic aspect conveyed by the class and method names. In this paper, we propose a technique that exploits the semantic aspect to identify occurrences of a pattern in a design. In addition to the structural and behavioral analyses, the semantic analysis is very useful, specifically when there is a doubt between two design patterns having similar structures. By resolving a non deterministic identification, the identification precision increases.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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.

Similar content being viewed by others

References

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

    Google Scholar 

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

  3. Gueheneuc, Y., Antoniol, G.: DeMIMA: A Multilayered Approach for Design Pattern Identification. IEEE Transactions on Software Engineering (2008)

    Google Scholar 

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

    Google Scholar 

  5. Belderrar, A., Kpodjedo, S., Guéhéneuc, Y., Antoniol, G., Galinier, P.: Sub-graph Mining: Identifying Micro-architectures in Evolving Object-oriented Software. In: 15th European Conference on Software Maintenance and Reengineering, CSMR 2011, pp. 171–180 (2011)

    Google Scholar 

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

    Google Scholar 

  7. Lee, H., Youn, H.: A design pattern detection technique that aids reverse engineering. The International Journal of Security and Applications (2008)

    Google Scholar 

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

    Google Scholar 

  9. De Lucia, A., Deufemia, V., Gravino, C., Risi, M.: Behavioral Pattern Identification through Visual Language Parsing and Code Instrumentation. In: European Conference on Software Maintenance and Reengineering, CSMR 2009, pp. 99–108 (2009)

    Google Scholar 

  10. De Lucia, A., Deufemia, V., Gravino, C., Risi, M.: Improving Behavioral Design Pattern Detection through Model Checking. In: 14th European Conference on Software Maintenance and Reengineering, CSMR 2010, pp. 176–185 (2010)

    Google Scholar 

  11. Arcelli, F., Tosi, C., Zanoni, M., Maggioni, S.: JADEPT: Dynamic analysis for behavioral design pattern detection. In: 4th International Conference on Evaluation of Novel Approaches to Software Engineering, ENASE 2009, pp. 95–106 (2009)

    Google Scholar 

  12. Bouassida, N., Ben-Abdallah, H.: Structural and Behavioral Detection of Design Patterns. In: Ślęzak, D., Kim, T.-h., Kiumi, A., Jiang, T., Verner, J., Abrahão, S. (eds.) ASEA 2009. CCIS, vol. 59, pp. 16–24. Springer, Heidelberg (2009)

    Google Scholar 

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

    Google Scholar 

  14. Blondel, V.D., Gajardo, A., Heymans, M., Senellart, P., Van Dooren, P.: A Measure of Similarity between Graph Vertices. In: Applications to Synonym Extraction and Web Searching. SIAM (2004)

    Google Scholar 

  15. Bouassida, N., Ben-Abdallah, H.: A New Approach for Pattern Problem Detection. In: Pernici, B. (ed.) CAiSE 2010. LNCS, vol. 6051, pp. 150–164. Springer, Heidelberg (2010)

    Google Scholar 

  16. Fellbaum, C.: pp. 665-670. Elsevier (2005) (Online), http://wordnet.princeton.edu/

  17. Duell, M., Goodsen, J., Rising, L.: Examples to Accompany: Design Patterns Elements of Reusable Object-Oriented Software (1999)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Imène Issaoui .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Issaoui, I., Bouassida, N., Ben-Abdallah, H. (2012). A Design Pattern Detection Approach Based on Semantics. In: Lee, R. (eds) Software Engineering Research, Management and Applications 2012. Studies in Computational Intelligence, vol 430. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-30460-6_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-30460-6_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-30459-0

  • Online ISBN: 978-3-642-30460-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy