Journal of Beijing University of Posts and Telecommunications

  • EI核心期刊

JOURNAL OF BEIJING UNIVERSITY OF POSTS AND TELECOM ›› 2017, Vol. 40 ›› Issue (5): 36-42.doi: 10.13190/j.jbupt.2017-076

• Papers • Previous Articles     Next Articles

Automatic Design Pattern Detection on the Consideration of Multiple Characteristic Factors

WANG Lei1, WANG Zhi-guang1,2   

  1. 1. School of Mechanical Electronic and Information Engineering, China University of Mining and Technology(Beijing), Beijing 100083, China;
    2. College of Geophysics and Information Engineering, China University of Petroleum(Beijing), Beijing 100249, China
  • Received:2017-05-12 Online:2017-10-28 Published:2017-11-21

Abstract: Most of the existing methods for automatic design pattern detection only consider structural characteristics of design patterns, so the detection accuracy rate is not high enough. Therefore, a method for automatic design pattern detection on the consideration of multiple characteristic factors was proposed. First, a formal description method for system under study and design patterns based on characteristic matrix was proposed. Then the basic flow of automatic design pattern detection was given, and the design pattern detection algorithm considering multiple characteristic factors was discussed in detail. Finally, a support tool for this method is implemented, and design patterns in an open source project were detected by using this tool. The experimental results show that compared with the design pattern detection methods which only consider structural characteristics, detection accuracy rate of this method is higher. For design patterns whose structural characteristics are not obvious or who have similar structure characteristics with other design patterns, accuracy rate is improved obviously.

Key words: design pattern detection, detection accuracy rate, multiple characteristic factors, software re-engineering

CLC Number: