Design Pattern Detection by Using Meta Patterns

  • HAYASHI Shinpei
    Department of Computer Science, Graduate School of Information Science and Engineering, Tokyo Institute of Technology
  • KATADA Junya
    Department of Computer Science, Graduate School of Information Science and Engineering, Tokyo Institute of Technology Presently, NTT COMWARE CORPORATION
  • SAKAMOTO Ryota
    Department of Computer Science, Graduate School of Information Science and Engineering, Tokyo Institute of Technology
  • KOBAYASHI Takashi
    Center for Embedded Computing Systems, Graduate School of Information Science, Nagoya University The Institute of Electronics, Information and Communication Engineers
  • SAEKI Motoshi
    Department of Computer Science, Graduate School of Information Science and Engineering, Tokyo Institute of Technology The Institute of Electronics, Information and Communication Engineers

この論文をさがす

抄録

One of the approaches to improve program understanding is to extract what kinds of design pattern are used in existing object-oriented software. This paper proposes a technique for efficiently and accurately detecting occurrences of design patterns included in source codes. We use both static and dynamic analyses to achieve the detection with high accuracy. Moreover, to reduce computation and maintenance costs, detection conditions are hierarchically specified based on Pree's meta patterns as common structures of design patterns. The usage of Prolog to represent the detection conditions enables us to easily add and modify them. Finally, we have implemented an automated tool as an Eclipse plug-in and conducted experiments with Java programs. The experimental results show the effectiveness of our approach.

収録刊行物

参考文献 (29)*注記

もっと見る

詳細情報 詳細情報について

問題の指摘

ページトップへ