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.
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
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)
Bergenti, F., Poggi, A.: Improving UML design pattern detection. In: Proceedings of the 12th international conference on software engineering and knowledge engineering, SEKE (2000)
Brown, K.: Design reverse-engineering and automated design pattern detection in Smalltalk. Technical Report TR-96-07, University of Illinois at Urbana-Champaign (1996)
Dong, J., Sun, Y., Zhao, Y.: Design pattern detection by template matching. In: SAC 2008, Ceara, Brazil (2008)
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)
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)
Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design patterns: Elements of reusable Object Oriented Software. Addisson-Wesley, Reading (1995)
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)
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)
Manning, C.D., Raghavan, P., Schütze, H.: An introduction to information retrieval. Cambridge University Press, England (2008)
Tsantalis, N., Chatzigeorgiou, A., Stephanides, G., Halkidis, S.T.: Design pattern detection using similarity scoring. IEEE transactions on software engineering 32(11) (2006)
Gamma, E., Eggenschwiler, T. (2005), http://www.jhotdraw.org
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)