A Model-Driven Graph-Matching Approach for Design Pattern Detection

被引:0
作者
Bernardi, Mario Luca [1 ]
Cimitile, Marta [2 ]
Di Lucca, Giuseppe Antonio [1 ]
机构
[1] Univ Sannio, Dept Engn, Benevento, Italy
[2] Univ Roma La Sapienza, Fac Econ, Rome, Italy
来源
2013 20TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE) | 2013年
关键词
Reverse Engineering; Design Patterns Mining; Software Comprehension; Source Code Analysis; RECOVERY; SOFTWARE;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper an approach to automatically detect Design Patterns (DPs) in Object Oriented systems is presented. It allows to link system's source code components to the roles they play in each pattern. DPs are modelled by high level structural properties (e.g. inheritance, dependency, invocation, delegation, type nesting and membership relationships) that are checked against the system structure and components. The proposed metamodel also allows to define DP variants, overriding the structural properties of existing DP models, to improve detection quality. The approach was validated on an open benchmark containing several open-source systems of increasing sizes. Moreover, for other two systems, the results have been compared with the ones from a similar approach existing in literature. The results obtained on the analyzed systems, the identified variants and the efficency and effectiveness of the approach are thoroughly presented and discussed.
引用
收藏
页码:172 / 181
页数:10
相关论文
共 27 条
[1]   Design pattern recovery in object-oriented software [J].
Antoniol, G ;
Fiutem, R ;
Cristoforetti, L .
6TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION (IWPC 98) - PROCEEDINGS, 1998, :153-160
[2]  
Bernardi M. L., 2010, ICSM 10
[3]  
Bernardi M. L., SOFTWARE ENG TECHNIC
[4]  
BEYER D, 2006, ICSE 06, P807
[5]   Design pattern recovery through visual language parsing and source code analysis [J].
De Lucia, Andrea ;
Deufemia, Vincenzo ;
Gravino, Carmine ;
Risi, Michele .
JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (07) :1177-1193
[6]  
DONG J., 2007, SOFTWARE ENG RES PRA, VII, P621
[7]   A Matrix-Based Approach to Recovering Design Patterns [J].
Dong, Jing ;
Zhao, Yajing ;
Sun, Yongtao .
IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART A-SYSTEMS AND HUMANS, 2009, 39 (06) :1271-1282
[8]  
Erich Gamma Ralph Johnson., 1998, Design Patterns: Elements of Reusable Object-Oriented Software
[9]  
FONTANA FA, 2012, SOFTW MAINT REENG CS, P235, DOI DOI 10.1109/CSMR.2012.32
[10]   A tool for design pattern detection and software architecture reconstruction [J].
Fontana, Francesca Arcelli ;
Zanoni, Marco .
INFORMATION SCIENCES, 2011, 181 (07) :1306-1324