A Customizable Approach to Design Patterns Recognition Based on Feature Types

被引:30
|
作者
Rasool, Ghulam [1 ]
Maeder, Patrick [2 ]
机构
[1] COMSATS Inst Informat Technol, Lahore, Pakistan
[2] Tech Univ Ilmenau, Software Syst Proc Informat Grp, Ilmenau, Germany
关键词
Design patterns; Design recovery; Design motifs; Pattern definitions; Micro-structures; RECOVERY;
D O I
10.1007/s13369-014-1449-0
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
Accurate recognition of design patterns from source code supports development-related tasks such as program comprehension, maintenance, reverse engineering, and re-engineering. Researchers focused on this problem for many years, and a variety of recognition approaches have been proposed. Though, much progress has been made, we still identify a lack of flexibility and accuracy in the pattern recognition process. This paper evaluates different design pattern recovery approaches and examines the detection accuracy of these approaches. We found that the major impedance in the accurate recovery of design patterns is the large number of variations for implementing the same pattern. Furthermore, we realized that the combination of multiple searching techniques is required to improve accuracy of pattern detection. Based on these observations, we propose variable pattern definitions, which can be customized and improved towards a pattern catalog that detects patterns in all their variations. The customizable pattern definitions are created from reusable feature types. Each feature type can use one or more searching techniques for efficient detection. The proposed approach supports detection of patterns from multiple programming languages. A prototype implementation of the approach was tested on seven different open-source software projects. For each software project, a baseline was determined and the trustworthiness of each pattern-project combination was rated. The extracted results have been compared with established baselines and with the results of previous techniques.
引用
收藏
页码:8851 / 8873
页数:23
相关论文
共 50 条
  • [1] A Customizable Approach to Design Patterns Recognition Based on Feature Types
    Ghulam Rasool
    Patrick Mäder
    [J]. Arabian Journal for Science and Engineering, 2014, 39 : 8851 - 8873
  • [2] An incremental interacting feature recognition approach based on design-by-feature
    Li, WD
    Ong, SK
    Nee, AYC
    [J]. PROCEEDINGS OF THE 33RD INTERNATIONAL MATADOR CONFERENCE, 2000, : 101 - 106
  • [3] A modular modeling approach by integrating feature recognition and feature-based design
    Tseng, YJ
    [J]. COMPUTERS IN INDUSTRY, 1999, 39 (02) : 113 - 125
  • [4] Integration of feature based design and feature recognition
    Han, JH
    Requicha, AAG
    [J]. COMPUTER-AIDED DESIGN, 1997, 29 (05) : 393 - 403
  • [5] Customizable-resources description, selection, and composition: A feature logic based approach
    Sam, Yacine
    Colonna, Francois-Marie
    Boucelma, Omar
    [J]. ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2006: COOPIS, DOA, GADA, AND ODBAS, PT 1, PROCEEDINGS, 2006, 4275 : 377 - 390
  • [6] Feature validity maintaining approach based on local feature recognition
    Chen, Zheng-Ming
    Gao, Shu-Ming
    Peng, Qun-Sheng
    [J]. Ruan Jian Xue Bao/Journal of Software, 2002, 13 (04): : 552 - 560
  • [7] Feature-based recognition of control chart patterns
    Gauri, Susanta Kumar
    Chakraborty, Shankar
    [J]. COMPUTERS & INDUSTRIAL ENGINEERING, 2006, 51 (04) : 726 - 742
  • [8] An object recognition approach based on feature fusion
    Wang, RS
    [J]. OBJECT DETECTION, CLASSIFICATION, AND TRACKING TECHNOLOGIES, 2001, 4554 : 1 - 8
  • [9] Edge feature based approach for object recognition
    Lu T.
    Peng L.
    Zhang Y.
    [J]. Pattern Recognition and Image Analysis, 2016, 26 (02) : 350 - 353
  • [10] Face feature selection and recognition based on different types of Margin
    Li, Wei-Hong
    Chen, Wei-Min
    Yang, Li-Ping
    Gong, Wei-Guo
    [J]. Dianzi Yu Xinxi Xuebao/Journal of Electronics and Information Technology, 2007, 29 (07): : 1744 - 1748