Design Pattern Detection Using Dpdetect Algorithm
Jyoti Singh1, Manjari Gupta2

1Jyoti Singh, DST – CIMS, Institute of Science, Banaras Hindu University, Varanasi (Uttar Pradesh), India.
2Manjari Gupta, DST – CIMS, Institute of Science, Banaras Hindu University, Varanasi (Uttar Pradesh), India.

Manuscript received on 01 May 2019 | Revised Manuscript received on 15 May 2019 | Manuscript published on 30 May 2019 | PP: 172-177 | Volume-8 Issue-7, May 2019 | Retrieval Number: G5101058719/19©BEIESP
Open Access | Ethics and Policies | Cite | Mendeley | Indexing and Abstracting
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC-BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: Design Patterns help to solve several recurring design issues in object oriented software . Expert software designers give design in terms of already proven design patterns to make their design more standard and less error-prone. Having the knowledge of design patterns used in the design helps to get insight into design. Thus detection of Design Patterns is very important for software designer to get significant information during re-engineering process. Detecting Design Patterns from source code or design of software system will help in the software understanding and its maintenance. It is also useful for novice developers who can get the idea about how to give solution (design) of any particular application using design patterns proposed by expert designers. Many design patterns detection approaches have been proposed by different researchers working in this field for more than two decades. These approaches consider structural, behavioural and/or semantic analysis of software system. Many sub graph isomorphism techniques were used to detect design patterns in case of structural analysis. In this paper we are using a branch and bound with backtracking algorithm for sub graph isomorphism, proposed by Asiler and Yazici [19]. We use this algorithm to show how this recover all the instances of design patterns from system design(renamed as DPDetect). Our main aim is to detect whether a particular design instance of design pattern is found in system design or not. It uses structural aspects of design patterns so it is based on only static analysis.
Keyword: Design Pattern S, Sub Graph Isomorphism, Detection, Structural Analysis, UML.Design Pattern S, Sub Graph Isomorphism, Detection, Structural Analysis, UML.
Scope of the Article: Design and Diagnosis.