DocumentCode :
3705091
Title :
Detection of design pattern using Graph Isomorphism and Normalized Cross Correlation
Author :
Prayasee Pradhan;Ashish Kumar Dwivedi;Santanu Kumar Rath
Author_Institution :
Department of Computer Science and Engineering, National Institute of Technology, Rourkela, 769008, Odisha, India
fYear :
2015
Firstpage :
208
Lastpage :
213
Abstract :
Present day software engineering concept gives emphasis on the use of design patterns for developing software which are recurring in nature. Detection of design pattern is one of the emerging field of Software Reverse Engineering. In this work, an attempt has been made to present an approach for design pattern detection with the help of Graph Isomorphism and Normalized Cross Correlation techniques. In this study, system and design pattern are presented in the form of graphs. The Graph Isomorphism technique finds the pattern subgraph in the system graph and Normalized Cross Correlation provides a way to formulate the percentage existence of the design pattern in the system. An Eclipse Plug-in i.e., ObjectAid is used to extract Unified Modeling Language (UML) class diagrams as well as eXtensible Markup Language (XML) files from the software system and design patterns. An algorithm is proposed to identify relevant information from the XML files. Then Graph Isomorphism and Normalized Cross Correlation techniques are used to find the pattern subgraph and its percentage existence in the system. This approach has been applied on four open source software tools for the evaluation of five design patterns, such as Composite, Facade, Flyweight, State, and Template Method.
Keywords :
"Unified modeling language","Correlation","Algorithm design and analysis","XML","Pattern matching","Software","Reverse engineering"
Publisher :
ieee
Conference_Titel :
Contemporary Computing (IC3), 2015 Eighth International Conference on
Print_ISBN :
978-1-4673-7947-2
Type :
conf
DOI :
10.1109/IC3.2015.7346680
Filename :
7346680
Link To Document :
بازگشت