earticle

논문검색

Research on Detecting Design Pattern Variants from Source Code Based on Constraints

초록

영어

Identifying design patterns from source code is one of the most promising methods for improving software maintainability, reusing experience and facilitating software refactoring In the process of design pattern application, different methods of instantiation usually lead to generation of pattern variants. The detection of these variants from source code is a key point and a challenge of reverse engineering. In this paper, we propose an approach of detecting design pattern variants from source code based on constraints. More specifically, we first propose the method to describe the design pattern variants based on constraints, input the constraint conditions of design patterns into the library of pattern features, conduct static analysis on source code including analysis of control flow and data flow to obtain representations of pattern participants in the source code, conduct matching with the predicate matching tool, and then merge the instances by clustering analysis and obtain the final collection of pattern instances. Finally, a tool of extracting design pattern variants from source code is implemented and the feasibility of our approach is verified through the results of running it on three open source software.

목차

Abstract
 1. Introduction
 2. Related Work
 3. Examples of Design Pattern Variants
 4. Definition and Detection of Variants
  4.1. Metal Model Definition
  4.2. Pattern Description
  4.3. Pattern Matching
 5. Tool Development and Experimental Results
 6. Conclusion and Future Work
 Acknowledgment
 References

저자정보

  • Li Wen-Jin College of Modern Science and Technology; China Jiliang University; Zhejiang Hangzhou
  • Pan Ju-long College of Information Engineering; China Jiliang University; Zhejiang Hangzhou
  • Wang Kang-Jian College of Information Engineering; China Jiliang University; Zhejiang Hangzhou

참고문헌

자료제공 : 네이버학술정보

    함께 이용한 논문

      ※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.

      0개의 논문이 장바구니에 담겼습니다.