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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
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)
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)
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)
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)
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)
Johnson, R., Vlissides, J., Gamma, E., Helm, R.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley, Reading (1998)
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)
Gueheneuc, Y.-G., Antoniol, G.: Demima: A multilayered approach for design pattern identification. IEEE Trans. on Software Engineering 34(5), 667–684 (2008)
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)
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)
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)
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)
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)
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)
Gueheneuc, Y.-G., Sahraoui, H., Zaidi, F.: Fingerprinting design patterns. In: Proc. 11th Working Conference on Reverse Engineering, pp. 172–181 (2004)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)