Knowledge-Based Systems, Volume (120), Year (2017-3) , Pages (211-225)

Title : ( Design pattern detection based on the graph theory )

Authors: Bahareh Bafandeh Mayvan , Abbas Rasoolzadegan ,

Access to full-text not allowed by authors

Citation: BibTeX | EndNote

Design patterns are strategies for solving commonly occurring problems within a given context in software design. In the process of re-engineering, detection of design pattern instances from source codes can play a major role in understanding large and complex software systems. However, detecting design pattern instances is not always a straightforward task. In this paper, based on the graph theory, a new design pattern detection method is presented. The proposed detection process is subdivided into two sequential phases. In the first phase, we concern both the semantics and the syntax of the structural signature of patterns. To do so, the system under study and the patterns asked to be detected, are transformed into semantic graphs. Now, the initial problem is converted into the problem of finding matches in the system graph for the pattern graph. To reduce the exploration space, based on a predetermined set of criteria, the system graph is broken into the possible subsystem graphs. After applying a semantic matching algorithm and obtaining the candidate instances, by analyzing the behavioral signature of the patterns, in the second phase, final matches will be obtained. The performance of the suggested technique is evaluated on three open source systems regarding precision and recall metrics. The results demonstrate the high efficiency and accuracy of the proposed method.


, Design pattern detection, Pattern signature, Graph theory, Semantic
برای دانلود از شناسه و رمز عبور پرتال پویا استفاده کنید.

author = {Bafandeh Mayvan, Bahareh and Rasoolzadegan, Abbas},
title = {Design pattern detection based on the graph theory},
journal = {Knowledge-Based Systems},
year = {2017},
volume = {120},
month = {March},
issn = {0950-7051},
pages = {211--225},
numpages = {14},
keywords = {Design pattern detection; Pattern signature; Graph theory; Semantic graph},


%0 Journal Article
%T Design pattern detection based on the graph theory
%A Bafandeh Mayvan, Bahareh
%A Rasoolzadegan, Abbas
%J Knowledge-Based Systems
%@ 0950-7051
%D 2017