International Journal Peer-reviewed

Design Pattern Detection by Using Meta Patterns

Shinpei Hayashi, Junya Katada, Ryota Sakamoto, Takashi Kobayashi, Motoshi Saeki

IEICE Transactions on Information and Systems, vol. E91-D, no. 4, pp. 933–944, April 2008.

Abstract

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.

BibTeX

@article{hayashi-ieicet200804,
    author = {Shinpei Hayashi and Junya Katada and Ryota Sakamoto and Takashi Kobayashi and Motoshi Saeki},
    title = {Design Pattern Detection by Using Meta Patterns},
    journal = {IEICE Transactions on Information and Systems},
    volume = {E91-D},
    number = 4,
    pages = {933--944},
    doi = {10.1093/ietisy/e91-d.4.933},
    year = 2008,
}
Type
International Journal
Published
April 2008
Volume / Pages
vol. E91-D, no. 4, pp. 933–944
DOI
10.1093/ietisy/e91-d.4.933