Abstract
Despite their advantages in design quality improvement and rapid software development, design patterns remain difficult to reuse for inexperienced designers. The main difficulty consists in how to recognize the applicability of an appropriate design pattern for a particular application. Design problems can be found in a design with different shapes, unfortunately, often through poor solutions. To deal with this situation, we propose an approach that recognizes pattern problems in a design and that assists in transforming them into their corresponding design patterns. Our approach adapts an XML document retrieval technique to detect the situation necessitating a pattern usage. Unlike current approaches, ours accounts for both the structural and semantic aspects of a pattern problem. In addition, it tolerates design alterations of pattern problems.
Chapter PDF
Similar content being viewed by others
References
Bouhours, C., Leblanc, H., Percebois, C.: Structural variants detection for design pattern instantiation. In: 1st International Workshop on Design Pattern Detection for Reverse Engineering, Benevento, Italy (October 2006)
Bouhours, C., Leblanc, H., Percebois, C.: Bad smells in design and design patterns. Journal of Object Technology 8(3) (May-June 2009)
Kampffmeyer, H., Zschaler, S.: Finding the Pattern You Need: The Design Pattern Intent Ontology. In: Engels, G., Opdyke, B., Schmidt, D.C., Weil, F. (eds.) MODELS 2007. LNCS, vol. 4735, pp. 211–225. Springer, Heidelberg (2007)
Moha, N., Guéhéneuc, Y.G., Leduc, P.: Automatic generation of detection algorithms for design defects. In: Uchitel, S., Easterbrook, S. (eds.) Proceedings of the 21st Conference on Automated Software Engineering, September 2006, pp. 297–300. IEEE Computer Society Press, Los Alamitos (2006)
Moha, N., Guéhéneuc, Y.-G., Le Meur, A.-F., Duchien, L.: A domain analysis to specify design defects and generate detection algorithms. In: Fiadeiro, J.L., Inverardi, P. (eds.) FASE 2008. LNCS, vol. 4961, pp. 276–291. Springer, Heidelberg (2008)
Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design patterns: Elements of reusable Object Oriented Software. Addisson-Wesley, Reading (1995)
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)
Bergenti, F., Poggi, A.: Improving UML design pattern detection. In: Proceedings of the 12th International Conference on Software Engineering and Knowledge Engineering SEKE (2000)
Albin Amiot, H., Cointe, P., Guéhéneuc, Y.G.: Un meta-modele pour coupler application et détection des design patterns. L’objet 8, 1–18 (2002)
El Boussaidi, G., Mili, H.: Detecting patterns of poor design solutions by using constraint propagation. In: MODELS, Proceedings of the 11th International Conference on Model Driven Engineering Languages and Systems (September 2008)
Pagel, B.U., Winter, M.: Towards pattern-based tools. In: Proceedings of EuropLop (1996)
Brown, K.: Design reverse-engineering and automated design pattern detection in Smalltalk. Technical Report TR- 96-07, University of Illinois at Urbana-Champaign (1996)
Tsantalis, N., Chatzigeorgiou, A., Stephanides, G., Halkidis, S.T.: Design pattern detection using similarity scoring. IEEE Transactions on Software Engineering 32(11) (2006)
Lee, H., Youn, H., Lee, E.: A design pattern detection technique that aids reverse engineering. International Journal of Security and Applications 2(1) (January 2008)
Mili, H., El Boussaidi, G., Salah, A.: Représentation et Mise en oeuvre de patrons de conception par représentation explicite des problèmes. In: LMO, Suisse (2005)
Dong, J., Sun, Y., Zhao, Y.: Design pattern detection by template matching. In: SAC 2008, Ceara, Brazil, March 16-20 (2008)
XML Metadata Interchange: OMG Document ad/98-07-03 (July 6, 1998)
Manning, C.D., Raghavan, P., Schütze, H.: An introduction to information retrieval. Cambridge University Press, England (2008)
Alikacem, E., Sahraoui, H.A.: Détection d’anomalies utilisant un langage de description règle de qualité. In: Rousseau, R., Urtado, C., Vauttier, S. (eds.) LMO 2006, pp. 185–200 (2006)
Ciupke, O.: Automatic Detection of Design Problems in Object-Oriented Reengineering. In: TOOLS 30, pp. 18–32. IEEE Computer Society Press, Los Alamitos (1999)
Bouassida, N., Ben-Abdallah, H.: Structural and behavioral detection of design patterns. In: International Conference on Advanced Software Engineering & Its Applications (ASEA), Jeju Island, Korea, December 10-12. LNCS Proceedings. Springer, Heidelberg (2009)
Bouassida, N., Ben-Abdallah, H., Gargouri, F.: Stepwise framework design by application unification. In: IEEE International Conference on system man and Cybernetics, Tunisia (2003)
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
Bouassida, N., Ben-Abdallah, H. (2010). A New Approach for Pattern Problem Detection. In: Pernici, B. (eds) Advanced Information Systems Engineering. CAiSE 2010. Lecture Notes in Computer Science, vol 6051. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-13094-6_13
Download citation
DOI: https://doi.org/10.1007/978-3-642-13094-6_13
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-13093-9
Online ISBN: 978-3-642-13094-6
eBook Packages: Computer ScienceComputer Science (R0)