arrow
返回

Design pattern detection based on the graph theory

delete2017-03-01
delete43
PRE
AI
B
Bahareh Bafandeh Mayvan
A
Abbas Rasoolzadegan *
DOI:10.1016/j.knosys.2017.01.007delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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. (C) 2017 Elsevier B.V. All rights reserved.
Keyword:
Design pattern detection
Pattern signature
Graph theory
Semantic graph
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

K
Knowledge-Based Systems
IF:
7.6
论文数:
1.2W
被引数:
4.5W

机构

F
Ferdowsi University Mashhad
学者数:
8.0K
论文数: 7.4K
被引数: 44