Skip to main content

Mining Design Patterns in Object Oriented Systems by a Model-Driven Approach

  • Conference paper
Book cover Advances in Software Engineering (ASEA 2010)

Abstract

In this paper we present an approach to automatically mine Design Patterns in existing Object Oriented systems and to trace system’s source code components to the roles they play in the Patterns. The approach defines and exploits a model representing a Design Pattern by its high level structural Properties. It is possible to detect Pattern variants, by adequately overriding the Pattern structural properties. The approach was validated by applying it to some open-source systems.

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. Bernardi, M.L., Di Lucca, G.A.: Model driven detection of design pattern. In: Proceedings of the 26th IEEE International Conference on Software Maintenance (ICSM 2010), ERA Track, Washington, DC, USA. IEEE Computer Society, Los Alamitos (2010)

    Google Scholar 

  2. Costagliola, G., De Lucia, A., Deufemia, V., Gravino, C., Risi, M.: Design pattern recovery by visual language parsing. In: Proc. of the Ninth European Conference on Software Maintenance and Reengineering, CSMR 2005, Washington, DC, USA, pp. 102–111. IEEE Computer Society, Los Alamitos (2005)

    Chapter  Google Scholar 

  3. Di Penta, M., Cerulo, L., Gueheneuc, Y.-G., Antoniol, G.: An empirical study of the relationships between design pattern roles and class change proneness. In: Proc. IEEE Int. Conf. on Software Maintenance, ICSM 2008, pp. 217–226 (2008)

    Google Scholar 

  4. Dong, J., Lad, D.S., Zhao, Y.: Dp-miner: Design pattern discovery using matrix. In: Proc. 14th Annual IEEE International Conference and Workshops on the Engineering of Computer-Based Systems, ECBS 2007, pp. 371–380 (2007)

    Google Scholar 

  5. Dong, J., Zhao, Y., Peng, T.: Architecture and design pattern discovery techniques - a review. In: Arabnia, H.R., Reza, H. (eds.) Software Engineering Research and Practice, pp. 621–627. CSREA Press (2007)

    Google Scholar 

  6. Johnson, R., Vlissides, J., Gamma, E., Helm, R.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley, Reading (1998)

    MATH  Google Scholar 

  7. Fulop, L.J., Ferenc, R., Gyimothy, T.: Towards a benchmark for evaluating design pattern miner tools. In: Proc. 12th European Conference on Software Maintenance and Reengineering, CSMR 2008, April 1-4, pp. 143–152 (2008)

    Google Scholar 

  8. Gueheneuc, Y.-G., Antoniol, G.: Demima: A multilayered approach for design pattern identification. IEEE Trans. on Software Engineering 34(5), 667–684 (2008)

    Article  Google Scholar 

  9. Khomh, F., Guéhéneuc, Y.-G., Antoniol, G.: Playing roles in design patterns: An empirical descriptive and analytic study. In: ICSM, pp. 83–92. IEEE, Los Alamitos (2009)

    Google Scholar 

  10. Kim, D.H., Yun, I.D., Lee, S.U.: Attributed relational graph matching based on the nested assignment structure. Pattern Recogn. 43(3), 914–928 (2010)

    Article  MATH  Google Scholar 

  11. Philippsen, M., Prechelt, L., Unger-Lamprecht, B., Tichy, W.F.: Two controlled experiments assessing the usefulness of design pattern documentation in program maintenance. IEEE Trans. Softw. Eng. 28(6), 595–606 (2002)

    Article  Google Scholar 

  12. Niere, J., Schäfer, W., Wadsack, J.P., Wendehals, L., Welsh, J.: Towards pattern-based design recovery. In: Proceedings of the 24th International Conference on Software Engineering, ICSE 2002, pp. 338–348. ACM, New York (2002)

    Chapter  Google Scholar 

  13. Smith, J.M., Stotts, D.: Spqr: flexible automated design pattern extraction from source code. In: Proc. 18th IEEE International Conference on Automated Software Engineering, October 6-10, pp. 215–224 (2003)

    Google Scholar 

  14. Tsantalis, N., Chatzigeorgiou, A., Stephanides, G., Halkidis, S.T.: Design pattern detection using similarity scoring. IEEE Transactions on Software Engineering 32(11), 896–909 (2006)

    Article  Google Scholar 

  15. Gueheneuc, Y.-G., Sahraoui, H., Zaidi, F.: Fingerprinting design patterns. In: Proc. 11th Working Conference on Reverse Engineering, pp. 172–181 (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bernardi, M.L., Di Lucca, G.A. (2010). Mining Design Patterns in Object Oriented Systems by a Model-Driven Approach. In: Kim, Th., Kim, HK., Khan, M.K., Kiumi, A., Fang, Wc., Ślęzak, D. (eds) Advances in Software Engineering. ASEA 2010. Communications in Computer and Information Science, vol 117. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-17578-7_8

Download citation

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

  • Publisher Name: Springer, Berlin, Heidelberg

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

  • Online ISBN: 978-3-642-17578-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics